One thing I learned today was that sometimes I should not let "vanilla pride" get in the way too much. While it would be great to only code in built-in objects, I've wasted too much time in the past trying to build something that someone else has already found a much better solution for. Today I spent an hour or so messing with a sub-patch that would keep track of how many notes are being sustained on a keyboard, after making a terribly complex patch but buggy patch I decided that it wasn't worth it and found (almost instantly) that Lreg did that job perfectly. I figure this just wasn't the time for me to make that, I'll concentrate on the piece first.
Here's some screenshots of what I did with brief explanations.
"kbd hold pitch" - this started to get messy, trying to keep track of what keys are depressed and released, gave up on this...
...for this, much simpler; Lreg to the rescue.
This was where things went wrong, because of course I don't want it always to be at normal pitch for the initial key depress. so tomorrow I'll make it work at different starting pitches.
Here's all the max patches from today: they're all Max5 patches, and they also need Peter Elsea's Lreg to work.
I might not be understanding what you're after, but [borax] outlet 3 = "Number of notes currently held down"
ReplyDelete