Hi
i am building a project where wn i press a key , it must produce a particular sound .
How can i do this by creating the sound when the key is pressed .
Thanking u in advance
1 Like
Hey @Alen10,
You can view my tutorial about playing sounds on an Arduino using a simple speaker and a transistor at this link: https://maker.pro/arduino/projects/arduino-audio-player
To add a pushbutton to it, simply add some extra lines of code to it. If you are unable to do it, I’ll help you with it
You may also store more .wav files on the Micro SD Card and for different pushbuttons, you can play a different sound.