-
... variable 's'. E.g. you can boot the default server by calling s.boot s.boot; { SinOsc.ar * 0.1 }.play(s); // play a synth on the server ⧉ ✔ The server application may be in three different states: running, not running, or unresponsive (for ...
-
... Env.newClear(8)); envgen = EnvGen.kr(env, timeScale: dur, doneAction: 2); src = SinOsc.ar(freq, 0, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }), SynthDef(\control, {arg outbus, rate, low, hi; Out.kr(outbus, LFNoise2.kr(rate). ...
-
... is in a SynthDef SynthDef(\kablooie, { |x = 0| var signal; if(x > 0) { signal = SinOsc.ar } { signal = Saw.ar }; }); ⧉ ✔ ... with the disturbing result: ERROR: Non Boolean in test. "Non Boolean in test"? But x > 0 is a comparison, and surel ...
-
... mpFin], busIndex: 0 ); s.scope(8); ) // a test signal x = { PinkNoise.ar(0.5) + SinOsc.ar([220, 330]) * LFNoise2.kr([5, 8, 13, 21]).max(0); }.play; // all OFX_OutputFX live here: OFX_OutputFX.all; // kick in predefined effects (at full wet ...
-
... which is useful for server-side work. ( r = { var scale = Scale.choose.postln; SinOsc.ar( ( DegreeToKey.kr( scale.as(LocalBuf), MouseX.kr(0, 15), // mouse indexes into scale scale.stepsPerOctave, 1, // mul = 1 60 // offset by 72 notes ) + ...
-
... is proxy to the editor - see below // kr proxies show up in the middle ~lfo = { SinOsc.kr(2) }; ~lfnoyz0 = { |lofreq = 0.5, mul = 1, add| LFDNoise0.kr(lofreq, mul, add) }; // the editor zone is a NodeProxyEditor // open it and set some para ...
-
... min { var freq = ~quNeo.pads[0].x.kr(5000, 300); var amp = ~quNeo.pads[0].y.kr; SinOsc.ar(freq, mul: amp); }.play ) ( //One pad - One Slider - Using Ugens { var freq1 = ~quNeo.pads[0].x.kr(5000, 100); var freq2 = ~quNeo.pads[0].y.kr(5000, 1 ...
-
... ); g = m.gui; // a GUI s.scope(8); ) // a test signal x = { PinkNoise.ar(0.5) + SinOsc.ar([220, 330]) * LFNoise2.kr([5, 8, 13, 21]).max(0); }.play; // all MainFX live here: MainFX.all; // kick in predefined effects (at full wet level) m.add ...
-
... ; //-- panBus //sine panning f.free; f= SynthDef("pan", {Out.ar(r.panBus.index, SinOsc.ar(4))}).play; //slow random panning f.free; f= SynthDef("pan", {Out.ar(r.panBus.index, LFNoise2.ar(0.3))}).play; //random discrete panning at fast rate ...
-
... ; //-- panBus //sine panning f.free; f= SynthDef("pan", {Out.kr(r.panBus.index, SinOsc.kr(4))}).play; //slow random panning f.free; f= SynthDef("pan", {Out.kr(r.panBus.index, LFNoise2.kr(0.3))}).play; //random discrete panning at fast rate ...