I am new to Max/MSP, and until today it has all being going smoothly.
I have two constant streams of numbers that I need to process that range from 20 to 220 (x and y axis on a controller, where approximately 125 is the centre). Each individual stream is then separated into 3 separate banks of numbers to be processed further. To do this I am using the ‘split’ object. This all works well.
The part I am stuck on is being able to create an on/off command in the form of a toggle when X is in a curtain position that co-insides with Y. These have to be a range of numbers not a specific number for either axis.
for example in txt form
When x = a number between 27 and 52 and y = a number between 130 and 225 then toggle on
When x = 125 and y = 125 toggle off (this is centre where the controller rests)
My apologies if this has already been covered. I have had a look on the forum and could not see any answers to my problem.