private List <int> SimplifyDurations(List <int> durations)
        {
            var patty = new RythmPattern(durations);

            return(patty.RelativeDurations);
        }
 public MelodyPattern(PitchPattern pitchPattern, RythmPattern rythmPattern) :
     this(pitchPattern.DeltaPitches, rythmPattern.RelativeDurations)
 {
 }