Skip to contents

All functions

as_modplug_pattern()
Format a ProTracker pattern conform OpenMPT specs
as_pt2cell() as_pt2celllist()
Convert object into a pt2cell or pt2celllist class object
effect_commands
Effect commands (data.frame)
pt2_length() `pt2_length<-`() pt2_n_pattern() pt2_pattern_table() `pt2_pattern_table<-`() pt2_name() `pt2_name<-`() pt2_n_sample()
Obtain ProTracker module information
pt2_read_mod() pt2_write_mod()
Read and write ProTracker modules
play(<pt2mod>) play(<pt2samp>) play(<pt2patlist>) play(<pt2pat>) play(<pt2celllist>) play(<pt2cell>)
Play a ProTrackR2 class objects as audio
pt2_cell()
Select a cell from a ProTracker pattern table
pt2_command() `pt2_command<-`()
Extract effect commands from a ProTracker module
pt2_demo()
Path to demonstration ProTracker module file
pt2_duration()
Calculate the duration of the module
pt2_instrument() `pt2_instrument<-`()
Extract or replace a sample index from a ProTracker pattern
pt2_new_mod()
Create a new (empty) ProTracker module
pt2_new_pattern() deprecated
Create a new ProTracker pattern
pt2_note() `pt2_note<-`()
Extract a note from a ProTracker module
pt2_note_to_period()
Get a corresponding period value from a note string
pt2_pattern()
Create or retrieve a pattern from a ProTracker module
pt2_render()
Render ProTracker modules and other objects to a playable format
pt2_render_options()
Retrieve options for rendering
pt2_sample()
Obtain sample data and info from a ProTracker module
pt2_sample_to_audio()
Coerce ProTracker sample to audio sample
pt2_validate()
Validate ProTrackR2 S3 class objects
format(<pt2mod>) print(<pt2mod>) format(<pt2pat>) as.character(<pt2command>) format(<pt2command>) print(<pt2command>) print(<pt2pat>) as.character(<pt2pat>) as.raw(<pt2celllist>) as.raw.pt2celllist(<logical>) as.raw(<pt2pat>) as.raw.pt2pat(<logical>) format(<pt2cell>) print(<pt2cell>) as.character(<pt2cell>) as.character(<pt2celllist>) as.raw(<pt2command>) as.raw(<pt2cell>) as.raw.pt2cell(<logical>) format(<pt2samp>) print(<pt2samp>) format(<pt2patlist>) print(<pt2patlist>) format(<pt2celllist>) print(<pt2celllist>) format(<pt2samplist>) print(<pt2samplist>) as.raw(<pt2mod>) as.raw(<pt2samp>) as.integer(<pt2samp>) length(<pt2celllist>) length(<pt2command>)
Implementation of basic S3 methods
pt2_read_sample() pt2_write_sample()
Read and write ProTracker audio samples
pt2_finetune() `pt2_finetune<-`() pt2_volume() `pt2_volume<-`() pt2_loop_start() `pt2_loop_start<-`() pt2_loop_length() `pt2_loop_length<-`() pt2_is_looped() `pt2_is_looped<-`()
Get or set ProTracker sample properties
`$`(<pt2mod>) `$<-`(<pt2mod>) `[[<-`(<pt2mod>) `[[`(<pt2mod>) `[`(<pt2patlist>) `[[`(<pt2patlist>) `[[<-`(<pt2patlist>) `[`(<pt2samplist>) `[[`(<pt2samplist>) `[[<-`(<pt2samplist>) `[[`(<pt2pat>) `[[<-`(<pt2pat>) `[`(<pt2pat>) `[<-`(<pt2pat>) `[[<-`(<pt2celllist>) `[<-`(<pt2celllist>) `[[`(<pt2celllist>) `[`(<pt2celllist>) `[[`(<pt2command>) `[`(<pt2command>) `[[<-`(<pt2command>) `[<-`(<pt2command>)
Select and assign operators for ProTrackR2 S3 class objects