Problem setting up soundcard

Moderator: flatmax

Post Reply
L2_Envy
Posts: 1
Joined: Sat Dec 24, 2016 11:46 am

Problem setting up soundcard

Post by L2_Envy » Sat Dec 24, 2016 11:58 am

So I ordered the sound card with the mic.
I am attempting to set it up, (I followed the setup instructions). I'm fairly new to the raspberry pi.

My whole goal I am attempting to accomplish is to have an alexa (from amazon echo) on my raspberry pi by utilising the mic and sound card.
Alexa and all is installed and working properly.
I try to go to youtube and test the speaker, but nothing comes through. I enabled everything in the controls for the audio.

When I try to use the mic, I get an error stating
line with format PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian not supported

But when I take off the sound card, and just plug in a normal webcam with a mic. the mic works. (but not the speakers).

Any help would be greatly appreciated.

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Problem setting up soundcard

Post by flatmax » Mon Dec 26, 2016 10:17 am

Hi there,

The Raspberry Pi I2S driver doesn't support anything less then 2 channels of audio. For that reason, you will need to try to record again using 2 channels of audio. Alternatively, you can record using the "dsnoop" ALSA audio device, which will do the necessary conversions for you. You can find the correct syntax for that device by typing the command "arecord -L".

The reason why your USB microphone was able to record a mono channel is that it doesn't use the Raspberry Pi i2s driver, it uses the USB UAC audio driver.

thanks
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests