示例#1
0
 public ChromaticNotesViewModel()
 {
     OneOctave  = new string[] { "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B" };
     TwoOctaves = new string[] { "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B",
                                 "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B" };
     cNotesObject = new Models.ChromaticNotes();
 }
示例#2
0
        public ScaleBase(string name, Note rootNote, ScaleFamily scaleFamily, ScaleFamilyMode mode)
        {
            Name        = name;
            RootNote    = rootNote;
            ScaleFamily = scaleFamily;
            Mode        = mode;

            ChromaticNotes = GetChromaticNotes();

            Notes = ChromaticNotes.Where(x => x.IsPresent).ToArray();
        }