trackerFlag | R Documentation |
Method to obtain a tracker flag, which indicates the version compatibility
of a ProTracker module (PTModule
object).
## S4 method for signature 'PTModule'
trackerFlag(x)
## S4 replacement method for signature 'PTModule'
trackerFlag(x) <- value
x |
A |
value |
A |
ProTrackR supports two tracker flags: "M.K."
and "M!K!
". M.K.
are presumably the initials of programmers Mahony and Kaktus, unfortunately
documentation on this matter is ambiguous. In any case, modules with the
flag "M.K."
can hold up to 64 patterns, whereas modules with the flag
"M!K!"
can hold up to 100 patterns. Use this method to obtain or
replace the tracker flag of a PTModule
.
For trackerFlag
, the tracker flag of object x
is returned.
For trackerFlag<-
, a copy of object x
with an updated tracker
flag is returned.
Pepijn de Vries
Other module.operations:
PTModule-class
,
appendPattern()
,
clearSamples()
,
clearSong()
,
deletePattern()
,
fix.PTModule()
,
modToWave()
,
moduleSize()
,
patternLength()
,
patternOrderLength()
,
patternOrder()
,
playMod()
,
playingtable()
,
rawToPTModule()
,
read.module()
,
write.module()
data("mod.intro")
## the current trackerFlag of mod.intro is "M.K.",
## meaning that it can hold a maximum of 64 patterns:
trackerFlag(mod.intro)
patternOrder(mod.intro, full = TRUE) <- 0:63
## If we upgrade the trackerFlag of mod.intro to "M!K!"
## it can hold a maximum of 100 patterns!:
trackerFlag(mod.intro) <- "M!K!"
patternOrder(mod.intro, full = TRUE) <- 0:99
## Now let's do something dangerous:
## current flag is "M!K!", by setting it
## back to "M.K.", patterns 65:100 are lost...
trackerFlag(mod.intro) <- "M.K."
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.