Forums > Max For Live

Prevent output from [live.dial] on change

May 1, 2014 | 1:59 am

I have a live.dial object that is beeing triggered by input on the top inlet and the value of the dial is beeing sent further for processing. However when I change the dial the object will output a high number of values. Is there some way to make the object only output when it receive a trigger on the topmost inlet and that dial change output is ignored?



Jan
May 1, 2014 | 2:46 am

Not at my computer right now. So I can’t post an example. I would place a gate after the live.dial that you only open when you receive a value in the inlet.
J


May 1, 2014 | 5:47 am

Thanks for the advise! I looked at the [gate] object now and I believe I found a way to solve it. I give the gate 10ms to pass the metro bang before I then close it again. Do you think that is a good value or should it be more or less?

– Pasted Max Patch, click to expand. –
  • This reply was modified 4 months by  kmll.


Jan
May 1, 2014 | 10:31 am

oups posted wrong patch.. one sec..



Jan
May 1, 2014 | 10:41 am

here is the right answer:

I would do it with [trigger] instead of a timing. its more fail-safe. Also added a [change] object not to send out the same value every 2sec:

– Pasted Max Patch, click to expand. –

May 2, 2014 | 2:30 am

Brilliant solution! Many thanks Jan:)


Viewing 6 posts - 1 through 6 (of 6 total)