bpm2sec | R Documentation |
Functions for translating between durations (in seconds) and tempos—expressed as BPM (beats-per-minute).
The "beats" in beats-per-minute are specified using the unit
argument;
unit
defaults to .25
(a quarter-note), as is conventional.
bpm2sec(BPM, unit = 0.25)
sec2bpm(sec, unit = 0.25)
bpm2ms(BPM, unit = 0.25)
ms2bpm(ms, unit = 0.25)
BPM |
The tempo. Defaults to Must be a number or a By default, with(in).humdrumR passes the |
unit |
The "Beat" in BPM. Defaults to a quarter-note. Must be a value which can be interpreted as rhythmic duration. |
The pairs of functions involving ms
(milliseconds) and sec
(seconds), are identical except
for the change of scale between seconds and milliseconds.
Other time functions:
time()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.