nicokaiser / rpi-audio-receiver

Raspberry Pi Audio Receiver with Bluetooth A2DP, AirPlay 2, and Spotify Connect
MIT License
1.38k stars 148 forks source link

mono to stereo #31

Closed valix85 closed 4 years ago

valix85 commented 4 years ago

Hi, when i run $ amixer I obtain this: Simple mixer control 'PCM',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback -10239 - 400 Mono: Playback -25 [96%] [-0.25dB] [on] It's possible evolve it from mono to stereo? Another question, sometimes audio pick/sick. I use raspberry 3 model B+ and I have connect it to yamaha rx-v571 by hdmi and I stream with OnePlus 7 by bluetooth.

Thank you

nicokaiser commented 4 years ago

Can you test if the audio is really mono? As far as I know the output you mention only applies to the mixer (so both channels are adjusted equally when setting the volume). Do you try to play audio through the Raspberry's 3.5mm jack, or through HDMI?

nicokaiser commented 4 years ago

As for the audio glitches: do you use the internal Bluetooth and the internal WiFi? If so, try disabling the WiFi connection while playing via Bluetooth by uncommenting the two ifconfig lines in /usr/local/bin/bluetooth-udev.

To achieve the best result, you might need to use a Bluetooth USB dongle (like the CSR 4.0 / CSR8510) and a USB or I2S audio adapter.

valix85 commented 4 years ago

I test my system with youtube video ( https://www.youtube.com/watch?v=MkObqRUvpRY ) and work in stereo mode and work fine. I use HDMI under bluetooth.

valix85 commented 4 years ago

I try with 5.1 test ( https://www2.iis.fraunhofer.de/AAC/multichannel.html first HE-AAC ) but doesn't work fine, I think the sound in downgraded to Stereo.

nicokaiser commented 4 years ago

Oh, I‘m not sure if BlueAlsa (or even Bluetooth Audio with SBC at all) supports more channels than Stereo...