toSixteenthNth method
Resolves the Timing.nth value as a NoteType.sixteenth note
Implementation
int toSixteenthNth() {
if (nth == 1) {
return 1;
} else {
return (16 ~/ type.notesPerMeasure()) * (nth - 1) + 1;
}
}
Resolves the Timing.nth value as a NoteType.sixteenth note
int toSixteenthNth() {
if (nth == 1) {
return 1;
} else {
return (16 ~/ type.notesPerMeasure()) * (nth - 1) + 1;
}
}