Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. Bjorklund Toy by rinalka1227 (rinalka1227) Code

    ... = TempoClock.new(~bpm/60).permanent_(false); ~whiteNotes = [// white notes index 0 to 28 36,38,40,41,43,45,47, 48,50,52,53,55,57,59, 60,62,64,65,67,69,71, 72,74,76,77,79,81,83, 84]; ~revBus = Bus.audio(s,2); ~makeSynths.v ...

  2. Spectrogram of a sound file by wondersluyter (wondersluyter) Code

    ... , 3 =~ mel scale) image.setPixels(Int32Array.fill(width * height, { |i| var index = scaleFunc.(height - (i / width) - 1).asInteger; var frame = i % width; var mag = ~fftMags[frame][index]; Image.colorToPixel(Color.gray(0, mag.l ...

  3. MCElectronique.sc by brianlheim (brianlheim) Code

    ... ClassChoice(preferSimpleUgens))}; string = "{\n\t"; arr.do({ |class,index| var name = class.asString; var args = dict[class]; string = string ++ (binopRate*(index>0).asInteger).coin.if {MCElectronique.binopStr( ...

  4. raw bass by vividsnow (vividsnow) Code

    ... ! 2; }.asSynthDef.name_("bass").add; { | dur = 0.15, freq = 50, amp = 0.8, index = 10 | PMOsc.ar(freq, freq + 5, index, mul: amp * EnvGen.kr( Env.triangle( dur ), doneAction: 2 )) ! 2; }.asSynthDef.name_("bazz").add; ) ( Ppar ...

  5. Additive Synthesis GUI Demo 2 by bruno (Bruno Ruviaro) Code

    ... alue = Array.fill(numharm, {0.0}); multiSlider.isFilled = true; multiSlider.indexThumbSize = 13.0; multiSlider.gap = 4; /*multiSlider.action = {multiSlider.value.do({arg value, count; spectrum[count].set(\amp, value); [value, cou ...

  6. Hymn #15 - generative melody by array rewriting by forksandhope (madamdata) Code

    ... ge = range.reverse; var temp = array.copy; range.postln; range.do({|item, index| array[item] = temp[reverseRange[index]]; }); array; }; var octRand = {|array| var rand = rrand(0, array.size-1); array[rand] = array[rand] ...

  7. midified arpeggiator/auto-accompaniment using patterns by 56228375 (56228375) Code

    ... 0}); if (~n == []) { ~n = nil; }; */ } ); note_getter = { | index | Plazy { if (~n.isNil) { Pseq([Rest(1)]); } { ~n[index] ?? (~n[0] ?? Pseq([Rest(1)])); }; }; }; n0 = note_getter.(0); ...

  8. Sound file chunks: Workaround for single-precision buffer indexing by jamshark70 (jamshark70) Code

    ... uestions on the list is about handling very large sound files with BufRd. BufRd indexes into the buffer using a single-precision float, which supports buffers only up to 2**24 frames (a bit more than six minutes at 44.1 kHz). This approa ...

  9. Squiggle squiggle by 56228375 (56228375) Code

    ... [0].x,~allPoints[0].y); Pen.moveTo(startPoint); ~allPoints.do({ | pt, index | if ((index > 1), { var prevPoint = ~allPoints[index-1]; Pen.fillColor = "000000"; Pen.alpha_(index.linlin(0, ~allPoints.size, 1, 0)); ...

  10. Listening to CC messages by hemsinlet (hems.inlet) Code

    ... he sources at: MIDIClient.sources // and connect using MIDIIn.connect( source_index ) MIDIIn.connect; // show incoming control data ~control = { arg src, chan, num, val; [chan,num,val].postln; }; MIDIIn.addFuncTo(\control, ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow