[hi] object horizontal scroll?

Feb 7, 2009 at 8:56am

[hi] object horizontal scroll?

i know vertical scroll comes out of [hi] preceded by a 6, but it seems that horizontal scroll is unimplemented.

either that, or i don’t know how to access it?

it seems like this data should be available… anyone have any suggestions?

#42158
Feb 8, 2009 at 5:48am

Quote: the reverend wrote on Sat, 07 February 2009 02:56
—————————————————-
> i know vertical scroll comes out of [hi] preceded by a 6, but it seems that horizontal scroll is unimplemented.
>
> either that, or i don’t know how to access it?
>
> it seems like this data should be available… anyone have any suggestions?
—————————————————-

not sure what you mean, which hardware are you using for the hi? Interested in what you’re after. I’d love to be able to auto-scroll things like text files or web pages, perhaps the hi could do it somehow. (yes, I’m just that lazy.)

#150802
Feb 8, 2009 at 8:53pm

although it doesn’t currently do it, i think my mousewheel external could also output horizontal scroll with minimal changes to the code. i don’t have time right now but the source is online if you want to have a go:

http://www.olilarkin.co.uk/index.php?p=max#mw

oli

#150803
Feb 8, 2009 at 9:07pm

thanks for that oli.

it does currently output horizontal info, however there’s no distinction in the data between vertical and horizontal.

i’ll have a look at the source when i get a minute to see if it’s an easy hack.

@cj, (did i interpret that correctly?)
i’m just using the standard trackpad on a macbook pro. i don’t need to do any fancy autoscrolling, but i’m adding on to a sound file preparation utility for the monome and would like to have scrolling functionality.

#150804
Feb 8, 2009 at 10:22pm

>
> @cj, (did i interpret that correctly?)
> i’m just using the standard trackpad on a macbook pro. i don’t need to do any fancy autoscrolling, but i’m adding on to a sound file preparation utility for the monome and would like to have scrolling functionality.
—————————————————-

Not quite sure how to go about it. If it’s a trackpad, which emulates the mouse, you might look at [mousestate] and do some trickery using its values…?

Also if you’re working with sound files, definitely check out the waveform~ editor, which is fantastic. It can also accept values in to change the selection area and/or zoom (display) area, so these could be piped in from mousestate or wherever. Getting the sfinfo~ sound file length to start can help you scale things the way you want. I especially like using [mtr] with waveform~, so you can record some actions like selecting and zooming, then play them back and watch the magic :)

#150805
Feb 8, 2009 at 10:32pm

waveform~ is currently the central focus of the patch, and i plan to use the delta value from horizontal scrolling to move the display over (as you would expect). i could do it with the vertical scroll, but the HCI consequences of that make me cringe.

i’ll look into [mtr], that sort of behavior sounds like it could be quite useful.

#150806
Jul 31, 2009 at 11:17pm

i’ve updated my ol.mousewheel external to support horizontal scroll and modifiers. It’s also now working on windows, although i am not sure if the horizontal scroll is working properly there.

http://www.olilarkin.co.uk/index.php?p=max#mw

#150807

You must be logged in to reply to this topic.