Several methods are implemented for the classes noteworthy, noteinfo, and music. See tabr-methods() for more details on methods for tabr classes.

# S3 method for noteworthy
rev(x)

# S3 method for noteinfo
rev(x)

# S3 method for music
rev(x)

# S3 method for lyrics
rev(x)

Arguments

x

object.

Examples

# noteworthy class examples
x <- "a b c"
rev(x)
#> [1] "a b c"
rev(as_noteworthy(x))
#> <Noteworthy string>
#>   Format: space-delimited time
#>   Values: c b a

# noteinfo class examples
x <- "4x 4-.*2 2"
rev(as_noteinfo(x))
#> <Note info string>
#>   Format: space-delimited time
#>   Values: 2 4-. 4-. 4x

# music class examples
x <- "c,~4 c,1 c'e_'g'4-."
rev(as_music(x))
#> <Music string>
#>   Format: space-delimited time
#>   Values: <c'e_'g'>4-. c,1 c,~4