Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... sis SynthDef(\sine, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], 0, amp*0.5)); Out.ar(out, Pan2.ar(z, pan)); }).add; s.sync; //--world RedUniverse.clear; w= RedWindow("wave test synths", Rect(128, 64 ...

  2. Qitch Doc

    ... data ( a= SynthDef("testqitch",{arg infreq=440; var in, freq, hasFreq, out; in=SinOsc.ar(infreq); # freq, hasFreq = Qitch.kr(in, b.bufnum,0.01,1); Out.ar(0,[SinOsc.ar(freq,0.1),in]); }).play(s); ) a.set(\infreq,237); c=Buffer.read(s,"/Volu ...

  3. Out Doc

    ... us Examples ( SynthDef("help-out", { |out = 0, freq = 440| var source; source = SinOsc.ar(freq, 0, 0.1); // write to the bus, adding to previous contents Out.ar(out, source); }).add; ) Synth("help-out", [\freq, 500]); Synth("help-out", [\fr ...

  4. VirtualRoom Doc

    ... lse.kr(3)) * PinkNoise.ar(1) }; ~sinus = { EnvGen.kr(Env.adsr, Impulse.kr(3)) * SinOsc.ar(440,0.8) }; ~dust = { Dust.ar(400) }; ) v.addSource( ~noisy, \test1, [1, 2, 2.5]); v.addSource( ~sinus, \test2, [4, 7, 2.5]); v.addSource( ~dust, \tes ...

  5. EventListPlayer Doc

    ... ayer", env: Env.perc ) }); Instr("schelp.EventListPlayer", { arg freq=440, env; SinOsc.ar(freq) * EnvGen.kr(env, doneAction:2) }); e = EventListPlayer.new(events); e.play; ) ⧉ ✔ Class Methods . new (describe method here) Arguments: events l ...

  6. Synth Doc

    ... f ( SynthDef("help-synth", { |freq = #[440, 450, 460], out = 0| Out.ar(out, Mix(SinOsc.ar(freq, 0, 0.1))); }).add; ) // then this a short while later x = Synth("help-synth", [freq: [500, 501, 510]]); x = Synth("help-synth", [freq: [500, 501 ...

  7. Pseq Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Pseq(#[60, 61, 63, 65, 72], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.2.wait; ...

  8. PG_Cookbook05_Using_Samples Doc

    ... * 2, 1); s.sync; recorder = { |freq = 440| var initPulse = Impulse.kr(0), mod = SinOsc.ar(freq) * Decay2.kr(initPulse, 0.01, 3) * 5, car = SinOsc.ar(freq + (mod*freq)) * Decay2.kr(initPulse, 0.01, 2.0); RecordBuf.ar(car, b, loop: 0, doneAct ...

  9. Pfindur Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var c; c = Pbind( \dur, Prand([1, 0.02, 0.2], inf), \instrument, \help_sinegrain, \degree, Pseries(0, 1, inf), \octave, 6 ) ...

  10. Pevent Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) } ).add; a = Pn( Plazy({ Pbind( \instrument, \help_sinegrain, \freq, Pgeom(rrand(200, 600), rrand(1.001, 1.01), rrand(10, 100)).wrap(10 ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow