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