-
... Help . In general, there are help files for classes (capitalized words, such as SinOsc, Array, Nil, etc.). Select the name of a class and press Cmd-d. A help file, if one exists, will open. Class definitions, message implementations, and th ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pfunc({ exprand(0.1, 0.3) + #[1, 2, 3, 6, 7].choose }).asStream; { a.do { |val| Synth(\help_sinegrain, [\freq, v ...
-
... v; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var a; a = Pbeta (0.0, 1.0, 0.1, 0.1, inf ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0 ...
-
... requency in Hz";}); var waveformMenu = Array.fill(4, {|i|PopUpMenu().items_(["SinOsc","LFTri","LFSaw","WhiteNoise"]).action_({modField.valueAction_(modField.value)}).mouseOverAction_({helpView.string = "current waveform for oscillator "++ ...
-
... l; s.boot; triggerID = 1; aSynth = { arg freq = 1, triggerID = 1; SendTrig .kr( SinOsc .kr(freq), triggerID, 666); }.play; nodeID = aSynth.nodeID; commandpath = [ '/tr' , nodeID, triggerID]; response = { arg time, responder, message; messag ...
-
... l see that it's higher when freq is changing. ( x = { var in, chain, flux; in = SinOsc .ar( MouseX .kr(50, 500, 1), 0, 0.1); chain = FFT (b.bufnum, in); flux = FFTFlux .kr(chain, 0.9) * 100; // Scale by 100 for more humane numbers flux.poll ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Pfsm([ #[0, 1], 67, #[0, 0, 3], 72, #[2], 73, #[0, 2], Pseq([74, 75, 76, 77]), #[2, 3, 3], nil, nil ], inf).asStream; R ...
-
... , by using the Sweep UGen. ( { SendReply.ar(Impulse.ar(4), "/reply", [Sweep.ar, SinOsc.ar(0.3)]); 0 }.play; OSCdef(\x, { |msg| var time, value; time = msg[3]; value = msg[4]; "value % occurred at time %".format(value, time).postln; }, "/rep ...
-
... 0, 1, time); var imp = Impulse.ar(mod.linexp(0, 1, 1, 16) * [2, 3]); var fmod = SinOsc.ar(mod.linexp(0, 1, 244 * rrand(0.4, 1.4), 0.01)); fmod = fmod * Decay2.ar(imp, 0.02, 0.08, 2pi, 0.3pi); SinOsc.ar(300 + (mod * 145), fmod) * 0.1 }; f.as ...
-
... v, lfo; env = Env.adsr(att, dec, sus, rel).kr(gate: gate, doneAction: 2); lfo = SinOsc.kr(freq: rate).range(width/10, width); snd = Pulse.ar( freq: freq * [1, harmonic], //Original used 33.5.midiratio here, which is just below the 7th harmo ...