public void TestLongScore() { var chords = new List<Chord>(); for(int i = 0; i < 200; i++) { chords.Add(new Chord(DurationType.Half, new List<Note> { new Note(i / 4) })); } var score = new Score(chords, 4, 4); var piano = new Piano(MinPitch, MaxPitch, score, null); }
private Score GetScore() { var chords = new List<Chord> { new Chord(DurationType.Quarter, new List<Note> { new Note(60), new Note(62) }), new Chord(DurationType.Half, new List<Note> { new Note(61) }), new Chord(DurationType.Quarter, new List<Note> { new Note(60), new Note(63), new Note(65) }) }; var ret = new Score(chords, 4, 4); return ret; }