MidiEvent.aftertouchPolyphonic constructor

MidiEvent.aftertouchPolyphonic({
  1. required int channel,
  2. required int note,
  3. required int pressure,
})

Implementation

factory MidiEvent.aftertouchPolyphonic({
  required int channel,
  required int note,
  required int pressure,
}) => MidiEvent(
  type: MidiEventType.aftertouchPolyphonic,
  channel: channel,
  note: note,
  value1: pressure,
);