cond_transpose | R Documentation |
Useful for e.g. guitar where e (or d) is the lowest note
cond_transpose(notes, lowest = "e,", numeric = F)
notes |
character string with notes |
lowest |
lowest note that will not be transposed |
numeric |
boolean indicating (if TRUE that octaves are indicated with numbers "c" identical to "c3" ) |
transposed piece of music
## Not run: cond_transpose("c, d, e, f,") # [1] "c d e, f," cond_transpose("c, d, e, f,",lowest='d,') # [1] "c d, e, f," cond_transpose("d4 a3 g#4 ^1 a3b3f4",lowest='d4',numeric=T) # [1] "d4 a4 g#4 ^1 a4b4f4" ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.