Get names of elements in an openmpt class object. Use get_metadata() to get a module's name.

get_instrument_names(mod, ...)

get_sample_names(mod, ...)

get_channel_names(mod, ...)

get_pattern_names(mod, ...)

get_order_names(mod, ...)

get_subsong_names(mod, ...)

Arguments

mod

A tracker module object of class openmpt.

...

Ignored

Value

A vector of strings with names

Examples

mod <- demo_mod()
get_subsong_names(mod)
#>  [1] "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
#> [26] "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
#> [51] "" "" "" "" "" "" "" "" "" "" ""
get_channel_names(mod)
#> [1] "" "" "" ""
get_pattern_names(mod)
#>  [1] "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
#> [26] "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
get_order_names(mod)
#>  [1] "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
#> [26] "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
#> [51] "" "" "" "" "" "" "" "" "" "" ""
get_instrument_names(mod)
#> character(0)
get_sample_names(mod)[1:8]
#> [1] " fuelling & ignition"            "[-]      by       [-]"          
#> [3] "[-] jester/sanity [-]"           "/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/"
#> [5] "  so if it all ends"             " tomorrow, i've seen"           
#> [7] " what it's like, and"            "i've had a good ride."