예제 #1
0
 public Song(Music.Key key, int[] pitches, double[] durations)
     : this(key, pitches.Select(p => Music.Pitch.OfInt(p)).ToList(),
            durations.Select(d => Music.Duration.OfDouble(d)).ToList())
 {
 }
예제 #2
0
 public Song(Music.Key key, List <Music.Pitch> pitches, List <Music.Duration> durations)
 {
     Key       = key;
     Pitches   = pitches;
     Durations = durations;
 }