To allow the sound effects machine to play WAV files, additional software resources are needed. The two important software resources required for the sound effects machine to work properly are the
<TMRpcm.h> libraries. The
SD (San-Disk) library is required for read / write operations from an SD part. The Arduino Integrated Development Environment (IDE) has the SD resource as part of its software library.
With the SD library included in the Arduino sketch, as shown next, the available software resource allows the microcontroller to talk to the actual SD card using a module or breakout ...