Coder Social home page Coder Social logo

Comments (3)

shivasiddharth avatar shivasiddharth commented on May 9, 2024

open a terminal, run the following command and get back with the error that you see:
arecord -d 10 -D hw:1,0 -r 16000 -f S16_LE -c1 /home/pi/mic-test.wav

from assistants-pi.

smcsekar avatar smcsekar commented on May 9, 2024

Started a fresh install from scratch today.. Got the same mic error. Tried the command you suggested got the following below

Great!! Proceeding to test the microphones......

A 10 second audio sample will be recorded for testing. Are you ready?
[y/n] >> y
Select your audio config that you used:

  1. AIY-HAT-or-CUSTOM-HAT
  2. USB-DAC-or-USB-SOUNDCARD-or-USB-MIC

Please select an option [1-2] 2
Selection: USB-DAC-or-USB-SOUNDCARD-or-USB-MIC
=============Recording Mic Audio Sample=============
Recording WAVE '/home/pi/mic-test.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
arecord: set_params:1305: Channels count non available

Finished recording the samples.

Playing back the recorded audio sample......

/home/pi/mic-test.wav: No such file or directory
Did you hear the recorded audio sample?
[y/n] >> n
Execute arecord -l in terminal and verify the card id with the ones mentioned in asound.conf file and .asoundrc file. Exiting...
pi@raspberrypi:~ $ arecord -d 10 -D hw:1,0 -r 16000 -f S16_LE -c1 /home/pi/mic-test.wav
Recording WAVE '/home/pi/mic-test.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
arecord: set_params:1305: Channels count non available
pi@raspberrypi:~ $

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 9, 2024

I included this audio test just to make sure that your mic works. This does not mean that the installation will not work. You can proceed with the installation. Try this command but.
arecord -d 10 -D hw:1,0 -r 16000 -f S16_LE /home/pi/mic-test.wav

from assistants-pi.

Related Issues (20)

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.