Skip to contents

ProTracker is music sequencer software from the 1990s on the Commodore Amiga (see screenshot of version 2.3a on the right). The R package ProTrackR2 is the successor of ProTrackR. It can be used to play and manipulate ProTracker module music.

Installation

You can install the development version of ProTrackR2 from r-universe with:

install.packages("ProTrackR2", repos = c("https://pepijn-devries.r-universe.dev", "https://cloud.r-project.org"))

ProTracker2.3d clone

ProTracker 2.3a

The ProTrackR2 package essentially provides an R entry point into the ProTracker2.3d clone by Olav Sørensen (A.K.A. 8bitbubsy) and other contributors (source code). For this purpose, I took the code by Sørensen and stripped away the graphical user interface (GUI) and access to the audio device. Next I added R bindings to access functionality to read, write, manipulate and render ProTracker modules. This allows you to process such modules with R scripts and in batches. If you wish to use the the GUI I suggest to visit one of the links above and check out the work of Olav Sørensen.

The work by Olav Sørensen is gratefully acknowledged here, without which this package would have not been possible.

Example

The example below shows how to load a ProTracker module file and play it in R:

library(ProTrackR2)

mod <- pt2_read_mod("https://api.modarchive.org/downloads.php?moduleid=41529#elektric_funk.mod")

play(mod)

Code of Conduct

Please note that the ProTrackR2 project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.