
Last chance! 50% off unlimited learning
Sale ends in
Remove all PTSample
s from a PTModule
object.
# S4 method for PTModule
clearSamples(mod)
Returns a copy of object mod
in which all samples are removed.
A PTModule
object from which all samples needs
to be removed.
Pepijn de Vries
Conform the original ProTracker, this method removes all patterns
PTSample
s from a module. You keep all patterns
(PTPattern
) and patternOrder
info.
Other module.operations:
PTModule-class
,
appendPattern()
,
clearSong()
,
deletePattern()
,
fix.PTModule()
,
modToWave()
,
moduleSize()
,
patternLength()
,
patternOrderLength()
,
patternOrder()
,
playMod()
,
playingtable()
,
rawToPTModule()
,
read.module()
,
trackerFlag()
,
write.module()
data(mod.intro)
## 'clear.mod' is a copy of 'mod.intro' without the
## samples. It still holds all pattern tables and
## pattern order info.
clear.mod <- clearSamples(mod.intro)
Run the code above in your browser using DataLab