MidiEvent.noteOn constructor

MidiEvent.noteOn({
  1. required int channel,
  2. required int note,
  3. required int velocity,
})

Implementation

factory MidiEvent.noteOn({
  required int channel,
  required int note,
  required int velocity,
}) => MidiEvent(
  type: MidiEventType.noteOn,
  channel: channel,
  note: note,
  velocity: velocity,
);