71 int getNumTracks()
const noexcept;
102 short getTimeFormat()
const noexcept;
113 void setTicksPerQuarterNote (
int ticksPerQuarterNote)
noexcept;
127 void setSmpteTimeFormat (
int framesPerSecond,
128 int subframeResolution)
noexcept;
151 double getLastTimestamp()
const;
170 bool readFrom (
InputStream& sourceStream,
bool createMatchingNoteOffs =
true);
181 bool writeTo (
OutputStream& destStream,
int midiFileType = 1)
const;
188 void convertTimestampTicksToSeconds();
195 void readNextTrack (
const uint8*,
int,
bool);
Reads/writes standard midi format files.
A sequence of timestamped midi messages.
The base class for streams that write data to some kind of destination.
An array designed for holding objects.
#define JUCE_API
This macro is added to all JUCE public class declarations.