Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

clearSong

Clear all pattern info from module


Description

Remove all patterns (PTPattern) and patternOrder info from a PTModule object.

Usage

## S4 method for signature 'PTModule'
clearSong(mod)

Arguments

mod

A PTModule object from which all pattern (order) info needs to be removed.

Details

Conform the original ProTracker, this method removes all patterns (PTPattern) and patternOrder info from a module. You keep the audio PTSamples.

Value

Returns a copy of object mod in which all pattern (order) info is removed.

Author(s)

Pepijn de Vries

See Also

Examples

data(mod.intro)

## 'clear.mod' is a copy of 'mod.intro' without the
## pattern (order) info. It still has the audio samples.
clear.mod <- clearSong(mod.intro)

ProTrackR

Manipulate and Play 'ProTracker' Modules

v0.3.7
GPL-3
Authors
Pepijn de Vries [aut, cre, dtc]
Initial release
2020-02-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.