I am trying to move trough a timeline of my video by scroll-wheel of a mouse.
So far i managed to influence the timeline on the video with a MouseIn CHOP, but the sound does not respond with it. Any ideas on how to make this work as well?
From experience, whenever you need to scrub a media file is important to change the Play mode of the media to Specify Index. This way you can control what moment and speed of the movie you play and it’s separate from the timeline of your project.
I left some comments in the example but the most important thing would be the Speed CHOP, which allows to increase a value from a channel input. It is used both for the mouse wheel and to get the play rate of the movie, which is given by dividing the sample rate with the length.
You also need to normalize the wheel values to check if is increasing and that’s done by a simple delay.
There is also a limit that loops the movie fraction from 0 to 1 and that’s how you can scroll forward and backwards with a loop.