holding down a key for faster scrolling
Long story short, I am using the up and down arrow keys to increase and decrease frequency in Hz by .1 . How do I allow the user to hold down the key for a fast scroll-like action either up or down? Thank you!
this probably isn't the smartest way of doing it, but it seems to work. you probably want to put some more thought into the issue of timing if you use this approach.
Max Patch
Copy patch and select New From Clipboard in Max.
HTH
Max Patch
Copy patch and select New From Clipboard in Max.
Here's an abstraction, that should be saved as "KeyRepeat," that deals with the keyboard part of this problem:
Max Patch
Copy patch and select New From Clipboard in Max.
As far as the adding / subtracting .1 goes, leaving aside the real need for .1 Hz increments, I would use an accum-based solution:
Thanks guys!