64 int getNumTracks()
const noexcept;
95 short getTimeFormat()
const noexcept;
106 void setTicksPerQuarterNote (
int ticksPerQuarterNote)
noexcept;
120 void setSmpteTimeFormat (
int framesPerSecond,
121 int subframeResolution)
noexcept;
144 double getLastTimestamp()
const;
166 bool createMatchingNoteOffs =
true,
167 int* midiFileType =
nullptr);
178 bool writeTo (
OutputStream& destStream,
int midiFileType = 1)
const;
185 void convertTimestampTicksToSeconds();
192 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_LEAK_DETECTOR(OwnerClass)
This macro lets you embed a leak-detecting object inside a class.
unsigned char uint8
A platform-independent 8-bit unsigned integer type.