-
... ut], ~efx); }); }; // clean up on ServerQuit ~cleanup = { s.freeAll; MIDIdef.freeAll; s.newBusAllocators; ServerBoot.removeAll; ServerTree.removeAll; ServerQuit.removeAll; }; // MIDI stuff! ~bend = 8192; // initializin ...
-
... oteArray = Array.newClear(128); // array has one slot per possible MIDI note MIDIdef.noteOn(\myKeyDown, {arg vel, note; noteArray[note] = Synth("quick2", [\freq, note.midicps, \amp, vel.linlin(0, 127, 0, 1)]); ["NOTE ON", note].postl ...
-
... 64); var duration = 4; var quneoChannel = 11; // MIDIIn.connectAll; MIDIdef.freeAll; MIDIdef.noteOn( key: \noteOn, func: {arg vel, note; var index = note - 36; // start from 0 padsArray[index] = Synth("risset" ...
-
... .add; ) ~t = TempoClock.new; ~t.tempo = 3; Tdef(\morse).play(~t); ( MIDIdef.cc(\attackTime, {|val, num, chan, src| var attackTime; attackTime = val.linlin(0,127,0,2); ~ctlbus1.set(attackTime); ("attackTime: " ++ at ...
-
... env * amp; Out.ar(0, snd); }).add; }.play; // MIDI from QuNeo MIDIdef.cc( key: \xpads, func: {arg vel, ccNum; var index, rate, previous, winner; index = (24, 27 .. 69).indexOf(ccNum); index = index + ba ...
-
... p.uid -> mep.device.catArgs(", ", mep.name)); }); // Register the debugger MIDIdef.freeAll; ~types.do({ |type| var key, func, msgType; key = (type + "Func").asSymbol; msgType = type.asSymbol; // Define the debugger funcito ...
-
... .1, \ctranspose, Pstutter(8, Pwhite(0, 36)) ).play(quant: 0.1); }; MIDIdef.noteOn(\test, { arg vel, note; /*note.postln;*/ f.value(vel, note) }); });
-
... ///////// // MIDI MIDIClient.init; MIDIIn.connectAll; ~notes = nil ! 127; MIDIdef.noteOn(\keyOn, { |vel, num| ~notes.do { |note, i| if (note.notNil) { if (note.pressed.not) { ~notes[i] = nil; }; }; ...
-
... nArray = Array.newClear(16); quneoChannel = 11; // MIDIIn.connectAll; MIDIdef.freeAll; patternArray[0] = Pbind( \instrument, "noise-quneo-2", \freq, Pwhite(100, 5500), \pulseFreq, Pwhite(5, 10), \dur, 0.3, \amp, ...
-
... (In.ar(8,1)*vol+Mix.new(src),~gBuf4,bufWr); src }); /* MIDI Control */ MIDIdef.noteOn(\notes, {arg ...args; args.postln; Ndef(\rd1).set(\note, args[1]); Ndef(\rd2).set(\note, args[1]); Ndef(\rd3).set(\note, args[1]); Ndef(\ ...