cond_transpose: transpose above with octave when below certain note

cond_transposeR Documentation

transpose above with octave when below certain note

Description

Useful for e.g. guitar where e (or d) is the lowest note

Usage

cond_transpose(notes, lowest = "e,", numeric = F)

Arguments

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" )

Value

transposed piece of music

Examples

## 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)

HanOostdijk/tabraux documentation built on Nov. 17, 2022, 3:02 a.m.