예제 #1
0
 public void SetAllPlayed()
 {
     Notes.ForEach(x => x.Played = true);
 }
예제 #2
0
 public bool IsAllPlayed()
 {
     return(Notes.All(x => x.Played));
 }
예제 #3
0
 public int DistanceToMidPointAbs(Clef clef)
 {
     return(DistanceToAbs(Notes.Midpoint(clef), clef));
 }
예제 #4
0
 public Relation RelationToMidpoint(Clef clef)
 {
     return(RelationTo(Notes.Midpoint(clef), clef));
 }
예제 #5
0
        public Note OctaveDown(Clef clef)
        {
            var notes = Notes.NotesInClef(clef);

            return(notes.Skip(notes.IndexOf(this) - 8).FirstOrDefault());
        }
예제 #6
0
        public NoteViewModel Lowest(Clef clef)
        {
            var group = Music.Notes.NotesInClef(clef);

            return(Notes.OrderBy(x => group.IndexOf(x.Note)).First());
        }