Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... variable 's'. E.g. you can boot the default server by calling s.boot s.boot; { SinOsc.ar * 0.1 }.play(s); // play a synth on the server ⧉ ✔ The server application may be in three different states: running, not running, or unresponsive (for ...

  2. CtkGroup Doc

    ... Env.newClear(8)); envgen = EnvGen.kr(env, timeScale: dur, doneAction: 2); src = SinOsc.ar(freq, 0, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }), SynthDef(\control, {arg outbus, rate, low, hi; Out.kr(outbus, LFNoise2.kr(rate). ...

  3. UserFAQ Doc

    ... is in a SynthDef SynthDef(\kablooie, { |x = 0| var signal; if(x > 0) { signal = SinOsc.ar } { signal = Saw.ar }; }); ⧉ ✔ ... with the disturbing result: ERROR: Non Boolean in test. "Non Boolean in test"? But x > 0 is a comparison, and surel ...

  4. OFX_OutputFX Doc

    ... mpFin], busIndex: 0 ); s.scope(8); ) // a test signal x = { PinkNoise.ar(0.5) + SinOsc.ar([220, 330]) * LFNoise2.kr([5, 8, 13, 21]).max(0); }.play; // all OFX_OutputFX live here: OFX_OutputFX.all; // kick in predefined effects (at full wet ...

  5. Scale Doc

    ... which is useful for server-side work. ( r = { var scale = Scale.choose.postln; SinOsc.ar( ( DegreeToKey.kr( scale.as(LocalBuf), MouseX.kr(0, 15), // mouse indexes into scale scale.stepsPerOctave, 1, // mul = 1 60 // offset by 72 notes ) + ...

  6. ProxyMixer Doc

    ... is proxy to the editor - see below // kr proxies show up in the middle ~lfo = { SinOsc.kr(2) }; ~lfnoyz0 = { |lofreq = 0.5, mul = 1, add| LFDNoise0.kr(lofreq, mul, add) }; // the editor zone is a NodeProxyEditor // open it and set some para ...

  7. QuNeo Doc

    ... min { var freq = ~quNeo.pads[0].x.kr(5000, 300); var amp = ~quNeo.pads[0].y.kr; SinOsc.ar(freq, mul: amp); }.play ) ( //One pad - One Slider - Using Ugens { var freq1 = ~quNeo.pads[0].x.kr(5000, 100); var freq2 = ~quNeo.pads[0].y.kr(5000, 1 ...

  8. MainFX Doc

    ... ); g = m.gui; // a GUI s.scope(8); ) // a test signal x = { PinkNoise.ar(0.5) + SinOsc.ar([220, 330]) * LFNoise2.kr([5, 8, 13, 21]).max(0); }.play; // all MainFX live here: MainFX.all; // kick in predefined effects (at full wet level) m.add ...

  9. RedAGrain Doc

    ... ; //-- panBus //sine panning f.free; f= SynthDef("pan", {Out.ar(r.panBus.index, SinOsc.ar(4))}).play; //slow random panning f.free; f= SynthDef("pan", {Out.ar(r.panBus.index, LFNoise2.ar(0.3))}).play; //random discrete panning at fast rate ...

  10. RedKGrain Doc

    ... ; //-- panBus //sine panning f.free; f= SynthDef("pan", {Out.kr(r.panBus.index, SinOsc.kr(4))}).play; //slow random panning f.free; f= SynthDef("pan", {Out.kr(r.panBus.index, LFNoise2.kr(0.3))}).play; //random discrete panning at fast rate ...

prev 91 92 93 94 95 96 97 98 99 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow