May 3, 2010 at 2:55pm
Hello. Ihave quite an easy problem to solve but Im quite new to Max so struggling to get my head round it.
Im using Wii controllers and want to use the movement to dictate a pulse to a metro object. I am using two change objects with + and – objects and so far I have a stream of bangs outputted from each change object depending on whether the number is increasing or decreasing.
When the stream of bangs stops (or the other starts) I want Max to output another bang. This should give me a pulse by outputting a bang when the number changes direction.
I know what I want to do but having trouble getting there.
Any help would be appreciated.
May 4, 2010 at 12:00pm
You can try the onebang object and the timer object. See the patch below. What I see as a problem is that the timer only give out numbers like 500, 550, 800, 1000; all located at the nearest 50. I dont know why its like this, but I guess it has something to do with the control rate of the wiiremote? Because of this I added a lowpass filter, slide, to even out the numbers before calculating the bpm. I dont know if this is the best way to solve this. I´ll be glad to see better solutions. If you dont need the bpm, you can use the numbers from the timer output into the metro, and try in some way to stabilize the speed when you want it to.
– Pasted Max Patch, click to expand. –
Copy all of the following text.Then, in Max, select New From Clipboard.
You must be logged in to reply to this topic.