The Pi-ASMR project transforms a raspberry pi into a Multi-user audio booth.
At the moment, we support n=3 users. We assume that each user can use his/her own headphones in order to listen to different tracks -- independent of what others are listening to. Each user has his/her own 4 buttons to select between 4 different audio tracks residing on the Pi's file-system accordingly.
- Raspberry PI 3 following this GPIO numbering scheme
- 3 audio dongles connected to the PI via USB.
- 3 headphones plugged into the audio dongles.
- 12 buttons.
- Follow the variables
PERSON_X_GPIO_PINS
inbuttons.py
to wire each person's buttons to the corresponding GPIO pins on the Pi.
- Python 2.7.
- Raspberry PI python library: RPi.
- mpg123 audio player.
- The 3 audio dongles are labeled as hw:1,0 to hw:3,0 in ALSA accordingly.
- Adjust the volumes of the devices using
alsa-mixer
as necessary. - Create the directory
/home/pi/asmr
if it does not exist and move all the audio files there. - Adjust
AUDIO_FILENAMES
in the python filebuttons.py
to include the names of your four audio files.
- Clone this repository onto your RPi.
cd tedxdd-18-asmr
python2 buttons.py