The Midifile library contains six classes:
MidiFile | Primary class, responsible for reading and writing MIDI files. |
MidiEventList | Responsible for managing MidiEvent lists for tracks within the MidiFile class. |
MidiEvent | MidiMessage plus a timestamp and other bookkeeping variables. |
MidiMessage | Raw MIDI protocol message. Inherited by the MidiEvent class. |
Binasc | MidiFile Support class for reading/writing ASCII byte codes representing MIDI files. |
Options | Independent helper class for processing command-line options. |
MidiFile:: Main interface for reading/writing Standard MIDI Files
- absoluteTicks
- addEvent
- addMetaEvent
- addTrack
- allocateEvents
- clear
- deleteTrack
- deltaTicks
- doTimeAnalysis
- extractVlvTime
- getAbsoluteTickTime
- getEvent
- getEventCount
- getFilename
- getSplitTrack
- getTicksPerQuarterNote
- getTimeInSeconds
- getTrackCount
- hasJoinedTracks
- hasSplitTracks
- isAbsoluteTime
- isDeltaTime
- joinTracks
- linkNotePairs
- mergeTracks
- operator[]
- read
- setFilename
- setMillisecondTicks
- setTicksPerQuarterNote
- size
- sortTrack
- sortTracks
- splitTracks
- status
- write
- writeBinasc
- writeHex
MidiEventList:: MidiFile track storage for MidiEvent lists
MidiEvent:: (also inherits from MidiMessage) MidiMessage + timestamp
MidiMessage:: (also inherits from vector<uchar>)
- getChannelNibble
- getCommandByte
- getCommandNibble
- getKeyNumber
- getSize
- getTempoBPM
- getTempoMicro
- getTempoSPT
- getTempoSeconds
- getTempoTPS
- isAftertouch
- isController
- isMeta
- isNoteOff
- isNoteOn
- isPitchbend
- isPressure
- isTempo
- isTimbre
- operator=
- operator[]
- setChannelNibble
- setCommand
- setCommandByte
- setCommandNibble
- setKeyNumber
- setMetaTempo
- setParameters
- setSize
- setSizeToCommand
Options:: Auxiliary class for command-line option parsing
- appendOptions
- argc
- argv
- define
- getArg
- getArgCount
- getArgList
- getBoolean
- getChar
- getCommand
- getCommandLine
- getDouble
- getFlag
- getFloat
- getInt
- getRegIndex
- getString
- isDefined
- optionsArg
- printOptionBooleanState
- printOptionList
- printRegister
- process
- setFlag
- setOptions
- storeOption
- xverify