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(string name)
 {
     _id          = NoteStringHelper.GetNoteId(name);
     _name        = name;
     _noteIndex   = NoteStringHelper.GetNoteIndex(_id);
     _octaveIndex = NoteStringHelper.GetOctaveIndex(_id);
 }