Can I replace certain notes in a Voice, for instance all those above 2799 lmidic, with rests?
I managed to create a solution. Probably there are unnecessary elements, but it works somehow. If someone would like to tidy it up, you are welcome!
I mixed it up. I made negative lmidic-numbers instead of negative duration-numbers! So I’ll have to have an other go. Assistance still more than welcome.
Here is a usuefulfilter-pitch.omp (27.4 KB) patch
Hi Rune. Here’s another approach, using two in-built functions, in case you want to retain the structure of the tree, ie. for measure-signs etc.