Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (556) Code (37) Doc (146) Help (56) Quark (314) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. alarms by redfrik (redFrik) Code

    ... }); }; Ndef.all; //list them ) //--start alarms (takes a while) ( ~task.stop; ~task= Task({ ~num.do{|i| Ndef(("alarm"++i).asSymbol).play(fadeTime: ~fadeTime).set(\amp, 7/~num).postln; i.linlin(0, ~num-1, ~fadeTime*2, ~ ...

  2. Play soundfiles by vandretgaaendeelevator (Bjørn Houdorf) Code

    ... ers("yourSoundFileFolder/*"); // 1. rund this ( // 2. and then run this t = Task({ ({ var num= b.size.rand; var buf= b[num]; 0.1*Splay.ar(PlayBuf.ar(buf.numChannels, buf, 1, 1, 0, 0)); }.play; ) }); ) ...

  3. example with sc by burnishimura (tonetron) Code

    ... t = FreeVerb.ar(out, 0.3,0.3,0.1,amp); Out.ar(0, out); }).send(s); ) /*Task section*/ ( var midiArray = [ [31,38,41,44,48,52] ,[33,38,45,48,51,55],[35,42,44,45,48,52] ]; ...

  4. SimpleMIDIFile help by wingel-prez-mendoza (Wingel Pérez Mendoza) Code

    ... number of destination ); ( ~cont = 0; ~tiempo = 0.2; ~transpose = 12; t = Task({ e = m.noteSustainEvents(nil, nil); // get notes from track 1 e.do{arg event; a.noteOn(1, e[~cont][4] + ~transpose, e[~cont][5]); e[~ ...

  5. game of life by raffael-seyfried (Raver_Ale) Code

    ... ze*scale)); var uview; var arr, buf, initFunc, iterFunc, startIter, finalize, task, iter; var xPos, yPos; initFunc = { arr = Array.fill2D(xSize,ySize,{ [0, 1, 1, 0, 0].choose }); ~arr = arr; }; uview = UserView.new(win, Re ...

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

    This composition uses a task to read an array of durations and pitches. Every certain number of cycles, the functions scrambRand and octRand are called. scrambRand reverses a random sub-segment of the array. octRand randomly transposes a no ...

  7. Piano Gestures: A Little Study by mimetikmusic (mimetikmusic) Code

    ... ale=[0,2,4,5,7,9,11]; //Define pattern proxies which will be modified by the task t below a=PatternProxy(Pxrand([3,3,3,1,3,3],inf)); b=PatternProxy(Pseq([1/2],inf)); r=PatternProxy(Pseq([12],inf)); n=Prand([4,8,16],inf).asStream; ...

  8. rand-n-step+ by vividsnow (vividsnow) Code

    ... istribution = [0.85, 0.15], // tweak it to get more or less dense pattern grid task, resolution, direction, pos = 0, step = 1, border = 1, dims = [16,16]; // tweak dims to change size of grid w = Window("rand-n-step+", Rect(50,250,dims[0] ...

  9. Sound illusions. by javierlucasm (javierlucasm) Code

    ... r 5/VII //Frank M Zeidler y André Werner //Realization By Javier Lucas ( t=Task({ {SinOsc.ar([3136,2997.5])}.play;// C# 1.wait; s.freeAll; {SinOsc.ar([3069,2889])}.play;// F# 1.wait; s.freeAll; {SinOsc.ar([3002,2782])}.play;/ ...

  10. Binary Shift Register Sequencer by Dario Lozano-Thornton by dario-lozano-thornton (Dario Lozano-Thornton) Code

    ... mpo = [1,0.7,0.6]; ~flip = [0,1]; //show length ~t_loops = 3.collect{|k| Task({inf.do{|i|{ if(~bits[k][i%8]==1, {if((i%8)>=~length,{~butt[k][i%8].states = [["",Color.black, Color.black]]}, {~butt[k][i%8].states = [["",Col ...

1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow