Class weasel.MKPatternCell
Defined in: MKPatternCell.js.
Constructor Attributes | Constructor Name and Description |
---|---|
weasel.MKPatternCell(iPatternCellData)
Object to contain a single cell of M.K.
|
Method Attributes | Method Name and Description |
---|---|
setCell(iPatternCellData)
Set the pattern cell data for this M.K.
|
Class Detail
weasel.MKPatternCell(iPatternCellData)
Object to contain a single cell of M.K. 31 instrument Soundtracker pattern
data (4 cells per pattern row). Differs from a Ultimate Soundtracker pattern cell
in that the note period is limited to 12 bits and the instrument number is 8 bits in size
Author: Warren Willmey 2012.
Author: Warren Willmey 2012.
- Parameters:
- {int} iPatternCellData
- = The pattern cell data as a 32bit integer which takes the form innniedd, n = note, i = instrument number, e = effect number, d = effect data.
Method Detail
setCell(iPatternCellData)
Set the pattern cell data for this M.K. 31 instrument Soundtracker cell.
- Parameters:
- {int} iPatternCellData
- = In format of 0x12345678 where: , 0x1 = upper nibble of the instrument number, actually just uses bit 4 as max of 31 instruments 0x234 = note period value , 0x5 = lower nibble of the instrument number , 0x6 = effect number , 0x78 = effect parameter.