MidiEvent class

Describes an event that will trigger a MIDI event.

Inheritance

Constructors

MidiEvent({required double beat, required int midiStatus, required int midiData1, required int midiData2})

Properties

beat double
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
midiData1 int
final
midiData2 int
final
midiStatus int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type int
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serializeBytes(int sampleRate, double tempo, int correctionFrames) ByteData
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

cc({required double beat, required int ccNumber, required int ccValue}) MidiEvent
ofNoteOff({required double beat, required int noteNumber}) MidiEvent
ofNoteOn({required double beat, required int noteNumber, required int velocity}) MidiEvent
pitchBend({required double beat, required double value}) MidiEvent