The Staff.insertMeasure method is very naive and has problems. It needs to use the computed measure index to insert and handle the case where there is a repeat and you can't insert into the middle of repeated measures. You also need to be able to add a measure to the set of measures to be repeated in a repeat.
The
Staff.insertMeasure
method is very naive and has problems. It needs to use the computed measure index to insert and handle the case where there is a repeat and you can't insert into the middle of repeated measures. You also need to be able to add a measure to the set of measures to be repeated in a repeat.