static void Main(string[] args) { Console.WriteLine("MUSIQ"); Intonation root = Intonation.Unknown; while (root == Intonation.Unknown) { root = GetRoot(); } Console.Clear(); Scale scale = Scale.Unknown; while (scale == Scale.Unknown) { scale = GetScale(); } Console.Clear(); var key = new Key(root, scale, ModeBuilder.Create(scale)); Console.WriteLine(key); Console.WriteLine("Press a key to go away..."); Console.ReadKey(); }
public void Update() { if (Root is null) { return; } if (Scale is null) { return; } Key = new Key(Root.Value, Scale.Value, ModeBuilder.Create(Scale.Value)); }