Protracker uses pattern tables to annotate music progression.
Each cell in the table contains information about the note,
sample identifier and sound effect. This function coerces objects
to pt2cell or pt2cell class objects, such that they can be inserted into
patterns.
Arguments
- x
A (
vectorof)characterstring(s), to be coerced to apt2cellclass object. The first two or three characters represent the note (seept2_note()). this is followed by two numerical characters representing the sample number. And finally three hexadecimal characters representing an effect or trigger. These three parts can optionally be padded with spaces. A valid string would for instance be"C#2 01 C1A.- ...
Ignored
Examples
as_pt2cell("A-3 02 121")
#> A-3 02 121
as_pt2cell("--- 01 000")
#> --- 01 000
as_pt2celllist(c("A-3 02 121", "--- 01 000"))
#> cell list [n=2]