Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
raspberry_boards:raspi-sound-hat [2020/06/09 17:10]
admin
raspberry_boards:raspi-sound-hat [2020/09/01 19:08]
admin [Alsa Mixer Settings]
Line 56: Line 56:
  
 After connecting the Audio Injector to the Raspberry Pi some software should be installed.\\ After connecting the Audio Injector to the Raspberry Pi some software should be installed.\\
-First you have to download the deb package from [[http://​forum.audioinjector.net/​viewtopic.php?​f=5&​t=3]]. ​Unpack it: +First you have to download the deb package from [[http://​forum.audioinjector.net/​viewtopic.php?​f=5&​t=3]]. 
-   ​$ ​tar -xf audio.injector.scripts_0.1-1_all.deb.tar.gz+   ​$ ​wget https://​github.com/Audio-Injector/​stereo-and-zero/​archive/​master.zip 
 +Unpack it: 
 +   $ unzip master.zip
 And install it: And install it:
 +   $ cd stereo-and-zero-master/​
    $ sudo apt install ./​audio.injector.scripts_0.1-1_all.deb    $ sudo apt install ./​audio.injector.scripts_0.1-1_all.deb
 Change some configurations,​ in: Change some configurations,​ in:
    $ sudo nano /​boot/​config.txt    $ sudo nano /​boot/​config.txt
-Comment out:+Put in comment:
    # dtparam=audio=on    # dtparam=audio=on
 And type in: And type in:
 +   # Enable audio (WM8731)
    ​dtoverlay=audioinjector-wm8731-audio    ​dtoverlay=audioinjector-wm8731-audio
 ctl + o for saving, press return and ctl + x to leave.\\ ctl + o for saving, press return and ctl + x to leave.\\
Line 80: Line 84:
    $ unzip master.zip    $ unzip master.zip
 go into the folder: go into the folder:
-   $ cd stereo-and-zero-master/​+   $ cd stereo-and-zero-master/​audio.injector.scripts-0.1/
 and run: and run:
    $ alsactl --file asound.state.MIC.thru.test restore    $ alsactl --file asound.state.MIC.thru.test restore
    $ alsactl --file asound.state.RCA.thru.test restore    $ alsactl --file asound.state.RCA.thru.test restore
 +to check the alsa setting:
 +   $ alsamixer
  
 ---- ----