Forums > MaxMSP

converting a scrolling number into bangs

Apr 18 2011 | 10:10 pm

Hi everyone,

I was wondering if you anyone could help. It seems quite simple but just can’t get my head round it! I am using the XYZ values from the Wiimote, the end product is a continual changing number. I was wondering is there anyway of converting this constantly changing number i.e. the X value into a bang everytime it changes. I have tried quite simply by hooking a bang up to the number box but I get a continual stream and the bang continually flashes. Any help would be great.
Thanks in advance,

Apr 18 2011 | 10:55 pm

Hi Nicholas

you may wish to first ‘smooth’ the incoming values, using [line]; there are numerous ways to get discrete triggers from changing values, look at the helpfiles for: [change]; [select]; [==]; [past]; [onebang]. If you require more specific help, post your patch here.


Apr 19 2011 | 11:53 am

Hi Brendan,

Many thanks for your help. I shall have a look at the help files and see how I get on, if not ill post the patch :)

Thanks again,

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

Forums > MaxMSP