I recently bricked an Arduino Pro Micro trying this project...damn thing.
Maybe you guys can be of help.
Project: Using a piezo to trigger a drum sample (times 2) as a standalone built. Without needing a PC to trigger samples.
Idea: When I knock on the piezo it sends a signal to the Arduino, it loads a file from a connected sd card shield and plays it directly to a speaker using an LM386 low power audio amplifier.
Questions: Is that possible in a small form factor with sufficient audio quality for live usage? I thought of using the Simple Audio Player library for this?
What Arduino would you recommend? I still have a Nano and Mega at hand and if usable an ESP8266. Can't unbrick the Pro Micro atm. The Mega is way too big though.
Optional challenges: Changing output volume based on impact on the piezo. Using two piezos to trigger different files (bass drum/snare).
Parts at hand: Arduino Mega with Ethernet/SD Card shield Arduino Nano Micro SD card shield LM386 audio amplifier module a lot of cables breadboard piezos different resistors
I really need help with this. Is it even possible? I need some nudges in the right direction