mousewheel control / speed rate
Hi, i want to increase / decrease the rate of a video with the mousewheel...i can make the patch with a slider to control the rate... but i need to control the rate with the mouse wheel...more i turn the wheel ...more the rate grow, slow rotation = slow rate / high rotation : high rate...somebody has an idea ? thanks a lot !
Have a look at mousestate, but I'm not sure you can catch this value.
thanks, don't work with mousestate...only position for this object. I 've try with jit.window... there is an argument mousewheel, but i don't arrive to use the value... they works, the display tellme the value , but they are connected on "message without output" and i don'nt arrive to use them.
there is my patch to download. merci !
thanks, no don't works. i've seen with th ejit.window... attribut "mousewheel", i can see values... but can't use them. they are coonected in "message without output" ....and it don't works in other input.
DL this patch based on jit.window help. go somewhere on the floating window and move mousewheel, you will the mousewheel value in the floatnumber box. But I wouldn't use this to control a movie rate when I see the values that come out.
thanks a lot ! you are THE BEST !
it works fine, i just need to add a factor... in fact, we present an installation video : a bike is in front of a screen ( with a videoprojector) ... when you race... the video is playing... we have make a system with a home trainer and a mouse back the bike, the wheel of the bike make turn the wheel of the mouse.... thanks again. see you . ( are you french ?)
I am french, live near Avignon. Where will you show your installation ? And what are the values you get with a bike on the wheel ? I told you I wouldn't use this to control movie rate because with 'normal' use, I got values ranging from -0.5 to 0.5 max.
ok, understand. A StDié ( Vosges ), pendant le Festival International de Géographie. Thème du Paysage. La roue arriere du vélo, a une 2eme chaine qui part derriere, reliée a des autres pignons, l'axe de ces pignons est entouré de caoutchouc et entraine la molette de la souris que l'on glisse sous cet axe. En prenant directement la vitesse de la molette, le rate est bien. il faut juste que je l'inverse, ( x-1) ou (x-2) car il faut quand meme pédaler assez vite....je l'avais aussi relié au slider pour pouvoir borner ma vitesse ( de lecture x-2, à lecture x2 ) mais ça ne fonctionne pas, dès que la molette injecte la vitesse dans le slider, il demarre à sa borne limite basse, et non au milieu comme je le voudrai. Et l'idéal finalement serait de temporiser un peu la vitesse de la molette, qu'elle n'influe le rate que toutes les secondes par exemple car la c'est tres sensible, la vitesse est calculée tres rapidement et le moindre petit ecard de pedalage se paie sur la fluidité du film. En tous cas, c'est sympa. Merci encore. On a une solution de repli, avec Flash, on a un ordre si la molette tourne = play , si elle s'arrete : pause. bon c'est moins amusant. Si tu veux encore jeter un oeil, tu peux :) l'installation est presentée ce vendredi.