MidiFile class

Represents a standard MIDI file.

Constructors

MidiFile.fromBinaryReader(BinaryReader reader, {int? loopPoint, MidiFileLoopType? loopType})
MidiFile.fromByteData(ByteData bytes, {int? loopPoint, MidiFileLoopType? loopType})
Loads a MIDI file from the byte data
factory
MidiFile.fromFile(String path, {int? loopPoint, MidiFileLoopType? loopType})
Loads a MIDI file from the file path.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
length Duration
The length of the MIDI file.
no setter
messages List<MidiMessage>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
times List<Duration>
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getTimeSpanFromSeconds(double value) Duration