Gesture Volume Control
I am building a gesture controlled granulator, but I want the volume to be controlled by how close the hands are together
I am using cv.jit_OSX_v1.7.2 but modified to utilise the data capture of two dots rather than one.
So what method would be best to analyise the distance between each dot and effect the volume according to this?
But, instead of dong it yourself, which is not that difficult, i prefer this way
----------begin_max5_patcher---------- 596.3ocyU0zbZCCD8r8uhMdxQBCxFHN8Ramdpm5OfNYxHrWChwVxijLgzL4+ dkViIPpgBLIc5E84p29zaWs54vfnYp0nIB9D7SHH34vf.ZI+BAalGDUwWmUx MjYQEkJYSUzf1sJTRqjWgzVeUK3kc63LRHKQKcJ1lEq41rEB47GzXls0qroI CGM.hYLe2jQzDWKb+lyHxIvUyVdS5NfqZrcnGuCYLheQjgE6.pyoZGCsn9AT xmURa2sWKJ1mpwV13udbaz.HZFWNOBt2a1Kgg9lAmnBkoppPosiqVbMcUi9Q istwBJCXWfPtvX4xLb3PPHgZwZrz7Y+vGWvs3JTCOoZzPExMMZOdFfqwqfu6 NsSAcsbKAT1pgKEV.lKVgF+gfLkRmKjNXLPGzWAc7oTHwLUijHEaqHoQiyIb qPI2K5baazghKcMaiMGN7WnmOiD5sggyMgXbpuKk7OaLq+Lho8mQL5.YDuiQ yu0Ixt3op.LNMUlC0Jwq1tmRmbbgN9N55dWx+LcdiGSmRszquw21uJO4+EUV IwiHwwe7YkswmV0JIoe0J9CWsj3iNG8GhUFWaU0pxyr3b7e8VyRoLxIIGq37 3Kp37gK.2N3hp.e.8YEttVCWWvt45hX3KlLdIWWoxQf89KYISntooGSyR5Wy XmolsuJQNhdY7lO1I15Weeoy39mIqCpMQR3U5liFq+Enqd0N1jtmMKD44nb2 rb22a9+ZoqZ+o3mJaRNA1L9BYSqTwqqc+2Z1.IQDW9zRk1Oc5.ZpP1NkPLRi qDc1mF5Q6kveCXEc8TF -----------end_max5_patcher-----------
I have used this for finding the distance between the barycenter f two figures, and it works fine!
Hope it helps!
but where it has the two inlets for the incoming coordinates, if I am tracking two different points, will do I put the x and y of one, both in the same inlet and use the other inlet for the x and y of the other?
or do I need to build a separate one for the other tracked gesture?
hey, dude forget that last post, I have it working
cant thank you enough, was racking my brain for ages on that ha.