Struct rimd::SMF [] [src]

pub struct SMF {
    pub format: SMFFormat,
    pub tracks: Vec<Track>,
    pub division: i16,
}

A standard midi file

Fields

The format of the SMF

Vector holding each track in this SMF

The unit of time for delta timing. If the value is positive, then it represents the units per beat. For example, +96 would mean 96 ticks per beat. If the value is negative, delta times are in SMPTE compatible units.

Methods

impl SMF
[src]

Read an SMF file at the given path

Read an SMF from the given reader

Trait Implementations

impl Debug for SMF
[src]

Formats the value using the given formatter.