percussive event duration

Discussions, advice, bug reports and much more about the "bach" environment.
Post Reply
hackbarth
Posts: 10
Joined: Tue Jul 12, 2011 6:11 pm

percussive event duration

Post by hackbarth » Sat Aug 08, 2020 10:58 am

Hi Daniele,

As I mentioned to you last week, I'm working on a bachroll output for Audioguide at the moment. Everything _seems_ to be working pretty well (https://www.youtube.com/watch?v=pSf3GJEGzcU)! :)

However I have one question about duration as it relates to roll and score. My initial thought was that certain sounds should have 0 duration as they are percussive actions (e.g. pizzicato). But when I give a bach.roll note a 0 duration, it seems to get lost in the quantization process. Is there a way to specify a note in roll whose duration is essentially null such that, when quantized, the duration is unimportant?

Thanks!
ben

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

Re: percussive event duration

Post by danieleghisi » Sat Aug 08, 2020 11:53 am

Hi Ben, this is fantastic.

Thanks for doing this, I think a lot of people may benefit from it. (If you're up for it I can put perhaps a word in the "Project" section of the website, which is more visible than this forum. I'll write you privately) And I've just skimmed through the video, I'll watch it in full tonight :)

As for your question, I understand the point, unfortunately, a "zero duration" is a real zero duration, and currently there's no way to specify a duration that "just doesn't matter" during quantization. This is a good point, and I think I should come up with a cleaner solution in the future. For the time being, the best way of doing that, however a bit elaborate, is the one I'm posting in the patch below, hope it helps. Basically, you give some duration, you name some chords or notes as "impulsive", and then in the quantized score, you'll retrieve the "impulsive" sounds, and you remove any tie they may have. THat's not exacly what you wanted, and there's a couple of intricacies explained in the patch, but it's at least a way to avoid pizzicati with ties...

BTW, You can also have a look at @thinannotations, which in your case you may perhaps want to set to "Remove with brackets", that would perhaps make the stream of pizz. pizz. pizz... more readable?

<pre><code>
----------begin_max5_patcher----------
2850.3oc6c00bihiE84jeEpnlZS5Z83EwGF7r6rUse8v7x7GHIUJYPNVciQd
AQRmYp4+9dkDXiCB2jXBcuMjYZisjfqtGczU5Z6C92u7BqU7OSysP+D5FzEW
76WdwEphjEbQ4quvZK4yQIjbUyrh3a2RSEVyz0IneVnJOmlPiDHRRB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PzCCj
NpDB8f.oiKAP+tCoSBedR3y8tvmeHiWrK+qjXnMJk4CRXoUkLqNCqZJsoRQW
JECIK+XcckyKxhpjXS0u0pnCZ.JF.MVpNcjCMR96ResFA.vNNKsRjTNApekb
czhS1Y49WbP8NYwZkE4ZT8YcsuJ2lD9KzUwmpmtz1UIZV4ujuRgeZu+UsHO7
t1ybC5.JV10NOC42ECc5gK0.juiRCkk+Vxqd0410b6RW6X5VOQL5joCLaY6A
vowlMM982zp8AavzNmkocvudVXe401uBSeVVpaQFseWv2vAJbR2FHeOl3zIz
8qnkCdOHu3NsLgWePd8FroIc0kvmqgvuoIE5cHQ1sqTU3JqHsAr4tOpkptRL
4vxjo7CxeF193irp1qDVNr0tnMPlJQhhLsDs+7B8M5EKYFXYoErRFB3cfIU5
mWod5ck5cVIy9K+iK+e.0Rq73
-----------end_max5_patcher-----------
</code></pre>

hackbarth
Posts: 10
Joined: Tue Jul 12, 2011 6:11 pm

Re: percussive event duration

Post by hackbarth » Sat Aug 08, 2020 5:11 pm

danieleghisi wrote:
Sat Aug 08, 2020 11:53 am
Thanks for doing this, I think a lot of people may benefit from it. (If you're up for it I can put perhaps a word in the "Project" section of the website, which is more visible than this forum. I'll write you privately) And I've just skimmed through the video, I'll watch it in full tonight :)
Sure, happy to.
danieleghisi wrote:
Sat Aug 08, 2020 11:53 am
As for your question, I understand the point, unfortunately, a "zero duration" is a real zero duration, and currently there's no way to specify a duration that "just doesn't matter" during quantization. This is a good point, and I think I should come up with a cleaner solution in the future. For the time being, the best way of doing that, however a bit elaborate, is the one I'm posting in the patch below, hope it helps. Basically, you give some duration, you name some chords or notes as "impulsive", and then in the quantized score, you'll retrieve the "impulsive" sounds, and you remove any tie they may have. THat's not exacly what you wanted, and there's a couple of intricacies explained in the patch, but it's at least a way to avoid pizzicati with ties...
Got it. I'd like to keep things simple on the audioguide side of things, so perhaps it is best if I tag "articulate" notes and then the user can deal with it themselves in Max.
danieleghisi wrote:
Sat Aug 08, 2020 11:53 am
BTW, You can also have a look at @thinannotations, which in your case you may perhaps want to set to "Remove with brackets", that would perhaps make the stream of pizz. pizz. pizz... more readable?
Ah, this would be useful. Is there a way for me to specify thinannotations=3 as part of a gathered syntax?

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

Re: percussive event duration

Post by danieleghisi » Sat Aug 08, 2020 7:14 pm

Hi Ben, unfortunately no, because it is an attribute of the Max object but it is not included in the header...
Congratulations on the new release! Lots of very cool stuff.

hackbarth
Posts: 10
Joined: Tue Jul 12, 2011 6:11 pm

Re: percussive event duration

Post by hackbarth » Sun Aug 09, 2020 1:43 pm

Thanks Daniele!

Post Reply