HELP! need to "bag" this number

gadbaruch's icon

HI ALL!!!

sorry for being a beginner,,, i think there should be an easy way to do what i need but im totally stumped

i have this arpeggiator im working on... please see patch attached.
in it there is a patcher with a "bag" and "zl group" inside.
works great when i press some notes on the keyboard it puts the note numbers in a list and jumps between them nicely.
now i want to add another note number from a dial that will function like the ableton arpeggiator "distance/steps" dial.
but when i press a note and turn the "distance" dial, the "bag" obj bags all the numbers im passing through...
and the list becomes too long,, i need a way to capture only the last number on the dial into bag, maybe just when i pass to the next number that the number before would be deleted from the bag.

hope this makes sense :( and that someone has an idea of what to do...

5085.polyarpV1swingrealQpitch.amxd
amxd
Rick's icon

If you are using the mouse to change the dial values then take a look at the mousefilter object. https://cycling74.com/docs/max6/dynamic/c74_docs.html#mousefilter

tada's icon

hi gadbaruch...it s somehow cloudy your question..i gave it a try and that's all i got... you don t declare where you want to have the "only last number" of the dial....
but i have put it in the end of the current chord... hope this helps..

5087.5085.polyarpV1swingrealQpitch1.rar
rar
gadbaruch's icon

tada indeed :) i think this zl join obj did the trick!!! thank youuuuuu!!!