midiin_prog()

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

Syntax

midiin_prog()

Parameters

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

Return Value

Examples

Read the current MIDI program change message

midiin_prog(); // returns the current program 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