Maestro - Midi Player Tool Kit for Unity Version 2.18.2
Loading...
Searching...
No Matches
Maestro Pro Extensions

Advanced scale/chord and real-time control features available in Maestro Pro. More...

Functions

void MidiPlayerTK.MidiStreamPlayer.MPTK_PlayPitchWheelChange (int channel, float pitchWheel)
 Plays a MIDI pitch change event for all notes on the channel.
void MidiPlayerTK.MidiStreamPlayer.MPTK_PlayPitchWheelSensitivity (int channel, int sensitivity)
 Plays a MIDI pitch sensitivity change for all notes on the channel.

Detailed Description

Function Documentation

◆ MPTK_PlayPitchWheelChange()

void MidiPlayerTK.MidiStreamPlayer.MPTK_PlayPitchWheelChange ( int channel,
float pitchWheel )

Plays a MIDI pitch change event for all notes on the channel.

Version
Maestro Pro
Parameters
channelMIDI channel in the range 0 to 15.
pitchWheelNormalized pitch wheel value in the range 0 to 1 (normalized since v2.88.2).
  • 0 minimum (equivalent to value 0 in the MIDI standard event)
  • 0.5 centered (equivalent to value 8192 in the MIDI standard event)
  • 1 maximum (equivalent to value 16383 in the MIDI standard event)

◆ MPTK_PlayPitchWheelSensitivity()

void MidiPlayerTK.MidiStreamPlayer.MPTK_PlayPitchWheelSensitivity ( int channel,
int sensitivity )

Plays a MIDI pitch sensitivity change for all notes on the channel.

Version
Maestro Pro
Parameters
channelMIDI channel in the range 0 to 15.
sensitivityPitch bend sensitivity from 0 to 24 semitones. Default is 2. Example: 4 means the range is -4 to +4 semitones when MPTK_PlayPitchWheelChange moves from 0 to 1.