Open 'ModPlug' Tracker Port

Tracker music uses audio samples and pattern tables to organise musical compositions. Such music is stored in module files. This package reads, renders and plays module files using the 'libopenmpt' library < https://lib.openmpt.org/>.


openmpt

R-CMD-check openmpt statusbadge

codecov

logo

A libopenmpt port for R. It reads, plays and converts Open ModPlug Tracker music. It supports a wide range of music file formats.

Installation

Install latest developmental version from R-Universe:

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

On Debian/Ubuntu you need to install the developer version of libopenmpt and portaudio first:

sudo apt-get install libopenmpt-dev portaudio19-dev

And on Fedora you need:

sudo dnf install libopenmpt-devel portaudio-devel

On RHEL/CentOS/RockyLinux you first need to enable EPEL:

yum install -y epel-release
sudo yum install libopenmpt-dev portaudio19-dev

Example

You only need 3 lines of code to load the library, read a module and play it:

library(openmpt)

mod <- read_mod(system.file("cyberrid", "cyberrid.mod", package = "openmpt"))

play(mod)

Code of Conduct

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

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("openmpt")

0.1.4 by Pepijn de Vries, 2 years ago


https://pepijn-devries.github.io/openmpt/, https://github.com/pepijn-devries/openmpt, https://lib.openmpt.org/


Report a bug at https://github.com/pepijn-devries/openmpt/issues


Browse source code at https://github.com/cran/openmpt


Authors: Pepijn de Vries [aut, cre] , Jeroen Ooms [ctb] , Jester [cph, dtc] (Copyright holder of cyberrid.mod) , OpenMPT Project Developers and Contributors [cph]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports av

Suggests httr2, kableExtra, knitr, rmarkdown, testthat, xml2

Linking to cpp11

System requirements: openmpt: libopenmpt-devel (rpm) or libopenmpt-dev (deb), portaudio-devel (rpm) or portaudio19-dev (deb).


See at CRAN