subdivision

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

subdivision

Post by Julien_Vincenot » Sun Apr 02, 2017 6:12 am

Hello guys
Is there an easy way to subdivide any note in a bach.score (that is not a chord) into its equivalent in repeated minimal values (let's say 1/32)?

I tried several approaches, like the message "sel note if symduration == $1, split $2, unsel all" with appropriate values sent successively,
but of course this doesn't take ties into account... :?

Thanks for your help !

Julien
--
Julien Vincenot
creator of the MOZ'Lib package

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

Re: subdivision

Post by danieleghisi » Sun Apr 02, 2017 10:48 am

Hi Julien,

Your approach sounds effective.

You should already have two messages

"split <N>" will also account for ties, splitting ties as a whole
"split <N> separate" will split each chord separately.

Doesn't this work for you? Do you have an example?

Daniele

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

Re: subdivision

Post by danieleghisi » Sun Apr 02, 2017 10:50 am

Uh but maybe your issue is selection with respect to ties... i.e. you'd like to select tied sequences having a certain total symduration, isn't it?

This is not possible yet, but it's a good feature request.
For the time being your best bet is probably doing this via beatbox/beatunbox and patching.

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

Re: subdivision

Post by Julien_Vincenot » Sun Apr 02, 2017 4:45 pm

maybe your issue is selection with respect to ties...
i.e. you'd like to select tied sequences having a certain total symduration, isn't it?
Yes that's exactly my problem ! Sorry I wasn't really clear this morning :)
This would be a great feature indeed, and also something like "sel chord if lengthchord == 1",
do you think it would be possible? Unless this is precisely where scrisp comes in :)

About the other solution, with beatbox/beatunbox, indeed I already tried,
but I feel the problem is similar, since I'm not very handy with ties in that format,
especially running through many parens levels.
Are there any patches or tutorials you would suggest to progress on this aspect?
--
Julien Vincenot
creator of the MOZ'Lib package

Post Reply