Hi all,
Hoping for clarification on using singular vs. plural in conditional selection with bach.score--for example: "sel rests if symduration == 4" vs. "sel rest if symduration == 4." Only the plural works in my patches, but the singular is given as the example within the Notation Help Center bpatcher under Conditional selection for notes, etc. To add to my confusion, the singular "note" or "rest" does work within the bpatcher (but again, not in any patch I build myself). Has the singular "note," "rest," etc. been deprecated? Or does it have a specific and distinct function? Thanks! -DA
conditional selection, singular vs. plural
-
- Posts: 4
- Joined: Fri May 15, 2020 6:53 pm
-
- Site Admin
- Posts: 1349
- Joined: Fri Dec 03, 2010 1:25 pm
Re: conditional selection, singular vs. plural
Hi. "sel rests" select ALL rests, while "sel rest if symduration == 1/4" only selects rests with duration of 1/4.
Plural is just for selecting all elements, singular is for selecting them one by one.
This should be the behavior, at least: if you have a bug, can you post a snippet of patch? In your case, do you rests of duration 4 seem very long, did you perhaps mean 1/4?
Hope this helps,
Daniele
Plural is just for selecting all elements, singular is for selecting them one by one.
This should be the behavior, at least: if you have a bug, can you post a snippet of patch? In your case, do you rests of duration 4 seem very long, did you perhaps mean 1/4?
Hope this helps,
Daniele
-
- Posts: 4
- Joined: Fri May 15, 2020 6:53 pm
Re: conditional selection, singular vs. plural
Got it. I realized I was putting 4 for symduration when I meant 1. No bug--just me! Thanks.