Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. IndexInBetween Help

    ... , 900); index = IndexInBetween .kr(bufnum, f0); f1 = IndexL .kr(bufnum, index); SinOsc .ar([f0, f1]) * 0.1 }.play; ) b.free; // One way to map across from an arbitrary piecewise curve, onto another: // We use IndexInBetween to "unmap" your ...

  2. Rotate2 Help

    ... a mouse var x, y; x = Mix .fill(4, { LFSaw .ar(200 + 2.0.rand2, 0, 0.1) }); y = SinOsc .ar(900) * LFPulse .kr(3,0,0.3,0.2); #x, y = Rotate2 .ar(x, y, MouseX .kr(0,2)); [x,y] }.play; // Rotate B-format about Z axis: wout = win; zout = zin; # ...

  3. Monitor Help

    ... xample Server.default = s = Server.internal; s.boot; s.scope(16); { Out .ar(87, SinOsc .ar( MouseX .kr(40, 10000, 1) * [1, 2, 3], 0, 0.2)) }.play; x = Monitor .new; x.play(87, 3, 1, 2); x.out = 0; x.stop(3.0); x.play(87, 1, 0, 1); // in > o ...

  4. SubsampleOffset Help

    ... ffset, doneAction:2); env = EnvGen .kr( Env .perc(attack, sustain, 0.2)); sig = SinOsc .ar(freq, 0, env); sig = DelayC .ar(sig, sd * 4, offset); OffsetOut .ar(out, sig); }, [ \ir , \ir , \ir , \ir ]).send(s); ) ( Routine { loop { s.sendBund ...

  5. SCStaticText Help

    ... Def ( \Docs_FreqMonitor , { var freq,snd; freq= LFNoise0 .ar(2, 400, 650); snd= SinOsc .ar(freq,0,0.2); Out .ar(0,snd); Out .kr(b.index,freq); // output the frequency to a control bus }).play; r= Routine { { // Set the value of the StaticTe ...

  6. Pdefn Help

    ... .perc(0.03, sustain), 1, doneAction:2); 5.do { var d; d = exprand(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; Out .ar(out, Pan2 .ar( SinOsc .ar(u + 1 * freq, 0, amp * env), pan)); }).store; s.boot; ) ( Pdefn ( \deg , Pseq ...

  7. Pbeta Help

    ... v; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var a; a = Pbeta (0.0, 1.0, 0.1, 0.1, inf ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0 ...

  8. OSCpathResponder Help

    ... l; s.boot; triggerID = 1; aSynth = { arg freq = 1, triggerID = 1; SendTrig .kr( SinOsc .kr(freq), triggerID, 666); }.play; nodeID = aSynth.nodeID; commandpath = [ '/tr' , nodeID, triggerID]; response = { arg time, responder, message; messag ...

  9. DiskOut Help

    ... LFSaw .kr([8,7.23], 0, 3, 80)).midicps; // glissando function zout = CombN .ar( SinOsc .ar(f, 0, 0.04), 0.2, 0.2, 4); // echoing sine wave Out .ar(0, zout); }).send(s); // this will record to the disk SynthDef ( "help-Diskout" , { arg bufnu ...

  10. 4_Help Help

    ... -Help. In general, there are help files for classes (capitalized words, such as SinOsc, Array, Nil, etc.). Select the name of a class and press Cmd-d. A help file, if one exists, will open. ////////////////////////////////////////////////// ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow