midiin_channel()

Reads a MIDI channel message from the MIDI input device and returns the channel number.

Syntax

midiin_channel()

Parameters

Parameter Type Description Comment
None None This function takes no parameters.

Return Value

Examples

Read the current MIDI channel message

midiin_channel(); // returns the current channel number

See also

midi_note_on
midi_note_off
midi_ctrl
midi_prog
midi_play
midi_stop
midi_is_playing

midiin_channel
midiin_prog
midiin_note
midiin_ctrl