Measure-info too long for max-message

Discussions, advice, bug reports and much more about the "bach" environment.
Post Reply
principe7613
Posts: 15
Joined: Mon Jun 29, 2015 9:48 am

Measure-info too long for max-message

Post by principe7613 » Sat Mar 09, 2019 9:37 pm

Hi guys,

I'm a bit stuck.. I have made somewhat complex quantisation of a short fragment, only one voice. Since it contains quite some tempo-changes, it's already a decent llll.
Now, what I want to do, is to take it's measure-info, and 'apply' it to a pre-formatted ensemble-score-template (a bach-score llll with additional slot-shortcuts, certain formatting and about 27 voices).
I'm unable to find the right parentheses to apply this for all the voices at once. I've gone through all the info in the overview, but I always get 'bad llll'-errors or 'wrong time-signature'-errors.. so something tells me it has to do with where to add/delete the additional parentheses...

I also tried to do it the 'stupid' way, and just copy-past the single-voice-measure-info 27 times, but it's so long that it then gives a max-error that the message is too long, and it automatically trims it to "maximum allowed" message-length...

I'm going to need this procedure frequently in the next months for the project I'm working on, so I was wondering how to format the m-info-llll correctly so it applies to all the voices...

Here is the one-voice llll:
( ( ( 6 4 ) ( ( 1/4 72 0 1 ) ( 1/4 78 1 1 ) ) ) ( ( 6 4 ) ( ( 1/4 70 0 1 ) ( 1/4 52 1/2 1 ) ( 1/4 57 1 1 ) ) ) ( ( 4 4 ) ( ( 1/4 66 0 1 ) ( 1/4 73 1/2 1 ) ) ) ( ( 4 4 ) ( ( 1/4 76 0 1 ) ( 1/4 60 1/2 1 ) ) ) ( ( 4 4 ) ( ( 1/4 84 0 1 ) ) ) ( ( 4 4 ) ( ( 1/4 75 0 1 ) ( 1/4 52 1/2 1 ) ) ) ( ( 5 4 ) ( ( 1/4 66 1/2 1 ) ) ) ( ( 6 4 ) ( ( 1/4 50 0 1 ) ) ) ( ( 6 4 ) ( ( 1/4 72 0 1 ) ) ) )

So where to cut or add parentheses to apply it to all the voices in the score?

Thanks for the help!!
All the best from Brussels,
Joost

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

Re: Measure-info too long for max-message

Post by danieleghisi » Sun Mar 10, 2019 5:08 pm

Hi,

if the issue is that your llll is too long for a max-message, there's no way you can handle it in a Max message (Max has a hard limit on list size), but you can definitely use [bach.reg] instead, even [bach.reg @embed 1]. Double click it, and you'll get an editor.

As for the llll you mention, it is a well-formatted llll, at least as far as I can test on my machine (see below).
If you still have troubles you can maybe post a patch snippet?

<pre><code>
----------begin_max5_patcher----------
428.3ociS01aBCBD9yzeED9zLw4nzWzr+JKKFZKQwnzFJ00Ei+2GbPUaUiKj
T58bOb2wwycJBQJp6EsD7m3uvHzoHDBfb.nfMhbf2Wtm2BzHJwO0E6Hy8tLh
dC.WvK2tnQKUlAWxJvgk76ICXptCR0dgABUb.rgaJ2JUaVqEkFeoDyhWPmiY
zL2Vt2fsfh+9Zfp6LCQhFPa4GEUqsYzFn0biQKK5L9qG5x0AQNJzsxZkMFEB
sy4JJkl.NOGEM78bz7+YK4fnskuQbWO4MrakiSwyf+h+HEujgo3X..LWYMbl
yBblvlNhcFytwtEX4jimN5344iSVxki+X9KGyOm9B9qRC7eR3xdV0OvOaZ4N
kv31QFcR9dRuEVCOG6kJQYcmBdSxBfdwi42FgWvQHWjV2naYOT2xdotMll61
RYItsk4OU3FeiZCn.U6j4QHON7wRv15Nc4P4GpV70DUIZMRE2XE52vIwy4tz
xaZBSEPRbovpw2U6GOlClRk2Dl1HZwQ4.eniP3Za6vX6EcZnrH84oD+QqqDZ
UmLbksSV1TByOJtc3og6uGvXVz4n+jDu3qA
-----------end_max5_patcher-----------
</code></pre>

principe7613
Posts: 15
Joined: Mon Jun 29, 2015 9:48 am

Re: Measure-info too long for max-message

Post by principe7613 » Mon Mar 11, 2019 10:36 am

Hi Daniele,

bach.reg was the perfect solution!
Thanks so much, everything working now!

All the best,
Joost

Post Reply