Giter Club home page Giter Club logo

pi-codec's People

Contributors

pelwell avatar tobybroberts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pi-codec's Issues

Can't use onboard-mic AND mono speaker with `Codec_Zero_OnboardMIC_record_and_SPK_playback.state`

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?

Can't run alsa as root

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.

getting error loading alsactl state files

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.