R/info.R
get_duration_seconds.Rd
Get the duration of the song from a openmpt class module object in seconds.
openmpt
get_duration_seconds(mod, ...)
A tracker module object of class openmpt.
Ignored
Returns a numeric value indicating the song duration in seconds.
numeric
mod <- demo_mod() get_duration_seconds(mod) #> [1] 288.82