I have already posted in the programming questions and got 0 replies after two days, so I’ll try my luck here, please do not delete for cross-posting.
Hi! So I want to make an electric 37-key Vibraphone, which looks, if you google it, very similar to a xylophone with a pedal. I want to use 37 piezo sensors to analog, 2 16-channel multiplexers, the Arduino Mega/Uno, and a button as the pedal.
I want to connect 32 piezos through the MUXs and the last five to the analog pins and make them react to how hard you hit the key, harder means louder, when you press the button it needs to stop any existing sound and if you hit a key while you are pressing the button it needs to make a shorter sound (basically the opposite of the piano pedal) and all that while the sounds are coming from an SD card and not a computer, and feeding it onto headphones.
Pretty complicated, and I’m struggling really hard with the code. Especially with the multiplexer piezos sensitivity part. I’ve already started writing the code, but I won’t have access to my computer for a while so thanks beforehand for any help, I’ll really appreciate it.
P.S - if you have any ideas on better ways to build and code my project I’d love to hear them!