MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Alexa KittAi

    Troubleshooting
    1
    1
    1260
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      navyvette87 last edited by

      When I try to start the wake word I get this. Is there a way to reload or check the install of kitt_ai. Alexa works when using the onscreen button otherwise.

      pi@raspberrypi:~ $ cd ~/Desktop/alexa-avs-sample-app/samples
      pi@raspberrypi:~/Desktop/alexa-avs-sample-app/samples $ cd wakeWordAgent/src && ./wakeWordAgent -e kitt_ai

      INFO:main: Starting Wake Word Agent
      INFO:WakeWordAgent: State set to IDLE(2)
      ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
      ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
      ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
      ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
      ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
      ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
      ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
      ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
      ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
      ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
      ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’
      ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
      ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
      ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
      ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’
      ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
      ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
      ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
      ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
      Expression ‘paInvalidSampleRate’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2043
      Expression ‘PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2714
      Expression ‘PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2838
      ERROR:Failed to open PortAudio stream.Invalid sample rate
      ERROR:KittAiSnowboyWakeWordEngine: Initialization error:Failed to open PortAudio stream.
      ERROR:WakeWordAgent: exception in constructor: Failed to open PortAudio stream.
      ERROR:main: Exception happened: Failed to open PortAudio stream.
      INFO:Shutting down Wake Word Agent
      pi@raspberrypi:~/Desktop/alexa-avs-sample-app/samples/wakeWordAgent/src $

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy