Python3 is used to execute the included code MPR121MultiSoundPlay.py
Sound files are to be prepared as .wav 16-bit. Up to 12 channels are possible with the MPR121 capacitive sensor controller. The files must be placed in the sounds folder before launching the python code.
Within the sounds folder is a bonus code for normalizing volume of all wav files found within the folder. Launch this code simply with python. It will convert all sound files and place them in the folder titled modified .
Be sure to activate the I2C port for communication with the mpr121, option found in interface options of raspi-config:
sudo raspi-config
Dependencies are as follows:
sudo apt-get update
sudo apt-get install python3-pygame python3-pip
sudo pip3 install adafruit-circuitpython-mpr121
This project was produced at the school of fine arts and media of Caen/Cherbourg (France). The sound clips included are the work of Rajat Mondal