-
... le(3) OSC The API can also easily be mounted to OSC and the piece can be easily controlled via Processing, Quartz Composer etc. Since the interface of the API is queryable it would be easily possible to auto-configure MIDI devices. a.mountO ...
-
... udes {|arr| //convenience method this.set(\amplitudes, arr); } getAmplitudes { ^controllers.collect{|ctrl| ctrl.amplitudes.bus.getnSynchronous}; } setDistortions {|arr| //convenience method this.set(\distortions, arr); } getDistortions { ^c ...
-
... pSynths.put(0, synth); hasJustStartedWithPause = true; bus.isNil.if { bus = Bus.control(server, size) }; isListening.not.if { this.listen(pHelpSynth.relDemandIndexUserNums.size); }; server.sendBundle(latency ?? demandLatency, synth.newMsg(s ...
-
... Another class? Or 'copy' the Plug and set a flag? map: \sym1 -> \sym2 \sym1 is control name in the parent, if set it should translate to child \sym2 */ Plug : AbstractPatchableNode { var <>map; var <dest; var <bus; // use AutoReleaseBus va ...
-
//boot Alga Alga.boot //2 sines. \freq has two control rate channels a = AlgaNode({ SinOsc.ar(\freq.kr([220, 440])) }).play //5 LFOs at audio rate b = AlgaNode({ SinOsc.ar([1, 2, 3, 4, 5]) }) //rate conversion ( ar -> kr ) //channels conver ...
-
... dValue; dt = this.dt; /* Ramp is used to interpolate between updates */ #x, y = Control.names(#[x, y]).kr([position[0], position[1]]); x = Ramp.kr(x, dt); y = Ramp.kr(y, dt); speedValue = Control.names(\speed).kr(speed); speedValue = Ramp.k ...
-
... ate.rawSeconds; { msc.changed(); }.defer; msc.debounce_change(); } }, msgType: \control); } /** * Handle incoming MIDI from the selected NanoKontrol2 */ handle { MIDIdef(\msc_nk2, { arg val, num; this.intercept_nk_btns(val, num); }, msgNum: ...
-
... . */ PV_BinRange : PV_ChainUGen { *new { |buffer, loBin, hiBin| ^this.multiNew(\control, buffer, loBin, hiBin) } *new1 { |rate, buffer, loBin, hiBin| var wipe, bufSize, chain_clipped; bufSize = buffer.miSC_getFFTbufSize; chain_clipped = Loc ...
-
// midi learn: make two functions that // control a synth process // 1. start and stop // 2. set frequency // These features should be assigned to the two controllers that are moved next. s.boot; s.latency = nil; m = MKtl('nk2', "korg-nanok ...
-
... han) } initPF {|server, src, chan| midiSrc = src; midiChan = chan; //////////// controllers = [ /* 0 */ JInTC_Fader.new("Fader 1", server, [0, 127, \linear, 0].asSpec).short_(\f1), /* 1 */ JInTC_Fader.new("Fader 2", server, [0, 127, \linear ...