Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Action ¶
ToControlChange converts the given valuer to a polyphonic after touch message if the given matcher matches.
Example:
// To get a transformer that converts MIDI notes between 40 and 50 on channel2 to polyphonic aftertouch messages on key 23, use var m = midiline.And(typ.Channel2,message.NoteKeyRange(40,50,true)) var t = to_polyphonicaftertouch.Transform(23, m, value.NoteKey)
func ActionScale ¶
TransformScale is like Transform but allows a scaler function to calculate the message value from the valuer value.
Example:
// To get a transformer that converts MIDI note 64 on channel2 to polyphonic aftertouch message on key 23 with value of 76, use var m = midiline.And(typ.Channel2,message.NoteKey(64,true)) var t = TransformScale(23, m, value.NoteKey, func (in uint8) (out uint8){ return in+12 })
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.