| clearSong {ProTrackR} | R Documentation |
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 |
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
Other module.operations:
PTModule-class,
appendPattern(),
clearSamples(),
deletePattern(),
fix.PTModule(),
modToWave(),
moduleSize(),
patternLength(),
patternOrderLength(),
patternOrder(),
playMod(),
playingtable(),
rawToPTModule(),
read.module(),
trackerFlag(),
write.module()
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)
[Package ProTrackR version 0.4.3 Index]