Class: DrumBlock

DrumBlock(id, track)

A DrumBlock is a set of NB_WORD_PER_DRUM_BLOCK that belongs to a DrumTrack

Constructor

new DrumBlock(id, track)

constructs a new DrumBlock
Parameters:
Name Type Description
id the ID of this block
track the track to which this block is attached
Source:

Methods

getWord(id)

Returns the word corresponding to the id
Parameters:
Name Type Description
id from 0 to 15
Source:

setContent(hexCode)

Set the Word's content with hex values
Parameters:
Name Type Description
hexCode a String that represents the new hex values of this Word
Source: