Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 910

HATs and other add-ons • DigiAMP+ no stereo output

$
0
0
Hi!

I'm a sound designer destined to setup several Raspberry Pi 3 B+ & DigiAMP+ pairs. With my very limited raspberrian skills, I've managed to get sound out of the sound cards. But I have a problem:

Any stereo signal or separate Left/Right signals gets mono-summed and played back into both speakers at the same time. Also, the sound plays back slowly, as if with half the sample rate.

If I run speaker-test, I get this printout:

Code:

$ speaker-test -c2 -twav -l7 -D plughw:0,0speaker-test 1.2.4Playback device is plughw:0,0Stream parameters are 48000Hz, S16_LE, 2 channelsWAV file(s)Rate set to 48000Hz (requested 48000Hz)Buffer size range from 8 to 131072Period size range from 4 to 65536Using max buffer size 131072Periods = 4was set period_size = 32768was set buffer_size = 131072 0 - Front Left 1 - Front Right

When I switch to Raspberry's internal audio device and listen through the headphone jack, the stereo split works and sample rate is correct.

The OS is Raspbian GNU/Linux 11 (bullseye), and I've updated kernel to the latest Linux 6.6.25-v7+.

aplay - gives this info about the device:

Code:

$ aplay -l**** List of PLAYBACK Hardware Devices ****card 0: IQaudIODAC [IQaudIODAC], device 0: IQaudIO DAC HiFi pcm512x-hifi-0 [IQaudIO DAC HiFi pcm512x-hifi-0]  Subdevices: 1/1  Subdevice #0: subdevice #0
The subdevices shows 1/1. The example in the IQaudIO manual has 0/1. Just wondering...?

Any ideas what's wrong?

Thanks!
Matias

Statistics: Posted by mmmh — Wed Apr 10, 2024 4:38 pm



Viewing all articles
Browse latest Browse all 910

Trending Articles