Forums > MaxMSP

any object that outputs a single bang

April 4, 2012 | 11:05 pm

so I have an arduino hooked up to Max that sends in digital input into Max using a force sensor. So it is sending 0 and 1s but it’s value’s are still constantly changing and it’s outputting a constant bang which is not what I want. What I want is when I press the force sensor a single non-constant bang will occur, and when I release it it will output another single bang; instead of when I press it it outputs a rapid-fire of bangs.


April 4, 2012 | 11:11 pm

[change]


April 5, 2012 | 9:12 am

Hi
can I ask why you’re using an FSR if all you require is binary input, ie press/not-press. Why not just a switch? If your sensor is constantly firing there may be something wrong with your code or circuit. If you’re using Maxuino or Firmata I can’t help.

Brendan


Viewing 3 posts - 1 through 3 (of 3 total)