Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ng to a Pbind, for instance. // do nothing for 2 seconds (note: Rest(), dur: 2).play; // intersperse pauses in pattern Pbind(\note, Pseq([0, 4, 7, 11], inf), \dur, Pseq([2, 1, Rest(1)], inf) / 5).play; ⧉ ✔ Expressing rests in event patterns ...

  2. PG_06a_Repetition_Contraint_Patterns Doc

    ... but repetition is controlled by time rather than number of repeats per item. // play repeated notes with a different rhythmic value per new pitch // using Pdup p = Pbind( // making 'n' a separate stream so that degree and dur can share it \ ...

  3. Pspawner Help

    ... ((0..7).mirror), dur: 0.2]) ); sp.wait(0.4) }; sp.wait(1.6); sp.suspendAll; }).play ) ( // example 2: create 5 streams at 4 second intervals // then delete them in the order they were created Pspawner ({ | sp | var streams, stream; // star ...

  4. LocalBuf Doc

    ... ain = PV_BrickWall(chain, SinOsc.kr([0.1, 0.11])); IFFT(chain) // inverse FFT }.play; ) // spawn some FFT based synths: ( SynthDef(\fftgrain, { |out, sustain = 1, rate = 0.2| var in, chain; in = WhiteNoise.ar(0.1).dup; chain = FFT({ LocalBu ...

  5. sloth canons by elirosenkim (eli.rosenkim) Code

    ... emp2.add(out); if((i+1) > (temp.size**2), {temp = temp2}); } }); ) r.play; r.stop; //simple musical examples (//disperser taken from https://scsynth.org/t/phase-rotation-fos/5575 SynthDef(\simpleSaw, { arg roo ...

  6. alarms by redfrik (redFrik) Code

    ... le) ( ~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, ~fadeTime/2).wait; }; }).play; ) //--stop alarms ( ~task.stop ...

  7. FincoSprottL Plugin

    ... h the mouse { FincoSprottL .ar( MouseX .kr(20, SampleRate .ir)).poll(2) * 0.3 }.play(s); // Vary the parameter "a". // NB the parameter affects the amplitude, so this example is clipped { FincoSprottL .ar( SampleRate .ir, a: LFNoise0 .kr(1) ...

  8. L115bertango (MUSC115) by 0-9Q (unknown) Code

    ... [4,4,0,4,-1,2s],1), \ctranspose, -24, \dur, 8, ); ) ~melody1.play; ~melody2.play; ~bass1.play; ~bass2.play; ~vio1.play; ~viodrop.play; ~bdrop.play; ( t=TempoClock(155/60); Pspawner({ arg maestro; ma ...

  9. public_proxy_space Quark

    ... is going on e.makeLogWindow; ) // modify space s.boot; // boot server a[ \out ].play; // play here a[ \out ] = { PinkNoise .ar(0.1 ! 2) }; // set here b[ \out ].play; // play here too b[ \out ] = { SinOsc .ar(rrand(300, 400)) ! 2 * 0.1 }; / ...

  10. Psync Doc

    ... ur(16, Pbind(....)) behavior Psync(Pbind(....), 4, 16) behavior 6 beats Pfindur plays only 6 beats Psync rounds up to 8 beats (adds a two-beat rest) 18 beats Pfindur cuts off after 16 beats Psync cuts off after 16 beats maxdur may be omitte ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow