-
... all a.free b.stop //--save and recall settings a= RedMixer(#[20, 30, 40]); b= {SinOsc.ar([400, 404], 0, 0.5)}.play(outbus: 20); c= {PinkNoise.ar(0.5!2)}.play(outbus: 30); d= {WhiteNoise.ar(0.1!2)}.play(outbus: 40); a.lag= 2 a.mixer.bal= 0. ...
-
... erver window for the result // once that's done execute this to make a sound { FSinOsc.ar(800, 0, 0.1) }.play; ⧉ ✔ (Press and hold Cmd (the Apple key) and then press period to stop the sound started above.) In the help files all executable ...
-
... blish(\zz); n.sendMsg("/oo", \zz, \play); n.sendMsg("/oo_p", \zz, "{ |freq=300| SinOsc.ar(freq, Blip.ar([3, 4], 4) * 6, 0.1) }"); n.sendMsg("/oo_p", \zz, "{ |freq=300| Saw.ar(freq * Blip.ar([3, 4], 4, 6, 1), 0.1) }"); n.sendMsg("/oo", \zz, ...
-
... erver window for the result // once that's done execute this to make a sound { FSinOsc .ar(800, 0, 0.1) }.play; (Press and hold Cmd (the Apple key) and then press period to stop the sound started above.) In the help files all executable fra ...
-
... 20, 20000); var index = mods[i]; var mod = (fb * index).sum; var sig = SinOsc.ar(freq, mod.mod(2pi)) * car[i][1]; var coef = ('op' ++ num ++ 'coef').asSymbol.kr(0.5).clip(-1, 1); sig = OnePole.ar(sig, coef); sig; }); ...
-
... num: 1000); ( SynthDef(\record, {|out| var in, rec; in = RLPF.ar(LFSaw.ar(300 * SinOsc.kr(0.4).range(0.5, 5)), Line.kr(12000, 100, 3)); rec = RecordBuf.ar(in, b.bufnum, loop: 0, doneAction: 2); Out.ar(out, in); }; ).add ) Synth(\record); // ...
-
... n = 1, freq = 440| var env = Line.kr(0.1, 0, sustain, doneAction: 2); var son = SinOsc.ar(freq * [1, 1.2, 1.5, 1.7]).sum; Out.ar(out, son * env); }).share; ) // play an event with that synthdef on your computer: (server: r.myServer, instrum ...
-
... 0.01, 0.666 ); envgen = EnvGen.kr( env, doneAction: Done.freeSelf ); snd = SinOsc.ar( [ freq, freq ], mul: 0.5 * amp * envgen ); Out.ar( out, snd ); }).add; all_groups.do( { | group, i | var group_title = StaticText.new( subv ...
-
... .perc(0.03, sustain), 1, doneAction:2); 3.do { var d; d = exprand(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; Out .ar(out, Pan2 .ar( SinOsc .ar(u + 1 * freq, 0, amp * env), pan)); }).store; ) s.boot; Pdef ( \metronom , Pb ...
-
... does not stop on Cmd.period, maybe it appears not local by accident? // test: { SinOsc.ar * 0.1 }.play(r.myServer); thisProcess.stop; // should stop sinosc. ** r.requestSynthDefs - ask all others for their synthdefs; do it in r.statusData ? ...