Subdivision length does not neatly subdivide beat

here is my code:

dur_list=[1.0, 0.5, 0.5, 0.75, 0.75, 1.5, 1.5, 0.75, 0.75, 1.0, 1.25]
time_sig_list=[‘7/8’, ‘15/16’, ‘3/4’]
s = Session()
piano1 = s.new_part(“Piano1”)
s.start_transcribing()
for d in dur_list:
piano1.play_note(67, 1, d)
s.wait_for_children_to_finish()
performance = s.stop_transcribing()
performance.to_score(time_signature=time_sig_list, simplicity_preference=2).export_music_xml(“xxl.xml”)

I get an error related to subdivision.
What do I miss here?

It seems you have found a bug! I’ll look into it; probably shouldn’t be too hard to solve. The issue is something internal with how SCAMP processes 15/16 time.

1 Like

Thanks Marc.
I hope you find the solution very quickly

Update: I found the solution. I’m coming out with an update soon, and it’ll fix this :slight_smile:

I’m looking forward to it. Music is waiting to be written down :slight_smile: