-
... = 16| var snd = Saw.ar(freq, amp); snd = snd * EnvGen.kr( Env.perc(0.01, rel), doneAction: Done.freeSelf ); snd = LPF.ar(snd, freq * lowPassRatio); snd = Pan2.ar(snd, pan); Out.ar(0, snd); }).add; beatWidgets = [ pianoRoll, sequencer, ampC ...
-
... e = RoundButton ( w, 150 @ 18 ).label_( "back to skin 1" ); ) This can also be done in the form of useWithSkin( skin, function ) : ( w = Window ( "RoundButton skins" ).front; w.addFlowLayout; RoundButton .skin = nil ; // remove old one(s) ...
-
... in the client app without immediately creating a synth node on the server. Once done one can call methods which create messages to add to a bundle, which when sent to the server will instantiate the synth. Synth. basicNew ( defName , server ...
-
... v.perc( attackTime: \attackTime.kr(0.01), releaseTime: \releaseTime.kr(0.1), ), doneAction: Done.freeSelf); sig = Pan2.ar(sig*env, pos: \pos.kr(0.0)) * \amp.kr(0.2); Out.ar(out, sig); }).add; // create a proxychain source ProxyChain.add3( s ...
-
... (n, analyzeSlice.value(sfSliceArray).abs.at(half).abs); 0.0001.wait; }; "Done".postln; displaySonogram.value; }) ); Buffer.freeAll; Window.closeAll; //////////// // // GUI // /////////// //Window win = Window("Sp ...
-
... early most flexibility is given with a fully analysed buffer, which can also be done in quasi realtime. NOTE: Depending on the multichannel sizes and the options used (rate and dir sequencing) it might be necessary to increase server resour ...
-
... envelope signal var panAngle, widthAngle; // signals read from control bus var doneAction = Done.freeSelf; var numCtrlChans = 2; // control bus has two signals // calcs amp = gain.dbamp; // convert from gain in dB to linear amplitude scale ...
-
... tion. // adding more out cables means reinstalling an identical action, no harm done action = { arg val; NotificationCenter.notify(cable.outlet, \didAction, [ val ]) }; cable.outlet.adapter.value(action); }, { arg cable, bundle; bundle.addF ...
-
... pos, 0, 2)), 20000)),20); var env = EnvGen.ar(Env.sine(sustain, amp * 0.5), doneAction: 2); OffsetOut.ar(out, Pan2.ar(snd * env, pan)); }, \ir ! 5).add; SynthDef(\bufWide, { |out, amp=0.1, rate=1.0, bend=1.0, pos=1, sustai ...
-
... er.sampleRate; dur.postln; BufRd .ar(1, w.buffer, Line .ar(startFr, endFr, dur, doneAction: 2)) }.play; ) loop buffer segments with a Phasor: ( x = { arg start = 0, end = 128, playRate = 1; BufRd .ar(1, w.buffer, Phasor .ar(0, playRate * Bu ...