A very simple RaspberryPi project that delays input audio about 200ms to the output audio to get something that is called "delayed auditory feedback". The usage of a similar solution is quite popular in german tv show called Circus HalliGalli or the "SpeechJammer" project.
Just unzip all the files to /usr/pi-delayed-auditory-feedback
. To install the service, just type:
sudo sh /usr/pi-delayed-auditory-feedback/install.sh
Or run this code (one line) to automatically download and install everything you need:
sudo mkdir /usr/pi-delayed-auditory-feedback && sudo wget -O /usr/pi-delayed-auditory-feedback/pi-delayed-auditory-feedback.zip https://github.com/blaues0cke/PiDelayedAuditoryFeedback/archive/master.zip && sudo unzip /usr/pi-delayed-auditory-feedback/pi-delayed-auditory-feedback.zip -d /usr/pi-delayed-auditory-feedback && sudo cp -rf /usr/pi-delayed-auditory-feedback/PiDelayedAuditoryFeedback-master/* /usr/pi-delayed-auditory-feedback && sudo rm -rf /usr/pi-delayed-auditory-feedback/PiDelayedAuditoryFeedback-master && sudo rm /usr/pi-delayed-auditory-feedback/pi-delayed-auditory-feedback.zip && sudo sh /usr/pi-delayed-auditory-feedback/install.sh
If you run Raspbian on your RaspberryPi, everything should already set up for you. You may want to increase the gain of all input and output devices. The volume should be very high to make sure the effect takes in place.
To configure your sound cards type:
alsamixer
Once you have set your settings, remember to store your changes:
sudo alsactl store
The script automatically selectes the second sound card that is found (not the sound card built in the Raspberry Pi). Since a usb headset offers a audio output and a audio input, everything should work. If you want to change this, just modify start.sh
and change the 1
in plughw:1
to the number of the soundcard you prefer.
I am using the following hardware, but I think the most Raspberry Pi models, WiFi sticks, usb-headsets should work. Feel free to click on this link before you buy the stuff, so our non-profit hackspace Toolbox Bodensee e.V. will get a commission.
You have nothing todo, since the service is started automatically. If you want to start the service by your own just type:
sudo /etc/init.d/pi-delayed-auditory-feedback start
To stop the service, just type:
sudo /etc/init.d/pi-delayed-auditory-feedback stop