Ejemplo n.º 1
0
 public D_Note(NoteLevel level, int length, NoteTie note_tie = NoteTie.none, int octave = 1,
               NoteAlteration alteration = NoteAlteration.none, bool is_rest            = false)
 {
     this.level           = level;
     this.length          = length;
     this.octave          = octave;
     this.alteration      = alteration;
     this.is_rest         = is_rest;
     this.length_modifier = has_length_modifier(length);
     this.note_tie        = note_tie;
 }
Ejemplo n.º 2
0
 static NoteTieType getNoteTie(NoteTie tie)
 {
     return(note_ties[tie]);
 }