public class NoteItem extends TimedItem
Modifier and Type | Field and Description |
---|---|
int |
accidentals
any accidentals defined ie +1 = 1 sharp, -1 = 1 flat etc.
|
boolean |
grace
true if this is a grace note
|
boolean |
ischord
True if this is a chord note (not set for first note of chord)
|
int |
midipitch
The MIDI pitch of this note ie 60 = C4; 0 => rest
|
int[] |
notations
Array of notations - NotationsType_tied,NotationsType_slur..
|
static int |
NotationsType_accidental_mark |
static int |
NotationsType_arpeggiate |
static int |
NotationsType_articulations |
static int |
NotationsType_dynamics |
static int |
NotationsType_fermata |
static int |
NotationsType_glissando |
static int |
NotationsType_non_arpeggiate |
static int |
NotationsType_ornaments |
static int |
NotationsType_other |
static int |
NotationsType_slide |
static int |
NotationsType_slur |
static int |
NotationsType_technical |
static int |
NotationsType_tied |
static int |
NotationsType_tuplet |
static int |
NotationsType_unknown |
static int |
NotationsType_unset
define types of notation
|
int |
noteType
The value of the note 2 = minim, 4 = crochet etc.
|
int |
numdots
number of dots - 1 if dotted, 2 if double-dotted
|
Tied |
tied
If this is a tied note this contains information about the tie - else null
|
item_h, ItemType_barline, ItemType_clef, ItemType_direction, ItemType_harmony, ItemType_keysig, ItemType_noitem, ItemType_note, ItemType_rest, ItemType_sound, ItemType_timesig, ItemType_unknown, staff, type
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public static final int NotationsType_unset
public static final int NotationsType_tied
public static final int NotationsType_slur
public static final int NotationsType_tuplet
public static final int NotationsType_glissando
public static final int NotationsType_slide
public static final int NotationsType_ornaments
public static final int NotationsType_technical
public static final int NotationsType_articulations
public static final int NotationsType_dynamics
public static final int NotationsType_fermata
public static final int NotationsType_arpeggiate
public static final int NotationsType_non_arpeggiate
public static final int NotationsType_accidental_mark
public static final int NotationsType_other
public static final int NotationsType_unknown
public final int midipitch
public final int noteType
public final int numdots
public final int accidentals
public final boolean ischord
public final int[] notations
public final Tied tied
public final boolean grace