[][src]Constant midi_consts::channel_event::CHANNEL_KEY_PRESSURE

pub const CHANNEL_KEY_PRESSURE: u8 = 0xD0;

Event type of channel pressure ("channel aftertouch").

Events of this type are assumed to effect all currently playing notes for the specified channel. A channel event of this type has only two bytes and is as follows:

  • byte one: CHANNEL_KEY_PRESSURE | channel, where channel is the channel (0-16)
  • byte two: pressure amount (0-127)