Functions to read and write ProTracker module. The read function will read a number of mod files that are compatible with ProTracker, this includes files compressed with PowerPacker (PP). The write function will only write modules conform ProTracker specifications.
Value
pt2_read_mod()
returns a pt2mod
class object when successful.
pt_write_mod()
returns NULL
invisibly.
Examples
mod <- pt2_read_mod(pt2_demo())