Forums > MaxMSP

Bang messages

May 3, 2010 | 7:25 pm

i have a patch that when it bangs it turns off the volume for the patch when it is in a certain range.is there a way when it is outside this range that the volume would go back to its original position


May 3, 2010 | 7:30 pm

split


May 3, 2010 | 7:33 pm

ya i used split but once it bangs and the volume goes off it never comes back on when it goes outside the range given in split


May 3, 2010 | 7:46 pm

Well, you’re banging something in your patch that turns the volume off; use that bang with a [set $1] message to a number box to ‘store’ the last value from the gain slider’s right output. Then use this stored value when you reinitialize the slider. Might want to look at [line~] while you’re at it.


May 4, 2010 | 4:27 am
– Pasted Max Patch, click to expand. –

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