-
... 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 ...
-
... 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, ...
-
... ks. ~radTest.("vol-track", setup: ["start 2"], cmds: ["vol t 1 -10"], check: { (Ndef('track1').get('volume') == -10) or: { "volume is " ++ Ndef('track1').get('volume') } } ); ~radTest.("fx-pch", setup: ["start 2"], cmds: ["fx 1 pch"], check ...
-
... s accessible again, // we can have "shared state" - e.g. always using // Tdefs, Ndefs, Pdefs, we can all see what is currently running, // and write code that changes what is already there. ////// if you start a sound like this: // { Saw.ar ...
-
... r0 = Buffer.read(s, "<RadiclesFiles>/SoundFiles/Play/0/drums1.wav", bufnum: 0); Ndef('block1', {arg rate=1 , trigger=1 , startPos=0 , mul=1 ; PlayBuf.ar(~buffer0.numChannels, ~buffer0, rate, trigger, startPos.linlin(0,1,0, ~buffer0.numFrame ...
-
... O.leftDown.size > 0 } { NTMI.nUFO.leftDown.do { |slotIndex| // "% - choose rand ndef preset.\n".postf(NTMI.ndefs[slotIndex]); NTMI.pre.stepNdefInf( NTMI.ndefs[slotIndex], nil ) } } } }); NTMI.inph.sendInphPre = { fork { var ledCol = NTMI.in ...