prepareChannelAftertouch method

Uint8List prepareChannelAftertouch(
  1. int pressure
)

Prepares a Channel Aftertouch message (0xD0) for this channel.

Implementation

Uint8List prepareChannelAftertouch(int pressure) {
  return Uint8List.fromList([0xD0 | channel, pressure]);
}