On 08/01/2008, at 15.54, Patrice Colet wrote:
But the problem I'm encountering is that the electrical circuit made by the piezo probe and the arduino, with no other additionnal component has a too high capacitance, so the energy level is lowering too slowly after each mecanical impulsion, then my system doesn't trig anymore until the circuit capacitance goes below the threshold level set in PureData.
Maybe the threshold is better set in the in the uC/Arduino code. Tod E. Kurt's done something similar building a "drum kit" with the Arduino board and piezos, cf. [1].
[1] <http://todbot.com/blog/2006/10/29/spooky-arduino-projects-4-and- musical-arduino/>