public List <Length> genTupletLengths(CommandSelections selections) { var lengths = new List <Length>(); foreach (Chord chord in Chords) { lengths.Add(TupleLength.createInstance(chord.Length.NoteType, Type)); } return(lengths); }
public static Length createInstance(NoteLength length, TupletType type) { if (type != TupletType.None) { return(TupleLength.createInstance(length, type)); } else { return(createInstance(length)); } }