Input Callback Reg

These are the functions you use to register your input callbacks.

The functions are called when the appropriate midi message is matched on the associated device's input.

Summary

Members

Descriptions

public voidmidi_register_cc_callback(MidiDevice* device,midi_three_byte_func_t func)

Register a control change message (cc) callback.

public voidmidi_register_noteon_callback(MidiDevice* device,midi_three_byte_func_t func)

Register a note on callback.

public voidmidi_register_noteoff_callback(MidiDevice* device,midi_three_byte_func_t func)

Register a note off callback.

public voidmidi_register_aftertouch_callback(MidiDevice* device,midi_three_byte_func_t func)

Register an after touch callback.

public voidmidi_register_pitchbend_callback(MidiDevice* device,midi_three_byte_func_t func)

Register a pitch bend callback.

public voidmidi_register_songposition_callback(MidiDevice* device,midi_three_byte_func_t func)

Register a song position callback.

public voidmidi_register_progchange_callback(MidiDevice* device,midi_two_byte_func_t func)

Register a program change callback.

public voidmidi_register_chanpressure_callback(MidiDevice* device,midi_two_byte_func_t func)

Register a channel pressure callback.

public voidmidi_register_songselect_callback(MidiDevice* device,midi_two_byte_func_t func)

Register a song select callback.

public voidmidi_register_tc_quarterframe_callback(MidiDevice* device,midi_two_byte_func_t func)

Register a tc quarter frame callback.

public voidmidi_register_realtime_callback(MidiDevice* device,midi_one_byte_func_t func)

Register a realtime callback.

public voidmidi_register_tunerequest_callback(MidiDevice* device,midi_one_byte_func_t func)

Register a tune request callback.

public voidmidi_register_sysex_callback(MidiDevice* device,midi_sysex_func_t func)

Register a sysex callback.

public voidmidi_register_fallthrough_callback(MidiDevice* device,midi_var_byte_func_t func)

Register fall through callback.

public voidmidi_register_catchall_callback(MidiDevice* device,midi_var_byte_func_t func)

Register a catch all callback.

Members

public voidmidi_register_cc_callback(MidiDevice* device,midi_three_byte_func_t func)

Register a control change message (cc) callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_noteon_callback(MidiDevice* device,midi_three_byte_func_t func)

Register a note on callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_noteoff_callback(MidiDevice* device,midi_three_byte_func_t func)

Register a note off callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_aftertouch_callback(MidiDevice* device,midi_three_byte_func_t func)

Register an after touch callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_pitchbend_callback(MidiDevice* device,midi_three_byte_func_t func)

Register a pitch bend callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_songposition_callback(MidiDevice* device,midi_three_byte_func_t func)

Register a song position callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_progchange_callback(MidiDevice* device,midi_two_byte_func_t func)

Register a program change callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_chanpressure_callback(MidiDevice* device,midi_two_byte_func_t func)

Register a channel pressure callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_songselect_callback(MidiDevice* device,midi_two_byte_func_t func)

Register a song select callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_tc_quarterframe_callback(MidiDevice* device,midi_two_byte_func_t func)

Register a tc quarter frame callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_realtime_callback(MidiDevice* device,midi_one_byte_func_t func)

Register a realtime callback.

The callback will be called for all of the real time message types.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_tunerequest_callback(MidiDevice* device,midi_one_byte_func_t func)

Register a tune request callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_sysex_callback(MidiDevice* device,midi_sysex_func_t func)

Register a sysex callback.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_fallthrough_callback(MidiDevice* device,midi_var_byte_func_t func)

Register fall through callback.

This is only called if a more specific callback is not matched and called. For instance, if you don't register a note on callback but you get a note on message the fall through callback will be called, if it is registered.

Parameters

  • device the device associate with

  • func the callback function to register

public voidmidi_register_catchall_callback(MidiDevice* device,midi_var_byte_func_t func)

Register a catch all callback.

If registered, the catch all callback is called for every message that is matched, even if a more specific or the fallthrough callback is registered.

Parameters

  • device the device associate with

  • func the callback function to register

Contents
Summary
Members
public voidmidi_register_cc_callback(MidiDevice* device,midi_three_byte_func_t func)
Parameters
public voidmidi_register_noteon_callback(MidiDevice* device,midi_three_byte_func_t func)
Parameters
public voidmidi_register_noteoff_callback(MidiDevice* device,midi_three_byte_func_t func)
Parameters
public voidmidi_register_aftertouch_callback(MidiDevice* device,midi_three_byte_func_t func)
Parameters
public voidmidi_register_pitchbend_callback(MidiDevice* device,midi_three_byte_func_t func)
Parameters
public voidmidi_register_songposition_callback(MidiDevice* device,midi_three_byte_func_t func)
Parameters
public voidmidi_register_progchange_callback(MidiDevice* device,midi_two_byte_func_t func)
Parameters
public voidmidi_register_chanpressure_callback(MidiDevice* device,midi_two_byte_func_t func)
Parameters
public voidmidi_register_songselect_callback(MidiDevice* device,midi_two_byte_func_t func)
Parameters
public voidmidi_register_tc_quarterframe_callback(MidiDevice* device,midi_two_byte_func_t func)
Parameters
public voidmidi_register_realtime_callback(MidiDevice* device,midi_one_byte_func_t func)
Parameters
public voidmidi_register_tunerequest_callback(MidiDevice* device,midi_one_byte_func_t func)
Parameters
public voidmidi_register_sysex_callback(MidiDevice* device,midi_sysex_func_t func)
Parameters
public voidmidi_register_fallthrough_callback(MidiDevice* device,midi_var_byte_func_t func)
Parameters
public voidmidi_register_catchall_callback(MidiDevice* device,midi_var_byte_func_t func)
Parameters