I am building a drum system with piezo sensors connected to the input of a pic microcontroller, the data from the piezo's is outputted from the microcontroller over a serial interface and then into PD using the comport external.
The data is being transmitted perfectly, i'm using threshold~ to fix a hit threshold value and decay time for each hit, it works for most hits but it seems to miss some hits. Any ideas as to why it would miss out some hits ?
-
Threshold~ not working correctly
-
The [threshold~] object is more complicated than it first seems. It also contains a switch debounce circuit. You may do better using a [>=~], which might give you multiple
triggers, but for drums that's a better situation than missing beats.Use the Source.