But it will not do any music and or sound! It plays the doo doo when I connect via Bluetooth or Airplay.
I have tried this with an iOS phone and an Android Phone.
Thanks in advance for your help.
Hey @JesseBlueberry welcome to the forums and thanks for trying the project! Well done on successfully deploying the code, the fact youâre hearing the sound when you connect is a great sign.
Usually, as youâve clearly been able to get everything working, this is simply a case that the volume on the client device is not turned up high enough to hear the output. Iâd double check everything is turned up or perhaps try some other client devices.
I have tried to do this, but since we donât have many speakers, (we were going to buy some) I have been using external speakers connected to my computer. I have put the volume all the way up.
Hey @JesseBlueberry,
we think that a different client device might help. Could you do a test with a laptop or a phone and see if the problem persists ?
Hey @JesseBlueberry,
may I ask you to please clarify the âexternal speakers connected to my computerâ setup ?
Could I ask you also to run amixer on the bluetooth-audio container and share with us the output of that command ?
The output of the command is
Simple mixer control âPCMâ,0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback -2258 [75%] [-22.58dB] [on]
I have a surround sound audio setup that uses 1 AUX cable.
Hi, can you please run this command and see if you can hear sounds afterwards?: amixer -M sset PCM,0 100%. This will raise volume to 100%.
You can use this command: aplay -D hw:0,0 /usr/src/sounds/connect.wav to test wether the audio is coming out or not. Iâll play the connect sound you hear when connecting via bluetooth.
Ok, so that means that the app is getting the audio out. So the problem is in the client you are using to stream the audio initially. How are you streaming audio? I noticed at the start of this thread you said your bluetooth connection is dropping? Is that still the case? Can you try streaming via Spotify or Airplay?
With airplay it connects, and when I go to play music, it says its playing, but its not. I cannot use Spotify as I do not have premium. I noticed that is says Playback Channels: Mono. Does that mean anything? Yes it does drop the connection via bluetooth. Also snapcast-server always goes Downloading, Downloaded and then restarts infinitely. Could that be a problem?
Iâm unsure if that is related to the audio issues, but it gives us something else to try. Can you disable multiroom, which will reduce the running containers and see if that helps? You can see how to do this here https://github.com/balenalabs/balena-sound#multi-room by adding a device variable of DISABLE_MULTI_ROOM.
It only says
default, balenaSound will start in multi-room mode. When running multi-room you can stream audio into a fleet of devices and have it play perfectly synchronized. It does not matter wether you have 2 or 100 devices, you only need them to be part of the same local network.
If you donât want to use multi-room or you only have one device, you can disable it by creating the DISABLE_MULTI_ROOM variable (with any value, for example: 1 ).
Note: Multi-room requires a network router that supports IP multicast/broadcast (most modern routers do).
How do I change the variable?
This Missing RTP packet: 2122 != 2120 usually points to a known error with Raspberry Pi 3âs where bluetooth interferes with wifi signal (see here for more details). Are you using a RPi 3?
If you disconnect from bluetooth and use AirPlay it should work though. Can you verify AirPlayâs volume is not set too low?
Lastly about this:
Also snapcast-server always goes Downloading, Downloaded and then restarts infinitely. Could that be a problem?
Yes, this is a problem Can you confirm that all your services have downloaded and are in Running status?
Hey @JesseBlueberry,
Catching up on this thread, it seems weâve tried a lot of things here.
snapcast-server service seems to be stuck in a restart loop.
Can you confirm if youâve disabled the multi-room feature by setting the DISABLE_MULTI_ROOM to and giving it a value of 1 as mentioned above?
You could also run the Device Health Checks from the Diagnostics tab of your device and confirm that it is working fine?