-
... w someone make a def SynthDef(\foo, {|freq = 440, dur = 1, amp = 0.1| Out.ar(0, SinOsc.ar(freq, 0, amp) * Env.sine(dur).kr(2));}).add; // someone else try to look it up SynthDescLib.at(\foo); Synth(\foo); ⧉ ✔ helpfile source: /tmp/scquark_h ...
-
... use as frequency control ( SynthDef("help-LFClipNoise", { |out = 0| Out.ar(out, SinOsc.ar( LFClipNoise.ar(4, 200, 600), 0, 0.2 ) ) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/LFClipNoise.schelp link::Cl ...
-
... ed. ( SynthDef ( "ReplaceOutHelp" , { arg out=0, freq=440; var source; source = SinOsc .ar(freq, 0, 0.1); // write to the bus, replacing previous contents ReplaceOut .ar(out, source); }).send(s); ) // each Synth replaces the output of the p ...
-
( Alga.boot({ //Simple sine AlgaSynthDef(\sine, { SinOsc.ar(\freq.kr(440)) * EnvPerc.ar(release: 0.5) }, sampleAccurate: true).add; //Simple saw AlgaSynthDef(\saw, { Saw.ar(\freq.kr(440)) * EnvPerc.ar(release: 0.5) * 0.5 }, sampleAccurate: ...
-
... kr(busnum); Out.ar(out, EnvGen.kr(Env.perc, gate: inTrig, levelScale: inTrig) * SinOsc.ar ) }).play(s, [\out, 0, \busnum, b.index]); b.set(1.0); b.value = 1.0; b.value = 0.2; b.value = 0.1; ⧉ ✔ compare with In example. helpfile source: /usr ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var c, b; c = Pn(Pfinval({ rrand(3, 5) }, Pseq([1, 2, 3, 4, 5, 6], inf)*4+65), inf); b = c.asStream; Routine({ loop({ Synth ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( c = Place(#[0, 0, [0, 4, 7], [1, 5, 8], [2, 6, 9]], inf) + 67; x = c.asStream; Routine({ loop({ Synth("help-sinegrain", [\f ...
-
... a sine oscillator ( SynthDef("help-MultiplexAnalogIn", { |out = 0| Out.ar(out, SinOsc.ar(MultiplexAnalogIn.ar(0, 1).exprange(200, 5000), 0, 0.1) ) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/MultiplexA ...
-
... PinkNoise.ar; var bandwidth = Rand(0.001,0.01); var generator = [ SinOsc.ar(freq*harm*detune, mul:harma*0.3).scramble, Resonz.ar(source, freq*harm*detune, bandwidth, mul:harma).scramble * 50 ].wchoose([0.2,0.8]); ...
-
... requency. // If you change the env var name to one that isn't set, 440 is used. SinOsc.ar(Getenv(\PANCREAS, 440), 0, 0.1); }.play(Server.local); ) x.free; // This should restore the variable to what it was Server.program = ~realserverprogra ...