-
... red to respond to MIDI control change events Source: MIDIResponder.sc See also: MIDIFunc , MIDIdef , MIDIResponder , NoteOnResponder Description NOTE: SC 3.5 added the MIDIFunc and MIDIdef classes. These are faster, and aim to have a more c ...
-
... e, and then use Pfunc to access the variable for each event. ( ~legato = 1; c = MIDIFunc.cc({ |value, num, chan, src| ~legato = value.linlin(0, 127, 0.1, 2.5) }, 1); // 1 means modwheel ) ( p = Pbind( \degree, Pwhite(-7, 12, inf), \dur, Pwr ...
-
MIDIFuncSrcMessageMatcherNV: Filter: Description Class methods Inherited class methods Instance methods value Inherited instance methods Classes | External Control > MIDI'>MIDI > MIDI>Matchers'>Matchers MIDIFuncSrcMessageMatcherNV : MIDIFun ...
-
... ndex]]); } { synths[index].set(\gate, 0); synths[index] = nil; }; }); // Assign MIDIFuncs: midiNoteOnFunc = MIDIFunc.noteOn({ |velocity, midiNote| // Converting midiNote as an index: midiNote = midiNote - noteOffset; // If midi note is in r ...
-
... ted instance methods Examples Classes | External Control > MIDI'>MIDI MIDIdef : MIDIFunc : AbstractResponderFunc : Object MIDI response reference definition Source: ResponseDefs.sc See also: MIDI , MIDIFunc Description MIDIdef provides a gl ...
-
... = 16383; cc1 = aCc1; cc2 = aCc2; chan = aChan; pattern = PatternProxy(0); def = MIDIFunc.cc({ |val,num,chan,src| pattern.source = val; case {num==cc1}{this.msbSet(val)} {num==cc2}{this.lsbSet(val)} }, [cc1,cc2],chan); if(fix, { def.fix; }); ...
-
... name, `spec) }) // .put(\learned, { |num, name| // learning.clear; // }) ; midi.midiFuncs.do { |midiResp| if(#[noteOn, noteOff].includes(midiResp[\name]).not) { this.addCtl(midiResp[\num], midiResp[\name], midiResp[\spec]); }; }; func = { | ...
-
MIDIFuncChanMessageMatcher: Filter: Description Class methods new Inherited class methods Instance methods value Inherited instance methods Classes | External Control > MIDI'>MIDI > MIDI>Matchers'>Matchers MIDIFuncChanMessageMatcher : Abstr ...
-
... ), { arg knob; ~a.set(\freq, knob.value); active = false; }, margin: 39@0); MIDIFunc.cc({ arg val, num, chan, src; var guiControl, midiControl, treshold; midiControl = val.linlin(0, 127, 20, 20000); guiControl = knob.valu ...
-
... the text below. Why another responder hierarchy? The standard MIDI responders ( MIDIFunc , MIDIdef ) are organized around the incoming message type. The ddwMIDI responders are organized around what you want to do with the information. For e ...