Hello! This is my first post on the forum.
I am in the process of designing an RJDJ scene and need some help.
I have a small test patch that I am working which will output a different frequency sound whenever a different part of the iPhone screen is touched.
Basically I have a .JPG which is 320 pixels square. This is then divided up into 4 different coloured squares which are 160 pixles square.
Heres the logic:
If touch value on x-axis <160pix play 440hz (Bottom left square)
If touch value on x-axis >160pix play 880hz (Bottom right square)
if touch value on y-axis <160pix play 440hz (Bottom left square)
if touch value on y-axis >160pix play 1320hz (Top left square)
I can configure the patch to play these sounds using moses objects and they work fine
But here is my problem:
if touch value on x and y-axis is > 160pix play 1760hz (Top right square)
Only when both x and y values are more than 160pix is the patch aloud to output a sound. However I can not think of which objects/design to use in order to meet these conditions.
I have included the patch so you can see what I have been doing so far.
Thanks for your help