IObox (slider) behavior : user input and autogenerated changing input at the same time

Hello,

I’m trying to use an iobox as a slider which i’d like to be updated automatically (for example to get a changing value of something) and i wish also to be able to change manually the slider value (as a user).

This behavior is kind of music/video player slider : the cursor is moving while something is currently playing, but if i click on the slider i want to consider the new position of the slider to seek the new position in my music.

Of course, when i will change manually my slider value, the next automatic input values getting into the iobox/slider will be based on this new changed value (cf. music player behavior)

I’m joining a little file example for testing behavior.

my question is : how do I force user interaction and values to be taken ?

PS : I haven’t found “mp3 player” example in VVV contributions and I’m sure it could be a great tutorial for VVVV (consider developping an mp3 player with constraints like : random playing or not, playing next song, changing song manually or automatically, changing seek position of the current playing music, etc.)

iobox_input_test.v4p (10.2 kB)

ioboxes were never supposed to work like this. having said that maybe you can work around that limitation by using SetIO (Value). check its helppatch.