public void updateNoteLength(NoteLength length) { TotalBars = getTotalBars(length); dotted = length.isDotted(); }
public static bool canSetTimeSignature(int num_beats, NoteLength beat_type) { return(num_beats >= 0 && num_beats <= 32 && beat_type != NoteLength.None && !beat_type.isDotted()); }