Note

public void Note(int note)

Creates new note.

Parameters

note

Internal note id. getId always return this value. The value has to be in the interval [0; 24].


public void Note(int octave, Note.Tone tone, boolean sharped)

Creates new note.

Parameters

octave

The octave where the note is in. Has to be 0 - 2.

tone

The tone within the octave. If the octave is 2 the note has to be F#.

sharped

Set if the tone is sharped (e.g. for F#).