Skip to content

Commit 3868e9e

Browse files
Add qpm() docs (#171)
* add qpm() docs * update qpm() doc
1 parent 67091e7 commit 3868e9e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/midifile.jl

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ MIDIFile() = MIDIFile(1,960,MIDITrack[])
3232

3333
"""
3434
qpm(midi)
35-
Return the QPM (quarter notes per minute) where the given `MIDIFile` was exported at.
35+
Return the **initial** QPM (quarter notes per minute) where the given `MIDIFile` was exported at.
36+
This value is constant, and will not change even if the tempo change event is triggered.
3637
Returns 120 if not found.
38+
To get a list of QPM over time, use [`tempochanges`](@ref).
3739
"""
3840
function qpm(t::MIDI.MIDIFile)
3941
# Find the one that corresponds to Set Tempo:

0 commit comments

Comments
 (0)