hellooo
so i'm using an arduino mega, arduino2pd (http://www.arduino.cc/playground/Interfacing/PD), and pd-extended. I've modified arduino2pd but it does the same commands.
Anywho, when I receive input to the digital pins, the toggle unchecks, which is what i want. The problem I'm having is that the poll command that is checking the inputs from the arduino every 40 ms is checking the toggles every 40 ms, which then sends the message from the toggle at 40 ms to a tabread4. This then triggers samples at a CRAZY rate and you can't even tell what they are. I would like it to trigger once so that the whole sample plays (1 second long sample.) Possibly with a delay? That input might be played again (this is for an instrument) so maybe a delay of 400?
Any ideas on how to do this??
-
Arduino2pd help with poll command!
-
i dont get wich data you get from your arduino?
101010...
or
1111111111?
in first case you could use delay (as you said) to turn a spigot on/of
or _[+1] [mod n] to only use every nth value.
in second case you could solve the problem with [change]toggles flashing on and of sounds like the arduinos base surface is not sufficiently isolated from your working plate._