openmpt
module at a specific order indexR/info.R
get_order_pattern.Rd
A module contains a sequence table describing the order in which to play patterns. This function returns the index of the patter at specific position in the sequence table.
get_order_pattern(mod, order, ...)
Returns the integer
index (starting at 0
) of the pattern at the
indicated order
position.
mod <- demo_mod()
get_order_pattern(mod, 3L)
#> [1] 11