Dial/Multislider to list (update)

Francesco Di Maggio's icon

hi guys,

i have a puzzle, and i wonder if you might have experienced it as well.

the patch should allow coherent and reciprocal update of values between dial and multislider (see screenshot). when one moves sends the list to my message box below, the other should only update without output, and vice versa.

perhaps you have a suggestion on how to achieve it?

thank you very much in advance

puzzle.maxpat
Max Patch

Jean-Francois Charles's icon

Typically, in a loop between 2 UI objects, you use just one [prepend set]. Here, you are using two (prepend setlist for multislider).
Depending on the rest of your patch, there are different ways of fixing that, but a quick version is to just remove your two [prepend set] objects. You're right [pak] is involved: because of the [prepend set] objects, the content of pak are not updated, that's what then gets recalled.
By the way, when you paste quick code in the forum, use File -> Copy Compressed, then paste in your message.

Max Patch
Copy patch and select New From Clipboard in Max.

Francesco Di Maggio's icon

Hi Jean-Francois
You are more then right
I have currently found two solutions to the problem

Solution 1: [t f b]

Max Patch
Copy patch and select New From Clipboard in Max.

Solution 2: sw abstraction

Max Patch
Copy patch and select New From Clipboard in Max.

The goal is to update the value of the dials in order to be able to use MIDI "Pick-Up Mode" and latch my controller if the multislider's values changes. I often use the multislider too, so it would be nice to have an organic system where you can control things from different sources without "jumps".
"sw" seems to be now the best solution, but I wonder if there is a more optimised/possibly dynamical way to adjust that. I am open for discussion. Thank you