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(); }
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(); }