package
0.8.2
Repository: https://github.com/gomidi/midi.git
Documentation: pkg.go.dev

# Packages

Package smfreader provides a reader of Standard MIDI Files (SMF).
Package smftrack provides helpers for manipulation of tracks within SMF files.
Package smfwriter provides a writer of Standard MIDI Files (SMF).

# Functions

SMPTE24 returns a SMPTE24 TimeCode with the given subframes.
SMPTE25 returns a SMPTE25 TimeCode with the given subframes.
SMPTE30 returns a SMPTE30 TimeCode with the given subframes.
SMPTE30DropFrame returns a SMPTE30 drop frame TimeCode with the given subframes.

# Constants

SMF0 represents the singletrack SMF format (0).
SMF1 represents the multitrack SMF format (1).
SMF2 represents the sequential track SMF format (2).

# Structs

Header represents the header of a SMF file.
TimeCode is the SMPTE time format.

# Interfaces

Format is the common interface of all SMF file formats.
Reader reads midi messages from a standard midi file (SMF) Reader is also a midi.Reader.
TimeFormat is the common interface of all SMF time formats.
Writer writes midi messages to a standard midi file (SMF) Writer is also a midi.Writer.

# Type aliases

MetricTicks represents the "ticks per quarter note" (metric) time format It defaults to 960 (i.e.