Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. GameLoopVisualiser Quark

    GameLoopVisualiser{ classvar <instance; var <>entManager, <>repManager, >bounds; var <mainView, infoString; var width = 400, height = 400; var <>meterInPixels; var leftRotationRoutine, rightRotationRoutine, fwdRotationRoutine, backRotationR ...

  2. Maths2 Doc

    ... ate. The function starts at 0, goes to 1, and returns to 0 on each iteration or loop. For a more efficient algorithm, use the Faust implementation - Maths, which is completely interoperable and should give mostly identical output. (Right no ...

  3. sampler Quark

    ... b, fStart, 0.0) * EnvGen.kr(envperc, b, amp ) ) },nil,\audio); Instr([\sampler,\looped,\beatLock],{ arg sample,trig,env3sustain,pchRatio=1.0,beatStart=0.0; var a,b,amp; a = ToggleFF.kr(trig); b = 1.0 - a; amp = Latch.kr(trig,trig); pchRatio ...

  4. TestFBSimple Quark

    ... :2); //play stereo }) ) ( //Randomly change a's fm scale every 3 seconds fork { loop { a.from(b, \fm, scale:[rrand(-200, -30), rrand(10, 250)]); 3.wait; } }; //Randomly change b's fm scale every 2 seconds fork { loop { b.from(a, \fm, scale: ...

  5. Ampeln Quark

    ... oelnKalk/ampel" ; q.filenames = [ "2010-ampel-klack.aif" , "2010-ampel-mechanic-loop.aif" ]; q.buffers = q.filenames.collect{ |name| Buffer .readChannel(s, "%/%" .format(q.directory, name), channels: [0, 1], action:{ "file % read.\n" .postf ...

  6. 19_Scheduling Doc

    ... ////////////////////////////////////// Use a .do message in a routine to make a loop. ( r = Routine({ // setup code var array; array = [ "hello, world", "what a world", "i am a world" ]; // the loop 3.do({ array.choose.yield }) }); ) ⧉ ✔ Ev ...

  7. SeqCol-asAddendsOf Plugin

    ... be used anymore values.remove(val); // if there are no more usable values, exit loop if( values.size == 0, { sum = -1; }); }); }); ^result } // same as asSummationOf, but with weights aswAddendsOf{ arg summation, weights; var result, values ...

  8. Maths2 Quark

    Maths2 { *ar {|rise=0.1, fall=0.1, linExp = 0.5, loop = 1, plugged = 0, trig = 0| var sampleRate = SampleRate.ir, isExp, isPlugged; var riseIn = rise.clip(0.0001,10*60), fallIn = fall.clip(0.0001,10*60); var freq = 1/(riseIn+fallIn), width= ...

  9. SoundFileView Quark

    ... e.endSecond; views[ \endSecond ].clipHi = inSndFile.fileDuration ? inf; views[ \loop ].value = inSndFile.loop.binaryValue; { views[ \loop ].visible = inSndFile.isKindOf( SlicedBufSndFile ).not; }.defer; views[ \rateRatio ].value = inSndFile ...

  10. Psubdivide Doc

    ... ,4,4,4], inf), Pseq(#[0.5, 1, 2, 0.25, 0.25], inf) ); x = a.asStream; Routine({ loop({ Synth.grain(\help_sinegrain, [\freq, 440]); x.next.wait; }) }).play(TempoClock.default); ) ( a = Psubdivide( Pseq(#[1,1,1,1,1,2,2,2,2,2,3,3,3,3,4,4,0,4,4 ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow