Automated setup method
- Download and install the attached deb file.
- Run audioInjector-setup.sh command from the command line (by typing it in and pressing return).This script will update your firmware firstly (by running rpi-update) and then alter your /boot/config.txt file to add the device tree to load (dtoverlay=audioinjector-wm8731-audio).
Code: Select all
audioInjector-setup.sh
- Reboot to force the correct device tree to load.
Turn up the manual volume control knobs on the card - to a desired level !
Included are also two reference alsa mixer files which will allow you to setup default output with either line input or microphone input :
* asound.state.MIC.thru.test : This will setup the microphone as the input and also setup the output. Run
Code: Select all
alsactl --file /usr/share/doc/audioInjector/asound.state.MIC.thru.test restore
Code: Select all
alsactl --file /usr/share/doc/audioInjector/asound.state.RCA.thru.test restore
There is a test script which plays a pulsing 10 kHz tone at high volume through the system. To use it, make sure you don't have speakers plugged in ! Plug in an RCA cable from input to output (Red to Red, White to White). Also plug cheap headphones into the headphone jack and place them near to the Audio Injector so that the microphone can hear them. Lastly run the script :
Code: Select all
audioInjector-test.sh
Manual setup method
- Ensure you have the latest kernel : sudo rpi-update
- Make sure the default audio device tree is not loaded for PWM output (/boot/config.txt), this is because it uses the same I2S bus. (Comment out dtparam=audio=on)
- Make sure the Audio Injector device tree is loaded at boot time : dtoverlay=audioinjector-wm8731-audio
- Reboot to force the correct device tree to load.