-
... yBuf so that the loop runs automatically on the server, but it can easily drift out of sync with the client (because of slight deviations in the actual sample rate). Instead, it is better to define a SynthDef that plays exactly one repetiti ...
-
SynthOut: Filter: Description Guides (extension) | SynthOut SynthOut Extension get values from Synth to sclang into a () Description SynthOut provides a simple mechanism to get values into a Dictonary, Environment, Event aka () It adds the ...
-
... 400, height= 400, w, wgrav, world, n= 25; //--synthesis SynthDef(\lightbulbs, {|out= 0, freq= 400, maxDur= 0.3, amp= 1, pan= 0| var e, z, freqs, amps, rings; freqs= Array.geom(4, freq, Rand(1.5, 2.5)); amps= Array.geom(4, 0.5, Rand(0, 1)); ...
-
... { x.next(Event.new).postln }); ) ⧉ ✔ // sound example ( SynthDef(\sinegrain, { |out = 0, freq = 440, sustain = 0.02| var env; env = EnvGen.kr(Env.perc(0.001, sustain), 1, doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env * 0.1) ...
-
... TempoBus.new(s); t.index.postln; Tempo.bpm = 60; SynthDef("help-TempoBus",{ arg out=0,tempoBus; var tempo,trig,amp; tempo = In.kr(tempoBus); trig = Impulse.kr(tempo); amp = Decay2.kr(trig,0.01,0.1).clip2(1.0); Out.ar(out, amp * SinOsc.ar(30 ...
-
... // Plazy used to produce 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, SinOsc.ar(freq, 0, env)) }). ...
-
... erited class methods Instance methods Inherited instance methods Examples Print out the stream to demonstrate what it looks like same as above, but with a loop display some long evolutions sound examples Authors Classes (extension) | Stream ...
-
... next(Event.default).postln }); ) ⧉ ✔ // sound example ( SynthDef(\sinegrain, { |out = 0, freq = 440, sustain = 0.02| var env; env = EnvGen.kr(Env.perc(0.001, sustain), 1, doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env * 0.1) ...
-
... r time strecher and pitchshifter. See the Warp1 helpfile for more information about Warp1's specifics. This texture will create a series of Warp1s that keep up with the current time. Class Methods WarpOverlap. ar ( numChans: 1 , buffer , ov ...
-
... 0, 1) }; 20.do { |it| d.set(40 * it + 20, 1) }; ) ⧉ ✔ ( SynthDef(\conv_test, { |out, kernel, t_trig = 0| var input = Impulse.ar(1); var framesize = 2048; // must have power of two var result = Convolution2L.ar(input, kernel, t_trig, framesi ...