Trigger sounds with FSR's
Can someone please help me, i’m quite new to this, as a university project me and a friend are creating some midi tap dancing shoes, what i’m struggling with is how to trigger sounds when the FSR value reaches a specific value.
i’m using a phidget board, i have data coming in and i can trigger sounds using messages, i just need to link them together and i’m struggling to find anything on the internet about it.
Also i would like to know if it’s possible to once the sounds been triggered over the specific value for it not to trigger again until the value has dropped below to the target.
2 questions: what type of FSRs? Of-the-shelf pressure sensors or DIY. And how does the data get into Max? Processing or what?
The rest is easy: threshold triggers = [>] and [togedge], or [past] f.e.
----------begin_max5_patcher---------- 500.3ocuUEraiCBD8rqT+GPndLMxPSRS2Oj8R0pJr8zDhrAKfzlsU8euX.mF ml3fZZ7EPdXXl48Xdie+5qRvYxMfFi9C5QTRx6VKINaMVRZMjfqXaxKYZmi3 JPqYK.7nvg0LS9RtXwSJH23C08SGmNBQIoMaScqjGFmh9W6cDqq3hRv3hHs0 5yRgQvp.WZ9KnJXBFdmqHWaZuCo0Luv4sLa0sjYac16o4+0fufv3uxcSVz72 bmPniScl+35qZ1saihlHxkUUfvrMoFXiC+XMXPlkJPuTVVzGOEXnG7LTZf0N JQQ9ADU5gHpI3iQFasqVj4t9YvO1BICTQfeBcmFkt3ulor3z.pm.AKqD5.oy lbnGhbnGuKh27ZivYLwhKQC09JqNMT2PhgI8b3j4Cjja9vp3xVaLRQe7.4Nu HZpaax10SonNMT6Y3Rne3mKTfWsY36O60LswpJhAugQsyt.SPNDYPOIY7q+1 qK4E8OMIvE9Gc+HExjzybZRD+1oWMvd30WK3Rt3a+10gnlC1iEzx0p71HFRH ZGPU.ZCWvLbqxXGmr8qHxWdsjWT.hN.tfqaHAGR54cI55hFScMqqSCPYMOlx hN3kEIJ5Z9vWWWd5JHBX00u.JcHx9Jxp4WIUMeOaj+atv+sOxXE7Bu8J2as3 hpc4SfL+gYA -----------end_max5_patcher-----------
Thanks for replying, we’re using just off the shelf pressure sensors all part of the phidget range http://www.phidgets.com/products.php?category=33. They connect to a phidget boards Analogue inputs and max picks em up through that. then when pressed they give out a number from 0-999, 0 being no pressure to 999 max pressure.
That patch works perfectly!! thank you.
is there away to change the range from 127 to 0 – 999?
Forums > MaxMSP