-
... methods Examples Add some basic drum synths to the server and setup a clock. ( SynthDef(\kick, {|out| var sig = SinOsc.ar(XLine.ar(start: 600, end: 50, dur: 0.1)); var env = EnvGen.kr(Env.perc(releaseTime: 0.25, curve: 5.0), doneAction: Do ...
-
... y if each input is cpu-expensive. The array is fixed at the time of writing the SynthDef, and the whole array is embedded in the SynthDef file itself. For small arrays this is more efficient than reading from a buffer. // radio tuner // (jr ...
-
... ttern four times b = a.asStream; 16.do({ b.next.postln }); ) // sound example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, ...
-
... .asStream; 7.do({ b.next.postln }); ) // Prand used as a sequence of pitches: ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, ...
-
... 10.do { 1.0.rand.yield } } }); a.asStream.nextN(100).plot; ) // sound example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.1), doneAction: Done.freeSelf); Out.ar(out, ...
-
... 5], 3), Pseq([0, 0, 1, 0, 0, 0, 1, 1])).asStream.nextN(10); // sound example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, ...
-
... ); x = a.asStream; 9.do({ x.next(Event.new).postln }); ) ⧉ ✔ // sound example ( SynthDef(\sinegrain, { |out = 0, freq = 440, gate = 1| var env; env = EnvGen.kr(Env.asr(0.001, 1, 0.2), gate, doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar( ...
-
... ion_({|selectedBuffers| Pdefn(\polySelected, Pseq(selectedBuffers, inf)) }); // SynthDef SynthDef(\polybuf_sampler,{|out=0, amp=0.5, buffer, rate=1| var sig = PlayBuf.ar(numChannels:2, bufnum:buffer, rate:rate * BufRateScale.kr(buffer), tri ...
-
SynthDefOld: Filter: Description Class methods Inherited class methods Undocumented class methods new Instance methods Inherited instance methods Undocumented instance methods asBytes writeConstants writeDef writeDefFile Help template Class ...
-
... scription Class methods Inherited class methods Instance methods init rate addToSynthDef instrArgFromControl makePatchOut connectToPatchIn addToDefName Inherited instance methods Classes (extension) | Libraries > crucial'>crucial > crucial> ...