-
... lse, true); sequencer.start; board.warn= false; s.latency= 0.05; s.waitForBoot{ Ndef(\sines3, {|t_trig= 0| var f= \freq.kr(400!3, 1/25); Timer.kr(t_trig).poll; //post time between updates in seconds LeakDC.ar(Splay.ar(SinOsc.ar(f, 0, 1/3))) ...
-
... eq, 200, \dur, 0.1, \otto , 12, \ann , 1234); f.mapToPdefGui(t, (5..8)); ) mapToNdefGui(gui, indices, lastIsVol) - map to an NdefGui. gui the gui indices which sliders to map to. default is [1, 2 .. 8]. lastIsVol flag whether the last slide ...
-
... eep all instances of that class: Pdef.all, Tdef.all, Pdefn.all, ProxySpace.all, Ndef.all, and potentially others, such as MKtl. AllGui shows an overview of these: the number global vars in use (a-z); the number of items in the currentEnviro ...
-
... ument; (~basePath +/+ "2_elements_and_actions_midi.scd").openDocument; // using ndefs: (~basePath +/+ "3_using_ndefs_hid.scd").openDocument; (~basePath +/+ "3_using_ndefs_midi.scd").openDocument; // some shared sound processes (~basePath +/ ...
-
... r 4 knobs change slots volume m.elAt(\vols).do { |el, i| el.action = { |el| var ndef = NTMI.slots.zz[i]; // limit to +-6, the largest ever step on an encoder var valStep = NTMI.encDelta(el); NTMI.slots.volStep(i, (valStep * 0.4)) } }; /// l ...
-
... , res); Out.ar(out, src * amp !2; ) }).add; ); // set up the sound g = NPVoicer(Ndef(\piano)); // make an NPVoicer with an Ndef in it g.play; // play it NdefMixer(s); // sound control g.prime(\a); // prepare it with the synthdef a ) // test ...
-
... ally flexible ways - scaling, shifting, inversion. // make a sound to control ( Ndef(\form, { |freq = 50, shape = 0.9, ffreq = 200, amp = 0.1, lag = 0.1| var snd = VarSaw.ar(freq.lag(lag) + [0.1, -0.1], 0, shape.lag(lag)); Formlet.ar(snd * ...
-
... r([30, 30]) }.play; x.free; x = { SinOsc.ar([332, 334]) * 0.1 }.play; x.free; ( Ndef(\sins).fadeTime = 3; Ndef(\sins, { Splay.ar( SinOsc.ar({ exprand(50, 2000) }!12) ) * 0.1 }).play; ) ( Tdef(\sins, { loop { Ndef(\sins).rebuild; exprand(5, ...
-
... 0.2], [24, 0.01, dur * 0.2], [4, 3, dur * 0.002] // attack ]; Ndef(\quickBell).fadeTime = 0; Ndef(\quickBell, { var snd, env; env = Env.perc( attackTime: 0.001, releaseTime: partials.flop.at(2), level: partia ...
-
phasemodulation feedback and allpass network n=LFNoise1;Ndef(\x,{a=SinOsc.ar(65,Ndef(\x).ar*n.ar(0.1,3),n.ar(3,6)).tanh;9.do{a=AllpassL.ar(a,0.3,{0.2.rand+0.1}!2,5)};a.tanh}).play