Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ,1200,\exp]); ~amp = KrNumberEditor(0.1,[0.01,0.4,\exp]); Patch({ arg freq,amp; SinOsc.ar(freq) * amp },[ ~freq, ~amp ]) }) .onPlay_({ "playing".postln; }) .onStop_({ // also on command-. "stopping".postln; }) .onFree_({ "freeing".postln; } ...

  2. ClientVsServer Doc

    ... evaluate an audio function like this: // assuming the server is already booted {SinOsc.ar}.play ; ⧉ ✔ In this case many server operations are hidden. To understand the passages involved in the evaluation of this code see 04. Functions and O ...

  3. Neuromodule Doc

    ... 1| var sig, env; env = LFGauss.ar(sustain, width, loop:0, doneAction: 2); sig = SinOsc.ar(freq, 0.5pi) * env * amp; OffsetOut.ar(out, sig); }).add; ) ( Tdef(\x, { loop { var dt = 0.1; ( instrument: \gabor, note: ~module.next * 4, sustain: d ...

  4. Diamond Doc

    ... hDef(\sin, {|out=0, freq=440, dur=1, amp=02, pan=0| var sin, env, panner; sin = SinOsc.ar(freq, 0, amp); env = EnvGen.kr(Env.sine(dur), doneAction:2); panner = Pan2.ar(sin, pan, env); Out.ar(out, panner); }).add; ) ( var diamond, walk; diam ...

  5. JITGui Doc

    ... dHeight: 24) ); // make some JITGuis to check n = NdefGui(Ndef(\a)); Ndef(\a, { SinOsc.ar(\freq.kr(250)) }); Ndef(\a).clear; n = NdefMixer(s); TdefAllGui(); Tdef(\a).set(\amp, 0.25); TdefGui(Tdef(\a), 5); EnvirGui((a: 123)); ⧉ ✔ helpfile so ...

  6. CtkNote Doc

    ... \env]).kr(Env.newClear(8)); envgen = EnvGen.kr(env, gate, 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). ...

  7. jitlib_basic_concepts_02 Doc

    ... access the proxy space and the proxies in it indirectly: p[\x].play; p[\x] = { SinOsc.ar(450, 0, 0.1) }; // or: when the proxyspace is pushed, you can use a normal environment indirectly: p.push; d = (); d[\buffer1] = Buffer.alloc(s, 1024) ...

  8. MFunc Doc

    ... p \set_a m.disable(\test); // slider also sets Ndef(\b) Ndef(\b, { |freq = 200| SinOsc.ar(freq * [1, 0.1, 0.01]).product * 0.3 }).play(1); // use setUni to let Ndef(\b) decide on mapping m.add(\set_b, { |sl| Ndef(\b).setUni(\freq, sl.value) ...

  9. Symbol Doc

    ... will be written into the spec metadata for the current synth. Discussion: a = { SinOsc.ar(\freq.kr(440, 1.2)) }.play; a.set(\freq, 330); a.release; a = { SinOsc.ar(\freq.kr([440, 460], 1.2)) }.play; a.setn(\freq, [330, 367]); a.release; ⧉ ✔ ...

  10. PwarpDur Doc

    ... io, 1], [0.001, dropTime], \exp)); var fb = LocalIn.ar(1) * feedback; var sig = SinOsc.ar(freq * freqEg, fb % 2pi) * eg; sig = (sig * preamp.dbamp).tanh; LocalOut.ar(sig); sig = Pan2.ar(sig, pan, amp); Out.ar(out, sig * amp); }).add; ) ( p ...

prev 91 92 93 94 95 96 97 98 99 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow