Unfortunately there isn't a manual/tutorial for operating sound under linux, however there are some nice sites with links ...
What sort of information are you after specifically ?
Awesome ! thanks for the info.mario wrote: ↑Fri Dec 29, 2017 9:28 pmHello,
I'm not a linux expert but I had no problems installing the soundcard; anyway I had the "famous" problem of sound going only through HDMI.
After some search I've found an explanation for my problem and maybe this can be useful for other users.
This is the interesting article: https://www.raspberrypi.org/documentation/usage/audio/
and this was the very important concept (that I didn't know):
"Note that omxplayer doesn't use ALSA and so ignores the audio configuration set by raspi-config or amixer"
This was the reason why aplay was working but the omxplayer was always playing through HDMI.
It's possible to force output over the headphone jack with:
omxplayer -o local example.mp3
I don't know if this a solution for other people but it gave me an explanation to an apparent mistery
If you type dmesg, do you see this line ?turboatti wrote: ↑Tue Jan 09, 2018 5:15 amHello!
I 've some problems to setup the stereo card.
I've the following software and hardware:
-raspberry pi 3 model b
-7" lcd touchscreen (connected via GPIO)
-AudioInjector AIH v1.5 (via GPIO)
-Raspian noobs 2.4.5 with the latest kernel update
I've done the install as you said as manually as automatically...
If I try to open the alsa mixer or command aplay -l
"alsactl: load state:1735 No sound cards found"
What way should I go forward to solve my problems?
Thanks in advance!
Code: Select all
wm8731-hifi <-> 3f203000.i2s mapp ing ok
customcables067 wrote: ↑Fri Jan 12, 2018 8:32 amHoping for some help with setup. I've installed and configured according to the manual steps listed on page 1...
[ 3.662217] audioinjector-stereo soc ASoC: CPU DAI (null) not register ed - will retry
[ 3.662232] audioinjector-stereo soc snd_soc_register_card failed (-51 7)
[ 3.671883] audioinjector-stereo soc ASoC: CODEC DAI wm8731-hifi not r egistered - will retry
[ 3.671895] audioinjector-stereo soc snd_soc_register_card failed (-51 7)
[ 4.040499] audioinjector-stereo soc ASoC: CODEC DAI wm8731-hifi not r egistered - will retry
[ 4.040508] audioinjector-stereo soc snd_soc_register_card failed (-51 7)
[ 4.045739] audioinjector-stereo soc ASoC: CODEC DAI wm8731-hifi not r egistered - will retry
[ 4.045747] audioinjector-stereo soc snd_soc_register_card failed (-51 7)
[ 4.871507] audioinjector-stereo soc wm8731-hifi <-> 3f203000.i2s mapp ing ok
arecord: device_list:268: no soundcards found...
Awesome ! Thanks for the good news.pzaremba wrote: ↑Sun Jan 14, 2018 9:07 pmHi,
Just checking in. Got a flatmax stereo for Pi for Christmas and just got it up and running with my RPi 3B with a fresh load of Raspbian Stretch.
Looking at a nice spectrogram of the 10 kHz pulsing test loopback tone. No sweat, super easy.
Granted, I am a fairly advanced Linux and RPi user...so...someone who is coming in fresh expecting plug and play might have a litter tougher time with it.
I even convinced my buddy to pick one up.
Tt's up and running, and now it's time to play with it! We are working on audio processing tools and this is going to be an excellent addition to our kit.
Great to hear from you, thanks for purchasing.AB1VL wrote: ↑Sun Jan 21, 2018 1:33 amHello, I h ave a new Pi3B with Stretch. Did auto-install deb scripts. Now running audioInjector-test.sh but see big vertical yellow bars. Cmic1 is not populated so no surprise there, right? ( I ordered the non-mic version on purpose FYI)
I plugged small amplified speakers into 3.5 mm jack and I hear audio in and out alternately from my main app, digital radio wsjt-x, which reads (captures) and writes coded audio from a real HF radio, alternately. That app is set to plughwCARD=audioinjector.DEV0 for input and output, Mono input and Both output. Seems to be working OK so far using RCA phono jack connectors i and out, monitor using speakers as above is a helpful feature. wsjt-x p calls for 16 bit, 48000 sample audio, more resolution is not recommended as it adds overheard. Do I need to set some alsa or other command to assure this? BTW, on native Linux like Lubuntu on AMD64 mobo the app wants Pulseaudio, which I have installed on pi as well.
In Pi audio prefs/Audio Dev settings the only device to choose from is audioinjector-pi-soundcard. Is that always correct? Should I want to, would I have to change dev tree to HDMI or the native pi bcm to get youtube vid audio to play? It doesn't play now. That is, how do I get audioinjector stereo to capture and play youtube vid audio, or any other app audio? I suspect this has something to do with the current ALSA/pulseaudio config but I'm a noob with Linux audio. With my digital radio app off and unloaded, I can't get other apps to play. I did set raspi-config audio to auto before running install scripts.
some specifics: 1) Do all references to Mic refer to on-board mic? Also is RCA Input always line level or can it be set to mic? Or is the mic/preamp connector the 3.5mm jack the way in for external mic?
2) The board capabilities as listed on Amazon are insufficient to work out the possibilities. Do you have a logical diagram or pdf that shows examples of typical use?
3) can I safely assume if ALSA supports it, so does the the injector?
4) can you point me to a good ALSA primer, e.g "Three Stooges meet ALSA" <g>
5) Can stereo channels be split to process two different mono streams, and routed to RCA out or 3.5 mm in or out?
tnx in advance, chuck
OK - it should work ... what is the output of aplay -l and arecord -l ?Franshej wrote: ↑Mon Jan 22, 2018 4:19 amHi
I got the error when i try to record or play:
Recording WAVE '/tmp/test.wav' : Signed 32 bit Little Endian, Rate 96000 Hz, Stereo
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
arecord: set_params:1270: Broken configuration for this PCM: no configurations available
I've got an raspberry 2B, Jessie and run the automatic tutorial. I can see the Audio injector in the ALSA mixer.
Users browsing this forum: No registered users and 6 guests