-
... \midi_noteOn_freq, { |unit, midifunc| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifunc.remove; func = { |value, range| var outSpec; outSpec = unit.getSpec( \value ); value = value - 69; if( unit.get( \invert ).boolea ...
-
... ounds| ^super.new(parent, bounds).initialize(); } initialize { MIDIClient.init; MIDIIn.connectAll; patternBoxLauncherItemViews = List(); this.initializeEvents(); this.initializeView(); this.registerEventHandlers(); projectSaveAndLoadView.au ...
-
... UMapDef( \midi_cc, { |unit, midifunc| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifunc.free; func = { |value, fromRange| var toRange, curve; toRange = unit.mapGet( \toRange ); curve = unit.get( \curve ); if (abs(curv ...
-
... size.kr(1) ); verb } ) ) Ndef(\hole).edit; Ndef(\src).edit; MIDIIn.connectAll MIDIdef.cc(\test, {arg ... args; args.postln}); MIDIdef.cc(\test).free; ( MIDIdef.cc(\dtime, {|val, num| Ndef(\hole).set(\dtim ...
-
... pDef( \midi_touch, { |unit, midifunc| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifunc.free; func = { |value, fromRange| var toRange, curve; toRange = unit.mapGet( \toRange ); curve = unit.get( \curve ); if (abs(curv ...
-
... apDef( \midi_bend, { |unit, midifunc| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifunc.free; func = { |value, fromRange| var toRange, curve; toRange = unit.mapGet( \toRange ); curve = unit.get( \curve ); if (abs(curv ...
-
... Def( \midi_noteOn, { |unit, midifunc| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifunc.remove; func = { |value, fromRange| var toRange, curve; toRange = unit.mapGet( \toRange ); curve = unit.get( \curve ); if (abs(cu ...
-
... r.stop; //and then try manually changing the slider/numberbox //softset example MIDIIn.connectAll; ( var win; var element= SGUIelement(); var elementSpec= \amp.asSpec; var fps= 15; //set up midi with softset MIDIdef.cc(\softset, {|msg| msg. ...
-
... e '0_42' meaning midichannel 0, ctl num 42. See also: UsingMIDI , CCResponder , MIDIIn Creation / Class Methods *new (srcID, dict) create a BCRKtl object. srcID - every MIDI port (e.g. from a USB plug) gets a unique ID. This can be used to ...
-
... { init { destination = destination.asChannelIndex; } set { |val, divisor, num| MIDIIn.doControlAction(destination.port, destination.channel, num, val) } active { ^(destination.respondsTo(\port) and: { destination.respondsTo(\channel) }) } ...