VJ Master 1.0
Real-time audio analysis and visualisation.
Loading...
Searching...
No Matches
IST_MIDIControlInterface Class Reference

Interface for MIDI control event handling. More...

#include <ST_MIDIControlInterface.h>

Public Member Functions

void OnMIDIItemRegistered ()
 Called when a MIDI item is registered with the system.
void OnMIDIItemDeregistered ()
 Called when a MIDI item is deregistered from the system.
void OnMIDINoteOn (int32 Timestamp, int32 Channel, int32 Note, int32 Velocity)
 Called when a MIDI Note On message is received.
void OnMIDINoteOff (int32 Timestamp, int32 Channel, int32 Note, int32 Velocity)
 Called when a MIDI Note Off message is received.
void OnMIDIPitchBend (FIntPoint PitchBendRange, int32 Timestamp, int32 Channel, int32 Pitch)
 Called when a MIDI Pitch Bend message is received.
void OnMIDIAftertouch (int32 Timestamp, int32 Channel, int32 Note, int32 Amount)
 Called when a MIDI Aftertouch (per-note) message is received.
void OnMIDIControlChange (FIntPoint ControlChangeRange, int32 Timestamp, int32 Channel, int32 Type, int32 Value)
 Called when a MIDI Control Change (CC) message is received.
void OnMIDIProgramChange (int32 Timestamp, int32 Channel, int32 ControlID, int32 Velocity)
 Called when a MIDI Program Change message is received.
void OnMIDIChannelAftertouch (int32 Timestamp, int32 Channel, int32 Amount)
 Called when a MIDI Channel Aftertouch message is received.

Detailed Description

Interface for MIDI control event handling.

Implement this interface to handle registration/deregistration events and various types of incoming MIDI messages.

Member Function Documentation

◆ OnMIDIAftertouch()

void IST_MIDIControlInterface::OnMIDIAftertouch ( int32 Timestamp,
int32 Channel,
int32 Note,
int32 Amount )

Called when a MIDI Aftertouch (per-note) message is received.

Parameters
TimestampTime at which the event occurred.
ChannelMIDI channel number.
NoteMIDI note number.
AmountPressure amount.

◆ OnMIDIChannelAftertouch()

void IST_MIDIControlInterface::OnMIDIChannelAftertouch ( int32 Timestamp,
int32 Channel,
int32 Amount )

Called when a MIDI Channel Aftertouch message is received.

Parameters
TimestampTime at which the event occurred.
ChannelMIDI channel number.
AmountOverall channel pressure.

◆ OnMIDIControlChange()

void IST_MIDIControlInterface::OnMIDIControlChange ( FIntPoint ControlChangeRange,
int32 Timestamp,
int32 Channel,
int32 Type,
int32 Value )

Called when a MIDI Control Change (CC) message is received.

Parameters
ControlChangeRangeExpected value range for the control.
TimestampTime at which the event occurred.
ChannelMIDI channel number.
TypeControl Change type (controller number).
ValueControl value.

◆ OnMIDINoteOff()

void IST_MIDIControlInterface::OnMIDINoteOff ( int32 Timestamp,
int32 Channel,
int32 Note,
int32 Velocity )

Called when a MIDI Note Off message is received.

Parameters
TimestampTime at which the event occurred.
ChannelMIDI channel number.
NoteMIDI note number.
VelocityRelease velocity (optional).

◆ OnMIDINoteOn()

void IST_MIDIControlInterface::OnMIDINoteOn ( int32 Timestamp,
int32 Channel,
int32 Note,
int32 Velocity )

Called when a MIDI Note On message is received.

Parameters
TimestampTime at which the event occurred.
ChannelMIDI channel number.
NoteMIDI note number.
VelocityNote velocity (how hard the key was pressed).

◆ OnMIDIPitchBend()

void IST_MIDIControlInterface::OnMIDIPitchBend ( FIntPoint PitchBendRange,
int32 Timestamp,
int32 Channel,
int32 Pitch )

Called when a MIDI Pitch Bend message is received.

Parameters
PitchBendRangeExpected pitch bend range (in semitones).
TimestampTime at which the event occurred.
ChannelMIDI channel number.
PitchPitch bend value.

◆ OnMIDIProgramChange()

void IST_MIDIControlInterface::OnMIDIProgramChange ( int32 Timestamp,
int32 Channel,
int32 ControlID,
int32 Velocity )

Called when a MIDI Program Change message is received.

Parameters
TimestampTime at which the event occurred.
ChannelMIDI channel number.
ControlIDProgram change ID.
VelocityOptional velocity or value associated with the change.

The documentation for this class was generated from the following file: