-
... ional numbers will work with arrays of [p,q]'s //ex. 3.cents(2) or 440.cents(60.midicps) or [2,3].cents // cents { | frq = 1| // ^1200 * ( (this/frq).log / 2.log ) // } // used to be the mathematical formula above but was changed for effici ...
-
... ; [200,300,400,500].asNote; asPitchBend(pb = 400) Calculate pitchbend value for midi playback of microtones (in cents). pb is the pitch bend ammount (400 = +/- 1 tone, i.e. -200 to +200 cents) 50.asPitchBend; // - > 16 asBark Return the bar ...
-
... tune {|freq, transpose= 0| if(scale.notNil, { if(transpose==0, { freq= freq.cpsmidi.nearestInScale(scale.semitones).midicps; }, { freq= freq.cpsmidi.nearestInScale(scale.semitones); freq= freq.keyToDegree(scale.semitones, tuning.stepsPerOc ...
-
... 1; // level of audio allowed through (0 will suppress) ~mixerOutChannels = 2; ~midiTriggerChan = \omni; ~midiTriggerCtlNum = 64; ~bufStateProto = (status: \idle, dur: nil, peak: nil, recTime: 0, playCount: 0, actionDone: false) .parent_( ( ...
-
... 1; // level of audio allowed through (0 will suppress) ~mixerOutChannels = 2; ~midiTriggerChan = \omni; ~midiTriggerCtlNum = 64; ~bufStateProto = (status: \idle, dur: nil, peak: nil, recTime: 0, playCount: 0, actionDone: false) .parent_( ( ...
-
... node, velocity value zero must be send to the same note number. (Just like the MIDI convention) -If you change presets on the run, newly opened notes with new presets might affect the existing notes. Most of the time this is a very minima ...
-
... 00,300,400,500].asNote; ⧉ ✔ asPitchBend(pb = 400) Calculate pitchbend value for midi playback of microtones (in cents). pb is the pitch bend ammount (400 = +/- 1 tone, i.e. -200 to +200 cents) 50.asPitchBend; // - > 16 ⧉ ✔ asBark Return the ...
-
... ffer) }; } constrain { |value| ^value; } *newFromObject { |obj| ^this.new; } } UMIDIFileSpec : Spec { *testObject { |obj| ^obj.isKindOf( UMIDIFile ); } constrain { |value| value = value.asUMIDIFile; ^value; } map { |in| ^this.constrain( in ...
-
... { initArgs = initArgs ++ [name, thisArg]; }); proto }; }); }; }); ^argArray } } MIDIVoicerNode : SynthVoicerNode { classvar fakeSynthDesc; var <midichannel = 0, <lastVelocity, noteOffMsg, bendMsg; var noteFunc, bend = nil; var <mpe = false, ...
-
... degrees ++ (descDegrees ? degrees).reverse.drop(1) } adRatios { ^this.asADArray.midiratio } asFloatArray { var array, fa; array = this.asArray; ^FloatArray.new(array.size).addAll(array); } size { ^degrees.size } semitones { |desc = false| d ...