kslider and mouse down/up for note on/off

bkshepard's icon

Is there a way to have the kslider object create a note on velocity when the mouse button is pressed and then a 0 velocity when the button is released? I realize I can build one, but thought I'd just check if such a feature exists first. Thanks!

Florent Ghys's icon

It seems you'll have to do it yourself. I think the regular kslider only plays note on - like in the help file.

Christopher Dobrian's icon
Max Patch
Copy patch and select New From Clipboard in Max.

...but it's very easy to roll your own.

bkshepard's icon

Thanks, guys! Yeah, I figured I could make my own, but thought I'd ask first, and I'm glad I did! Christopher's example is WAY more efficient than what I would have done!!!