Bang messages

May 3, 2010 at 7:25pm

Bang messages

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

#50158
May 3, 2010 at 7:30pm

split

#180086
May 3, 2010 at 7:33pm

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

#180087
May 3, 2010 at 7:46pm

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.

#180088
May 4, 2010 at 4:27am
– Pasted Max Patch, click to expand. –
#180089

You must be logged in to reply to this topic.