Level 4: Audio Setup

 

This page is for the manual setup of the audio on a fresh install of Retropie.

If you’re planning on building the whole Retropie image yourself rather than using the preconfigured version, start here.

Audio Install

1. at the command line type:

sudo nano /boot/config.txt

2. add into config.txt:

dtoverlay=audremap

3. save the file and close

4. at the command line type:

sudo raspi-config

5. In the menu, go to:

  • system options

    • audio

      • select headphones from the list of options

6. save and close

7. at the command line type:

sudo nano .asoundrc

8. add into .asoundrc:

pcm.card1 { 
   type hw card 1 
} 
ctl.card1 { 
   type hw
   card 1 
} 
pcm.monocard {
   slave.pcm card1
   slave.channels 2
   # type plug 
   type route 
   ttable {
      # Copy both input channels to output channel 0 (Left).
      0.0 0.5 
      1.0 0.5 
      # Send nothing to output channel 1 (Right). 
      0.1 0 
      1.1 0
   }
} 
ctl.monocard { 
   type hw
   card 1 
} 
pcm.!default monocard
Previous
Previous

Level 3: LCD Setup

Next
Next

Level 5: Controller Setup