How to send continuous data to Live plugins from an Arduino

Learn about building and using Max for Live devices.
Post Reply
waterdog
Posts: 4
Joined: Thu Feb 12, 2004 12:22 am
Location: PDX, OR, USA
Contact:

How to send continuous data to Live plugins from an Arduino

Post by waterdog » Thu Aug 30, 2012 2:05 am

First of all, I am not the programmer - and she is researching this on her own too. Dhe has set up a set of body-worn controllers plugged into an Arduino to talk to live. We are easily able to map simple digital (on/off) triggers to affect Live clips, but when we try to send continuous data from a set of flex sensors to a series of Live plugins we are stumped.

Live "sees" the sensors, and data goes to the effects when we map them, but they are sending garbled data. (For instance, in a granular delay plug in, when mapped to Wet/Dry or Frequency, the dot on the grid just jumps up and down, even when the sensor isn't being flexed)

We need to be able to make the analog flex sensors send a smooth 0-127 flow of data to Live effects, as the knobs on an APC40 do, so we can use the sensors to smoothly turn the Wet/Dry mix of an effect up and down.

Obscure perhaps, but should be someone out there who can help!

Thanks!

- Heather 8)

slatepipe
Posts: 1947
Joined: Thu Dec 30, 2004 4:10 pm
Location: stoke newington in london
Contact:

Re: How to send continuous data to Live plugins from an Arduino

Post by slatepipe » Mon Sep 03, 2012 11:44 am

hi - i might be completely incorrect but have you set up the sensors to send readings into your computer in sequence, like one after the other in a loop?

i had experience with a project i did a few years ago using distance sensors and as i was on a steep learning curve at the time and i didnt know much about electronics and wiring i found that if the sensors just fire their readings into your computerall at the same time then the readings get garbled and mixed up. once i rewired them to send readings in one after the other then they became a lot more accurate

sorry if im way off the mark with your problem, it could be something completely different

cheers

Post Reply