Skip to content

Commit ce61adb

Browse files
Update docs and fix indentation for deprecation warning (#134)
1 parent 9c10f23 commit ce61adb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/midifile.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ end
116116

117117
"""
118118
qpm(midi)
119-
Return the QPM where the given `MIDIFile` was exported at.
119+
Return the QPM (quarter notes per minute) where the given `MIDIFile` was exported at.
120120
Returns 120 if not found.
121121
"""
122122
function qpm(t::MIDI.MIDIFile)
@@ -189,9 +189,9 @@ Return the BPM where the given `MIDIFile` was exported at.
189189
Returns 120 if not found.
190190
"""
191191
function BPM(t::MIDI.MIDIFile)
192-
@warn "This function is deprecated.
192+
@warn """This function is deprecated.
193193
It returns quarter notes per minute instead of beats per minute.
194-
Please use `bpm` for beats per minute and `qpm` for quarter notes per minute."
194+
Please use `bpm` for beats per minute and `qpm` for quarter notes per minute."""
195195

196196
# META-event list:
197197
tttttt = Vector{UInt32}()

0 commit comments

Comments
 (0)