[][src]Constant midi_consts::channel_event::PROGRAM_CHANGE

pub const PROGRAM_CHANGE: u8 = 0xC0;

Event type of a program change.

A channel event of this type has only two bytes and is as follows:

  • byte one: PROGRAM_CHANGE | channel, where channel is the channel (0-16)
  • byte two: program number (0-127)