pt2_pattern: Create or retrieve a pattern from a ProTracker module
Description
Get a pattern table (sequence of notes and effects on each of the 4 channels) at
a specific index from a ProTracker module. If mod is missing, a new empty
pattern is created.
Usage
pt2_pattern(mod, i, ..., compact = TRUE)
Value
A pt2pat object representing the pattern.
Arguments
mod
A pt2mod class objects from which to retrieve a pattern table
i
The index (integer) of the pattern. Note that the index starts at 0.
...
Ignored
compact
Should the pattern be formatted using a compact notation (as used for
file storage), or a none-compact format as used by the player? This can be
set with the compact argument.