Getting slider to move on loop (solved)
There are a few different ways to solve, here's one
Thank you so much!! I appreciate the help loads
Anytime! I'm glad this solution works for you :)
Maybe don't delete the initial post and title next time, though? I've learned so much from searching old threads on this forum. Having the original title (appended with "solved") and a full record of the thread is the only way these threads can really be searchable and useful to others in the future.
Ah thanks Patrick, I'll know for next time now!
Also, I'm trying to incorporate the same principle backwards but max says stack overflow when this happens/it stops working. Which is strange because this worked a few hours ago and now Max doesn't like it any more... I can't get it to work at all now. Do you know a way around this? Thanks so much
No problem. Simplest solution is to remove the = signs from the if statements so they're just > or < and not >= (greater than OR equal to) and <= (less than OR equal to). with the = signs in there, they were creating an infinite loop off of each other: one would zero out the accumulator @ 128 and the other would set accumulator to 128 upon 0, so one created a trigger event for the other anytime the condition was reached.
A tip: when you post stuff here, just select the relevant piece you want to share in Max and select "copy compressed" from the right + click menu. When you pasted it here it will make these handy "click to expand" buttons automatically. If what you have to share needs to be run as a complete .maxpat or .amxd to make sense, then do the attachment thing, otherwise copy compressed is the way to go.
This is amazing, thank you so much for your time and such a fast reply! I get stuck quite a fair bit learning max but these forums have been really great. I appreciate it loads :)
Anytime. Looking forward to next phase of your build.