# Only Audio is Bluetooth Bing

**URL:** <https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101>\
**Category:** Product support\
**Created:** [June 12, 2020, 7:33pm UTC](https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101 "2020-06-12T19:33:02Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![nic](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nic](https://forums.balena.io/u/nic)\
**Post date:** [June 12, 2020, 7:33pm UTC](https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101/1 "2020-06-12T19:33:02Z")

</div>

Hi,

I’m trying to run Balena Sound with a Raspberry Pi 3 and a hifiberry plus pro DAC.

When I connect and disconnect my phone to the bluetooth audio, I get the sound effect coming through the RCA jacks, but when I try to play anything through the bluetooth connection, there is no sound.

---

<div class="post-metadata">

**Author:** ![floion](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@floion](https://forums.balena.io/u/floion)\
**Post date:** [June 12, 2020, 7:38pm UTC](https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101/2 "2020-06-12T19:38:38Z")

</div>

Hi, have you also added the hifiberry-dacplus overlay in dtoverlay in the balena dashboard `Device Configuration` section?

---

<div class="post-metadata">

**Author:** ![nic](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nic](https://forums.balena.io/u/nic)\
**Post date:** [June 12, 2020, 7:43pm UTC](https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101/3 "2020-06-12T19:43:24Z")

</div>

Yes I have.

---

<div class="post-metadata">

**Author:** ![floion](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@floion](https://forums.balena.io/u/floion)\
**Post date:** [June 12, 2020, 7:48pm UTC](https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101/4 "2020-06-12T19:48:15Z")

</div>

What does `aplay -l` return?

---

<div class="post-metadata">

**Author:** ![nic](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nic](https://forums.balena.io/u/nic)\
**Post date:** [June 12, 2020, 7:50pm UTC](https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101/5 "2020-06-12T19:50:39Z")

</div>

root@d1d0cd4:/# aplay -l  
\*\*\*\* List of PLAYBACK Hardware Devices \*\*\*\*  
card 0: sndrpihifiberry [snd\_rpi\_hifiberry\_dacplus], device 0: HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0   
Subdevices: 1/1  
Subdevice #0: subdevice #0

---

<div class="post-metadata">

**Author:** ![floion](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@floion](https://forums.balena.io/u/floion)\
**Post date:** [June 12, 2020, 7:53pm UTC](https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101/6 "2020-06-12T19:53:30Z")

</div>

Can you try to play some file in your container? Something like `aplay /usr/share/sound/alsa/Front_Left.wav` ?

---

<div class="post-metadata">

**Author:** ![nic](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nic](https://forums.balena.io/u/nic)\
**Post date:** [June 12, 2020, 8:00pm UTC](https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101/7 "2020-06-12T20:00:52Z")

</div>

I can’t find that wav file. It returns no file or directory.

Edit: Ah, it was in “sounds” not sound. It does not play anything.  
aplay does show:  
Playing WAVE ‘/usr/share/sounds/alsa/Front\_Right.wav’ : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

---

<div class="post-metadata">

**Author:** ![chrisys](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/chrisys/32/1731_2.png) [@chrisys](https://forums.balena.io/u/chrisys)\
**Post date:** [June 15, 2020, 9:22am UTC](https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101/12 "2020-06-15T09:22:06Z")

</div>

Hey there @nic

I’ve just been taking a look at this and I wonder if it’s something as simple as the volume being turned down? If you’re hearing the sound effects playing via the DAC when you connect that proves the device is working OK.

The command that executes when you connect a device is: `aplay -D hw:0,0 /usr/src/sounds/connect.wav` ([see here](https://github.com/balenalabs/balena-sound/blob/master/bluetooth-audio/bluetooth-udev#L20)). Therefore if you run this command you should hear the same sound or to use the sound effect described above: `aplay -D hw:0,0 /usr/share/sounds/alsa/Front_Left.wav`. Either of these should give you some audio. If they aren’t then it’s probably a volume issue - you’ll see in the script the system adjusts the volume before playing the connect/disconnect sound to make sure it’s heard.

You could also try running `alsamixer` which will give you some control over the output volume, or you can also set the `SYSTEM_OUTPUT_VOLUME` environment variable a bit higher (by default it is set to `75`), as well as making sure your bluetooth device is turned up when you connect.

Keep us posted with your progress!

---

<div class="post-metadata">

**Author:** ![nic](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nic](https://forums.balena.io/u/nic)\
**Post date:** [June 17, 2020, 8:33pm UTC](https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101/15 "2020-06-17T20:33:33Z")

</div>

Update: I tried the 64-bit OS and the Development version of the RP3 OS. Neither worked. Tried to up the system volume through SYSTEM\_OUTPUT\_VOLUME, no dice. Not sure what to try next.

---

<div class="post-metadata">

**Author:** ![georgiats](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/georgiats/32/2571_2.png) [@georgiats](https://forums.balena.io/u/georgiats)\
**Post date:** [June 18, 2020, 10:42am UTC](https://forums.balena.io/t/only-audio-is-bluetooth-bing/132101/17 "2020-06-18T10:42:05Z")

</div>

Could you please try to create a new application and choose the device type to be RasperryPi3, which is the 32-bit OS and not the 64-bit?  
I believe this will resolve the problem, so let me know how it works for you.

Georgia
