Esempio n. 1
0
 public Note(int noteIndex, int octaveIndex)
 {
     _id          = NoteStringHelper.GetNoteId(noteIndex, octaveIndex);
     _name        = NoteStringHelper.GetNoteName(noteIndex, octaveIndex);
     _noteIndex   = noteIndex;
     _octaveIndex = octaveIndex;
 }
Esempio n. 2
0
 public Note(int id)
 {
     _id          = id;
     _name        = NoteStringHelper.GetNoteName(id);
     _noteIndex   = NoteStringHelper.GetNoteIndex(id);
     _octaveIndex = NoteStringHelper.GetOctaveIndex(id);
 }