clearSong | R Documentation |
Remove all patterns (PTPattern
) and patternOrder
info from a PTModule
object.
## S4 method for signature 'PTModule'
clearSong(mod)
mod |
A |
Conform the original ProTracker, this method removes all patterns
(PTPattern
) and patternOrder
info from a module. You keep the audio PTSample
s.
Returns a copy of object mod
in which all pattern (order)
info is removed.
Pepijn de Vries
Other module.operations:
PTModule-class
,
appendPattern()
,
clearSamples()
,
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
## pattern (order) info. It still has the audio samples.
clear.mod <- clearSong(mod.intro)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.