delay_time | R Documentation |
Calculates delay and reverb time in milliseconds given tempo in beats per minute (BPM) and delay/reverb time in note duration
delay_time(
bpm = 120,
note = c("2", "1", "1/2", "1/2T", "1/4D", "1/4", "1/4T", "1/8D", "1/8", "1/8T",
"1/16D", "1/16", "1/16T", "1/32D", "1/32", "1/32T"),
verbose = TRUE
)
bpm |
Integer: Beats per minute. Default = 120 |
note |
Character: Delay/Reverb time in note duration: "2", "1", "1/2", "1/2T", "1/4D", "1/4", "1/4T", "1/8D", "1/8", "1/8T", "1/16D", "1/16", "1/16T", "1/32D", "1/32", "1/32T". "2" means a double note, "1" a whole, and so on. "T" denotes a triple note, "D" denotes a dotted note. Case insensitive. Default = "1/4" (quarter note) |
verbose |
Logical: If TRUE print message to console |
This function originally appeared in the rtemis
package
Delay time, invisibly
E.D. Gennatas
delay_time(120, "1/8")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.