Interface NoteOptions

Options available for a Note.

interface NoteOptions {
    key?: number;
    panning?: number;
    pitch?: number;
    velocity?: number;
}

Properties

key?: number

Key of the note block.

From 0 to 87. 33 to 57 is within the 2-octave limit.

panning?: number

Stereo position of the note block.

From -100 to 100.

pitch?: number

Fine pitch of the note block.

The max in Note Block Studio is limited to -1200 and +1200.

velocity?: number

Velocity (volume) of the note block.

From 0% to 100%.