Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. Pluck Help

    ... .kr(2), 440.reciprocal, 440.reciprocal, 10, coef: MouseX .kr(-0.999, 0.999)) }.play(s) ) s.quit; // a group of angry fretless mandolin players ( { var freq, numparts; numparts = 50; freq = SinOsc .kr( Array .fill(numparts, { Rand (0.05, 0. ...

  2. Condition Help

    ... ait; "the condition has stopped waiting." .postln; 1.wait; "the end" .postln; }.play; ) // continue ( c.test = true ; c.signal; ) // a typical use is a routine that can pause under certin conditions: ( c = Condition .new; fork { loop { 1.wa ...

  3. PV_Div Help

    ... he first fft buf var result = PV_Div (fft2, fft1); Out .ar(0, out.dup * 0.1); }.play; ) // Now we can grab the FFT buffer and peek at the magnitudes ( w = Window .new.front; t = Task {loop{ 0.1.wait; b.loadToFloatArray(action: { |data| { w. ...

  4. InRect Help

    ... r( SinOsc .ar(1), SinOsc .ar(1.3), Rect (0,0.5,0.5,0.5))* LFSaw .ar(44,0,0.1) }.play //stereo effect {( InRect .ar( LFNoise0 .ar([140,141]), LFNoise0 .ar(143), Rect (0,0,0.5,1)).lag(0.1))* LFSaw .ar( SinOsc .ar(10,0,5,400),0,0.1) }.play //f ...

  5. PG_08_Event_Types_and_Parameters Help

    ... result event; it doesn't care what the data are. The event prototype used when playing the pattern defines the actions to take, and it is here that parameters are defined. Most patterns will play using the default event prototype (Event.de ...

  6. Ptuple Help

    ... p({ chord = x.next.postln.midicps; (instrument: \help_sinegrain , freq : chord).play; 0.2.wait; }) }).play; )

  7. PG_04_Words_to_Phrases Help

    ... and(7, 14) }, -1, { rrand(4, 8) }) // down (step = -1) ], inf ), \dur , 0.125 ).play; ) p.stop; But it gets even more fun -- list patterns don't care whether they're enclosing value patterns (as in the previous example) or event patterns. T ...

  8. Pavaroh Help

    ... 4, 3, 4, 2, 1], 2), #[0, 2, 3, 6, 7, 9], #[0, 1, 3, 7, 8, 11] ), \dur , 0.25 ).play; ) //___indian video game (1) ( SynthDef ( "ivg" , { arg out, freq=900, pan; var trig, snd; trig = Impulse .kr( LFClipNoise .kr(4, 3, LFClipNoise .kr(0.2, ...

  9. PV_BinWipe Help

    ... e (chainA, chainB, MouseX .kr(-1, 1)); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0]); ) ( SynthDef ( "help-binWipe2" , { arg out=0, soundBufnum=2; var inA, chainA, inB, chainB, chain; inA = WhiteNoise .ar(0.2); inB = PlayBuf ...

  10. PhidKey Help

    ... ample: p = Pbind( \degree, ( PhidKey( \lx, a, inf )*12 ).round(1), \dur, 0.25 ).play; p.stop; // more complex example, showing multichannel expansion and sequences of slots: p = Pbind( \degree, ( PhidKey( Pseq([[\lx,\ly],\rx,\ry],inf), a, i ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow