# Picar-x using a Adafruit Stereo 3.7W Class D Audio Amplifier

**URL:** https://forum.sunfounder.com/t/picar-x-using-a-adafruit-stereo-3-7w-class-d-audio-amplifier/1865
**Category:** Robotic kit for Raspberry Pi
**Created:** [October 25, 2024, 9:01pm UTC](https://forum.sunfounder.com/t/picar-x-using-a-adafruit-stereo-3-7w-class-d-audio-amplifier/1865 "2024-10-25T21:01:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![oakguy](https://avatars.discourse-cdn.com/v4/letter/o/f0a364/32.png) [@oakguy](https://forum.sunfounder.com/u/oakguy)
#### Post date: [October 25, 2024, 9:01pm UTC](https://forum.sunfounder.com/t/picar-x-using-a-adafruit-stereo-3-7w-class-d-audio-amplifier/1865/1 "2024-10-25T21:01:06Z")

</div>

Hi. I would to use this amplifier to run the sound through the Pi audio jack and into my amplifier. I would need to change the ALSA settings. But not sure if its possible to get the audio off the Robot Hat or not as well. What would I change to not channel sound through the hat and channel it through the PI itself?

Or as another option, should I use a 12C amp like the Adafruit TPA2016 and channel sound through the bus?

Thoughts  
Thanks - Guy

---

<div class="post-metadata">

### Author: ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)
#### Post date: [October 31, 2024, 2:29am UTC](https://forum.sunfounder.com/t/picar-x-using-a-adafruit-stereo-3-7w-class-d-audio-amplifier/1865/3 "2024-10-31T02:29:40Z")

</div>

If you run the i2samp.sh script, it will configure the default sound card in the /etc/asound.conf file.  
You can check the sound card numbers for different devices by using the commands aplay -l or cat /proc/asound/cards.

To modify the default sound card, simply change the card number in the /etc/asound.conf file to your desired choice. Additionally, you can select “Force 3.5mm” through the menu by navigating to raspi-config → Advanced Options → Audio.
