audio

So I recently picked up a 2016 Nissan Pathfinder 2016 SV model. One of the features it had was Bluetooth advertised; so I figured Ok it has Bluetooth media streaming capabilities built in. I was upgrading the wife’s car from a 2013 Nissan Sentra which had it no problem. After we got the car and hooked up Bluetooth I noticed it only had Bluetooth calling capabilities. I Googled my issue and noticed several other people with the same problem.

I guess you need to purchase the higher end upgraded model or the Platinum edition which is about $15,000 more for the feature. After I did some research I saw the car had on-board AUX / composite hookup’s as well as a USB port.

HIGHFINE USB Bluetooth Wireless Audio

2 x RCA Male, 1 x 3.5mm Stereo Female, Y-Cable 6-Inch

So this was the first method I tried because I figured it would be the easiest. However the Bluetooth adapter just plain sucked it took about 3-4 minutes to connect the phone and was so inconsistent. Also I noticed I would have to type the RCA hookup because when it moved the audio would fade in an out. So I ditched that idea and check out my Method 2 below.

Method 2: This is actually what’s pictured in the posts image. It’s a little messy but I didn’t clean or zip tie anything up i just wanted you to see the initial setup. This setup also does not require the USB port however it requires you to use your Cigarette lighter for power. My wife likes to charge her phone in the car so I figured I would buy a Splitter so it would control both.

Kinivo BTC450 Bluetooth Hands-Free

NOCO GC020 12V 2-Way Splitter

2 x RCA Male, 1 x 3.5mm Stereo Female, Y-Cable 6-Inch

So this method worked the best and surprisingly it worked better than I expected it to. My Smartphone instantly connected to the Kinivo BTC450 Bluetooth Hands-Free device every time without any delays. What’s cool if you have both your phone connected to your Cars “Bluetooth Calling” and the Kinivo device it will pause your music and allow you to answer the phone call (this was a must). What kinda sucks is that you cannot use the steering wheel controls to control the Next/Previous playback. However on the Kinivo device were ever you decide to mount it has controls for Next-Previous-Stop-Play.

Setting Up Your Smartphone to Auto Stream

My next step was I wanted my device to immediately start playing Spotify when the Bluetooth connection was present.

Then you want to choose the Bluetooth device in this case mine was the BTC450 then I had it Auto Play spotify. You can choose whichever media service you are using from Google Play Music, Spotify, etc. There are several other applications that will accomplish this from: Trigger Task Launcher, Autoplay for Spotify I’m still testing to see which application works the best and works all the time. If you have any questions, tips or comments post below.

Are you experiencing White noise, background hiss, low-volume, subdued bass, and missing trebles leave room for improvement — especially when using the Raspberry Pi with audio-enjoyment software, such as RetroPie and Kodi?

Is there a way to upgrade the Pi’s audio quality?

Yes! Using a small USB audio device that plugs into any of the Pi’s USB ports, audio can be rerouted to the USB audio device for improved audio quality.

This tutorial shows how to use the Plugable USB Audio Adapter with a Raspberry Pi 2 Model B, Raspberry Pi 3 running RetroPie to produce a boost in sound quality.

Louder sound output. No need to turn the volume up as much.

Stronger, deeper bass. Bass is almost missing with the Pi’s built-in audio.

Almost no noise. The Pi had a constant background noise (white noise) when playing sound. During moments of silence during the sound playback, the noise was distractingly audible. This adapter greatly reduces the noise. It does not eliminate it completely because faint noise can be heard if the volume on an amplifier is turned up to uncomfortable levels. However, the noise is practically in audible a normal listening levels.

Take note that sound quality also depends upon your speaker system and sound gear. While this adapter does improve the sound quality, if you are using cheap, tinny earphones, then you will probably not hear much of a difference. If you are using higher-quality headphones or speakers, then the sound difference will become noticeable.

Setting Up The Plugable USB Audio Adapter

Merely plugging in the USB audio device and turning on the Raspberry Pi will not produce audio through the USB audio. The Pi will still use its built-in audio. RetroPie must be configured to use USB audio instead.

Is the USB Audio Detected?

RetroPie will automatically register the USB device during boot. To test if RetroPie sees the device, go to the RetroPie terminal (either CTRL+ALT+F1 or ssh into RetroPie) and enter lsusb.

This shows a list of all connected USB devices. What we are interested in is the C-Media Electronics, Inc. line. If visible, then that means the USB audio is connected, detected, and ready for use.

aplay

Next, enter aplay -l to see more detail about all detected audio devices.

aplay -l

aplay -l shows all available audio cards for playback

This shows two “sound cards” connected to the operating system. Card 0 should always be the built-in Pi sound hardware (bcm2835), and Card 1 is the USB audio.

We can see that the Plugable USB audio device is identified as Card 1: [USB Audio Device]. So far, so good. Now, we need to edit a configuration file that tells the Pi to use this instead of the built-in audio.

Card 0 – bcm2835 (Built-in Pi Audio)

Card 1 – Plugable USB Audio Device

Edit /etc/asound.conf

For RetroPie 3.4 (Raspian Jessie), we must edit the /etc/asound.conf file. Previous versions of RetroPie required a different method involving /etc/modprobe.d/alsa-base.conf, but that does not work with RetroPie 3.4.

In the RetroPie terminal, open the config file:

sudo nano /etc/asound.conf

The file might be empty, and that is okay. Add these lines:

pcm.!default {
type hw card 1
}
ctl.!default {
type hw card 1
}

Simply put, this tells ALSA (Advanced Linux Sound Architecture) to use the USB audio instead of the built-in audio. Save and exit.

Restart

The pi should now automatically detect and use the USB audio. Pick a game from EmulationStation and play. Be sure to remember to plug your speaker system into the USB audio’s green line-out jack using a 3.5mm plug and to turn up the volume for your speakers. It’s easy to forget this obvious step.

From here, you can control the volume of the USB audio. F6 lets you select which sound device to edit. In this case, I have Speaker (the green line out jack on the adapter) set to 81, which provides adequate line-level output without distortion. The Mic is set to 0 since it is not needed. Gain is set to 0 since, for my configuration, the volume is comfortable at these levels.

Once fine tuning is complete, the Pi should play audio through the USB audio adapter. For me, everything just works, and I have not experienced any issues.