Renders a module tracker object of class openmpt and plays it instantaneously.

play(mod, sample_rate = 44100L, progress = "vu", ...)

Arguments

mod

A tracker module object of class openmpt.

sample_rate

Output sample rate when playing the module.

progress

Progress printed to console while playing. Should be one of "vu" (indicative volume meter), "time" (shows timer) or "none" (don't show progress). If your audio is stuttering you might want to set this to "none" to save processing speed.

...

Ignored

Value

Returns NULL invisibly.

Examples

if (FALSE) { # \dontrun{
mod <- demo_mod()
play(mod)
} # }