Grouping by measures

Discussions, advice, bug reports and much more about the "bach" environment.
Post Reply
fcolasanto
Posts: 6
Joined: Tue Apr 09, 2019 4:08 am

Grouping by measures

Post by fcolasanto » Tue Sep 05, 2023 8:30 pm

How could one do something simple that groups durations by time signature? For example, if the time signature is 4/4 and I have a list like this: 1/8 1/8 1/4 1/16 1/16 1/8 1/12 1/12 1/12 1/2 1/4 1/4 1/8 1/8 1/4 1/8 1/8 3/16 1/16, it should be grouped like this: [1/8 1/8 1/4 1/16 1/16 1/8 1/12 1/12 1/12] [1/2 1/4 1/4] [1/8 1/8 1/4 1/8 1/8 3/16 1/16]. But if the time signature is 3/4, it would be: [1/8 1/8 1/4 1/16 1/16 1/8] [1/12 1/12 1/12 1/2] [1/4 1/4 1/8 1/8] [1/4 1/8 1/8 3/16 1/16]. I can imagine how to do this in a somewhat complicated way, but I would like an elegant solution.

Thank you

danieleghisi
Site Admin
Posts: 1349
Joined: Fri Dec 03, 2010 1:25 pm

Re: Grouping by measures

Post by danieleghisi » Wed Sep 06, 2023 2:36 pm

Off the top of my head: bach.beatbox in separate mode! It should work fine and help you out also with possible ties etc.

fcolasanto
Posts: 6
Joined: Tue Apr 09, 2019 4:08 am

Re: Grouping by measures

Post by fcolasanto » Wed Sep 06, 2023 4:00 pm

Thanks...Dont know why I didn't think about it :-)

Post Reply