| @@ -156,6 +156,7 @@ public: | |||||
| terms of midi ticks. To convert them to seconds, use the convertTimestampTicksToSeconds() | terms of midi ticks. To convert them to seconds, use the convertTimestampTicksToSeconds() | ||||
| method. | method. | ||||
| @param sourceStream the source stream | |||||
| @param createMatchingNoteOffs if true, any missing note-offs for previous note-ons will | @param createMatchingNoteOffs if true, any missing note-offs for previous note-ons will | ||||
| be automatically added at the end of the file by calling | be automatically added at the end of the file by calling | ||||
| MidiMessageSequence::updateMatchedPairs on each track. | MidiMessageSequence::updateMatchedPairs on each track. | ||||
| @@ -167,6 +168,10 @@ public: | |||||
| /** Writes the midi tracks as a standard midi file. | /** Writes the midi tracks as a standard midi file. | ||||
| The midiFileType value is written as the file's format type, which can be 0, 1 | The midiFileType value is written as the file's format type, which can be 0, 1 | ||||
| or 2 - see the midi file spec for more info about that. | or 2 - see the midi file spec for more info about that. | ||||
| @param destStream the destination stream | |||||
| @param midiFileType the type of midi file | |||||
| @returns true if the operation succeeded. | @returns true if the operation succeeded. | ||||
| */ | */ | ||||
| bool writeTo (OutputStream& destStream, int midiFileType = 1); | bool writeTo (OutputStream& destStream, int midiFileType = 1); | ||||