Hi everyone,
I am quite new in PD.
First, I explain the aim of the patch, then my questions.
Tthe patch meant to be for an interactive audio/video installation, where the input comes from the camera hung above the square of interaction, the output is MIDI, which will be mapped to Resolume for instance. The patch is a multiple area motion detection but not as I should have it. Now the motion detection is on the whole area of the camera, sending out 16 different midi signals from a 4x4 matrix. The 16 midi signals are difenied as 01, 02, 03, 10, 11, 12, 13, 20 etc...The patch like this works fine with one player, just my concept has changed therefor the changes in the structure is needed. Now I would like to have 16 motion detector instead of 1 and each motion detector sends out a midi signal, if someone steps in to the defined part of the camera.
and now the problems:
- i was playing around with pix_crop, and able to define the areas, but not for the motion detector cross to run around only on that 1/16 part of the screen.
- the MIDI should send out 1 bang when someone comes in to the right part, and 1 bang when leaves the part of screen. I tried stripnote to get out the zeros from the flow of ones when someone keeps on moving, but without success, and not sure if it is the solution
- simple problem: adding up the bang from y axe than adding x will not give the same result as first x than y.
- how can I tell to PD to not send other signal until the signal changes. means if already sent one ZERO not send other bangs until it will turn to 1, and vice versa .
Thanks for your help:
Popesz