Crate nom_midi

Source

Modules§

parser

Structs§

EscapeSequence
An escape sequence (something not possible to include elsewhere)
Event
An event present in a track chunk
MidiEvent
The midi event, along with the channel it applies to
MidiHeader
A data structure for the Midi file header chunk
SMPTEOffset
I don’t understand this, but I should be decoding it correctly for those that do
SimpleMidiFile
SystemExclusiveEvent
A system exclusive message
TimeSignature
A time signature
Track
A track chunk (a collection of events)

Enums§

Division
The way time is divided in the midi track
EventType
The type of an event in a track chunk, along with event-specific data
Fps
There are only 4 valid fps, below
KeySignature
All possible Key Signatures
MetaEvent
A special non-MIDI event
MidiEventType
A midi event
MidiFormat
Represents the different formats of a midi file
Note
A note representable in a 7 bit unsigned int. The subscript ‘s’ to a note means sharp. The subscript ‘n’ to an octave means negate, so Cs2n = C# in octave -2.