raspberrypi / pi-codec Goto Github PK
View Code? Open in Web Editor NEWTools for the IQaudIO Pi-Codec / CodecZero sound cards
Tools for the IQaudIO Pi-Codec / CodecZero sound cards
With loading the Codec_Zero_Playback_only.state
via sudo alsactl restore -f Codec_Zero_Playback_only.state
my Monospeaker works with this speaker-test -t wav -c 1
. With this .state
I can't record via the onboard-mic by doing arecord -f cd test.wav
.
If I switch to Codec_Zero_OnboardMIC_record_and_SPK_playback.state
via sudo alsactl restore -f Codec_Zero_OnboardMIC_record_and_SPK_playback.state
I can record via arecord -f cd test.wav
, but my monospeaker will not ouput with aplay test.wav
. If I switch back to Codec_Zero_Playback_only.state
I can play the aplay test.wav
and it outputs on my monospeaker.
I assume that the Codec_Zero_OnboardMIC_record_and_SPK_playback.state
uses the Stereo OUT, which unfortunatley I don't have hardware at my hand.
How can i configure the .state
file to use onboard-mic and mono-out? Is this scenario covered by any .state
file here?
The speaker I have has a positive and a negative, but the card does not. I assume the polarity doesn't matter then - will report back if the magic smoke comes out...
Many of the instructions say to sudo things; that does not work these days with alsa and you get the unhelpful message "don't do that." Why sound is set up for multiple users on something so single user as a pi, I have no idea. Could we fix the instructions perhaps raspberrypi people. So far it seems to work by not using sudo if you get that message.
I am running latest raspberry pi os lite version, I have configured the config.txt file accordingly.. however I receive the following error when trying to load the state files:
pi@raspberrypi1:~/Downloads/Pi-Codec-master $ sudo alsactl restore -f IQaudIO_Codec_AUXIN_record_and_HP_playback.state
alsactl: set_control:1461: Cannot write control '2:0:0:Mic 1 Volume:0' : Remote I/O error
alsactl: set_control:1461: Cannot write control '2:0:0:Mic 2 Volume:0' : Remote I/O error
alsactl: set_control:1461: Cannot write control '2:0:0:Aux Volume:0' : Remote I/O error
alsactl: set_control:1461: Cannot write control '2:0:0:Mixin PGA Volume:0' : Remote I/O error
alsactl: set_control:1461: Cannot write control '2:0:0:ADC Volume:0' : Remote I/O error
alsactl: set_control:1461: Cannot write control '2:0:0:DAC Volume:0' : Remote I/O error
alsactl: set_control:1461: Cannot write control '2:0:0:Headphone Volume:0' : Remote I/O error
alsactl: set_control:1461: Cannot write control '2:0:0:Lineout Volume:0' : Remote I/O error
alsactl: set_control:1461: Cannot write control '2:0:0:DAC EQ Switch:0' : Remote I/O error
alsactl: set_control:1461: Cannot write control '2:0:0:DAC EQ1 Volume:0' : Remote I/O error
Any help is appreciated, it seems another user has the same issue: https://forums.raspberrypi.com/viewtopic.php?t=323725
I can't seem to get the codec zero (I have an IQAudio one) working with the raspberry pi 5.
If I take all the steps as instructed here . If I switch the codec + SD card from an RPI5 to an RPI4 everything works.
Another person also has the same issue: https://forums.raspberrypi.com/viewtopic.php?t=365243 with the exact description of actions as me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.