converting a scrolling number into bangs

Nicholas's icon

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,
Nick

brendan mccloskey's icon

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.

Brendan

Nicholas's icon

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,
Nick