Mouse scroll wheel as input

evanlivingston's icon

I'd like to use a mouse scroll wheel to control the frequency of a cycle object. Any idea of how?

andrea agostini's icon

Hi. I just was wondering about the same thing today...

Oli Larkin has made an external for reading the wheel, it's called ol.mousewheel if I remember correctly.

Just search the forum for "mousewheel" and you'll find it.

cheers
aa

seejayjames's icon

I'd love to have a few more objects which capture the mousewheel instead of always having it scroll the patch vertically, which generally doesn't help me in a finished patch (it all fits because I don't like scrolling much). In particular--- waveform~ would be great if it zoomed in and out using the wheel (settable with a flag whether you want it to behave that way, or only use the zoom tool).

When I use Audition and Vegas for audio and video work, this is what it does, and I use it *all the time*.

oooh, maybe a flag in the Patcher Inspector: Mouse Wheel Zooms Patch...?

Surely there are some other objects which would benefit from this as well. Heck, even sliders and number boxes could be nice to control this way, no click needed---just hover over them and the wheel changes the values.

Stephane Morisse's icon

I also did a patch a bunch of years ago but can't find what I used. Does anybody have a clue ?

yaniki's icon

Hi STEPHANE

I have no mouse with wheel on my desk now, so I'm not sure, but probably you can use [hi] object. On my MBP [hi] is able to report "scroll gesture" (which is more or less the same as wheel) - I set "Apple Internal Keyboard / Trackpad 2" as the input device and "poll" and it works. Of course you have to set your mouse as the input device.