omtree2bachtree bug or feature?

Discussions, advice, bug reports and much more about the "bach" environment.
Post Reply
Julien_Vincenot
Posts: 36
Joined: Fri Apr 26, 2013 8:01 am

omtree2bachtree bug or feature?

Post by Julien_Vincenot » Sat Oct 21, 2023 11:06 am

Hello,

One of my student came to ask me how to reproduce some examples from Ferneyhough based on the proportional tree notation from the old PatchWork / OM / PWGL days.

I directed him towards omtree2bachtree (with all the precautions about how bach behaves differently from those)
but still we couldn't wrap our head around some cases. Especially when setting up a (3 8) time signature, or bigger than (4 4), the splitting of the bar would not work as I expect, or produce results with values bigger than the bar.
I'm not 100% sure since I didn't use those much in a while, but in my memory in PWGL you could split any bar with a same pattern and obtain the same amount of beats, correct?
test.jpg
test.jpg (217.38 KiB) Viewed 53819 times
Also, makes me think of a feature request : would it be imaginable to have the "split" message accept a pattern of divisions instead of standard division by a single number 2, 3, 4 etc. ? For instance here we could use split 7 6 3 on the initial 3/8 value, then keep splitting resulting values.

Thanks !

Julien


<pre><code>
----------begin_max5_patcher----------
1968.3oc6b01aihCD9yo+JP74t8v175ocOo62QTUjCwIgs.NBbZZuU6+8arM
j.ASZRnM6d8fz.DaiGOOyiGyPw9G2MwdN+EVos0eZM0Zxjeb2jIpjjILo52S
rynuDmRKUEyNiUVRWwruWmmf8hPk9TKOKWqGg5IvZJxBagzed7w5htgJhWmj
uZVAKVnEI16g.2nnH3KA6DERht2B4F8fCbffkGvvdqGqpg7sYI4oLgpkfqRL
YgR974e+KnP6CkjuUTWTTUp5jDutgoEuss0ixb94c2I2c+fg.2JHno9eB0G4
UoptpCnnKWi8uIZbLOKikK5nwe8ae6DpGIx6gH4lePHniQnPLndNNRsjn1ic
5SWQFzUOy5py6pIjXEVwh8gyOI4MJ7ABr45365FR7cw96UuH+K2TR9c1TBcJ
ChP9ANDL1ELjHBPXCHWqoDeKMk5dhmzT5Gn5ApUnvqvyiyMw3ky1ARqipNmF
u9gMz3mrvus2Fr1aiVU6WIMX07tbcrJqR5yrEyf5.ZLynBQQx7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code></pre>
--
Julien Vincenot
creator of the MOZ'Lib package

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

Re: omtree2bachtree bug or feature?

Post by danieleghisi » Tue Oct 24, 2023 7:24 pm

Hello, indeed this looks weird. It's a bad bug. Fixed for next release.
(that said, I usually achieve Ferneyhough-like rotations with bach.flat -> bach.rot -> bach.reshape)

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

Re: omtree2bachtree bug or feature?

Post by danieleghisi » Tue Oct 24, 2023 7:27 pm

As for the split message, what you want is a different kind of splitting: split 3 splits in 3 parts (3 = number of parts); split 3 4 would split in TWO parts, with proportions 3:4. I guess it must be another message instead.

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

Re: omtree2bachtree bug or feature?

Post by danieleghisi » Tue Oct 24, 2023 10:38 pm

Finally I've settled on
split @proportions 1 3 4
which feels quite natural. It'll be in next whatever!

Julien_Vincenot
Posts: 36
Joined: Fri Apr 26, 2013 8:01 am

Re: omtree2bachtree bug or feature?

Post by Julien_Vincenot » Wed Oct 25, 2023 5:03 am

Thanks Daniele that looks fantastic, I'm looking forward to it !
Indeed @proportions is a good choice I think, to make the distinction.

Also thank you for mentioning bach.reshape, I discovered it only recently but forgot its name.
I think it instantly made it in my top favorite of bach objects ever…! 😆
--
Julien Vincenot
creator of the MOZ'Lib package

Julien_Vincenot
Posts: 36
Joined: Fri Apr 26, 2013 8:01 am

Re: omtree2bachtree bug or feature?

Post by Julien_Vincenot » Wed Oct 25, 2023 7:45 pm

I think half the problem is not what I expected.
Somehow I never realized working with bach.score that tuplets that are multiple of 2 cannot be recognized as tuplets,
unlike what was possible in the PW(OM)GL family.

What someone in a rather old post was calling a binary tuplet :
viewtopic.php?f=2&t=401&p=1435&hilit=bi ... lets#p1435

Is there any change on that front since 2016 (hidden option to force the old PW(OM)GL behavior perhaps), or is this distinction still deeply ingrained in bach.score?
--
Julien Vincenot
creator of the MOZ'Lib package

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

Re: omtree2bachtree bug or feature?

Post by danieleghisi » Wed Oct 25, 2023 9:36 pm

Ah, I see: you'd like to have 2-in-the-space-of-3 marked as a tuplet, right?
No this is still not possible right now. 2-in-the-space-of-3 quarters can be written as dotted quarters, and that's how bach writes them.
I see no easy way on the spot to mark them as |-----2------|, then. Sorry...

Julien_Vincenot
Posts: 36
Joined: Fri Apr 26, 2013 8:01 am

Re: omtree2bachtree bug or feature?

Post by Julien_Vincenot » Thu Oct 26, 2023 3:45 pm

It's ok, good to know at least that's how it is !

I guess people who still rely heavily on the old style display could still export the tree notation in OM
before exporting to Finale or Dorico, if needed.
--
Julien Vincenot
creator of the MOZ'Lib package

Post Reply