Help with MaxMSP patch to use with a PhidgetInterfaceKit 8/8/8
How can I get started with the following project?.
I’m building an interactive mat floor for my dissertation, but I’m having some troubles when trying to build a patch in MaxMSP. The idea is that every time when a person stands on one of the pads, it will trigger a sound.
I’m using a PhidgetInterfaceKit 8/8/8, a Phidget Voltage Divider and a force sensor.
Follow the link to have a look at the Patch:
Many thanks in advance!
Are you getting values into the 8 x Analog input number boxes? That’s a good first step. Once you have the values in (and they appear to be realistic ones, given how hard and where you’re standing on the mat), the rest would be all in Max land, using the logic objects like < or >, which then set the threshold level for the force needed to trigger a sound.
Check the Help files for objects like < or >, select, makenote and noteout, for starters. You should be able to get a basic setup working pretty easily, where every time someone puts pressure on one of the sensors, if it’s enough pressure (check with the ">"), if it evaluates to True/1, go through "select 1", this will send a bang if it’s 1, the bang triggers a MIDI note. Sorry if this is all review…
you need to type the serial number of the phidget board in as an argument.
Use the get serial message and look in the max window.
Here is a snippet out of my patch that works.
----------begin_max5_patcher---------- 876.3oc4Y0ziaBCD8bxuBDmSWg+BL8VOV0KUpR8RUUkA7l0sIPD3ntsq1+6E OFxlzvFfj.h1rQqC9Chey6MiMi4o4ybixdTV357Vmu3La1SymMCZxzvrp5yb WKdLdkn.FlazVsNK0cgsqzsqy1pWI0PmnpVUIvPyh99avn5gZGm9Waj1oyMR jtz04qUcuQniePkt7a4xXscDA767V3PIlRrWc4t6nbtUo6lZSaOOetoXQGMk T4OKgXM9zxGg40U6D4D0rAhO1.Qg0C89rTcpXMXdtuKWIVcZSeQGn.DN.3.p ojPOhCLyYg52vuKBW18vRMqxDIVr2Q4GwOW1oCrBBJ88FMVYsrnPrTdDsjKE IclR7OCF4jrAFAL.GhVHv0H1qvFgMSF3ywEY65HYd2iSnsa2QKiyVkkaMKu6 39k+ErnwqP6YfGQWpTcmhtvUQTDiOhCCU6Ts6dz4phXwJ3206tvtSn059CFe jCMp.OFmunwq.i5J5WtTp+jVn2Vz83U1016jAKei77AJFOVdmmhRj6aMsSIW 8.VeKKfY.k3MAnjOKyKT8XWcTv0lSr6vwgUzYrQaMrl2lKuD6RmDkiP0LkPN lRHmyNclUof+O4tcgU6v4sG4DzOxAM7KvSBmdKvy3PnFgEZ+5e0E36oTP8lf RAhdSJEnomTPo92jRAd5IEDaNt2bRAYBJEdg2jRwTLuLJ5lTJXSOo.EPtIkB +InT3w9+PJZNoqsoaDw+vw6vOMqX7FTryIkzJpuee0EMh.QMzP+QKYslI0O9 fJoL+92mpk42KhkePoKSr1mEx6bt9T90NW+pDZQAVWXT3kRRv84tRk92uJCX xMseHyUjsMOtFp0G6kyKSehrPqREZyQh7xfLDwdCpjYSjP+03asJYSVoGRwt i4gUZWT6YUGFtq1qD0zYv5O.fM.MPfMX..KiLPfk2AvZdgO8ArWJlLSGpEL4 2OHgXfZa2ZGifG15vJXaEfYMUtPiv7V.amX6oW.OnFclCScObWUwdfCHhu08 3hMByI74fayHnip2Afo17NnA8CSXDvrD66WCURc00tPzB.InEzRF23K.S9sw fdiOlXsgIz3iIZaXBO9XhzFlHiOlZaUBJc7wTqqRvFeL05CF3OtXpK6+S3iJ lFhG1qZicDhu+CPYpc.XKq777+PLhNCk -----------end_max5_patcher-----------
Once its detected then scale data appropriately as mentioned above
thanks a lot for your replies. I’ll check out your suggestions to see if I can manage to get it work. My knowledge of Max is quite basic, but I’m sure the info provided by you will help me a lot.
Forums > MaxMSP