TouchOSC triggering samples with beatmachine template

digitalove93's icon

Hello fellow max/msp'ers

I am currently working on a project that reads accelerometer data off of two ipods, to manipulate sound samples in a 2d.wave~ buffer. I want to be able to change the chosen sample by pressing a control on page 1 of the beatmachine layout, I have downloaded the template patch for its use with max/msp but I'm having a hard time getting my head around what I need to do to get the app to trigger a sample. I have hooked up the ipods and it definitely works with the template. I have tried direct send and receive but that doesn't seem to respond.
Sorry if this is really badly explained :S
Any ideas or examples? All input is extremely appreciated!

antialias's icon

If you hang a message box off your udpreceive you'll see what touchosc is sending when you push a button, move a slider etc. Then use route or osc-route to tease out the specific action i.e a bang for your sample.

Screen-Shot-2014-04-09-at-10.46.48-PM.png
png
touchosc-route.png
png
digitalove93's icon

Thanks so much, have used sel 1 then send and receive objects to link the trigger to the samples. I was getting mighty confused by the MIDI receiving side of the patch but as I don't want to send info to my iPods I deleted the patching for that!

Thanks again :)