예제 #1
0
        private static Note[] GetIntervalFor(Note rootNote)
        {
            var notes    = new Note[12];
            var noteNode = NoteNode.For(rootNote);

            for (int i = 0; i < 12; i++)
            {
                notes[i] = noteNode.Note;
                noteNode = NoteNode.For(noteNode.Next);
            }
            return(notes);
        }
예제 #2
0
        public Note[] PossibleNotes()
        {
            var noteNode = NoteNode.For(Tuning);
            var notes    = new Note[NumberOfFrets];

            for (int currentFret = 0; currentFret < NumberOfFrets; currentFret++)
            {
                notes[currentFret] = noteNode.Note;
                noteNode           = NoteNode.For(noteNode.Next);
            }
            return(notes);
        }