MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Alexa KittAi

    Scheduled Pinned Locked Moved Troubleshooting
    1 Posts 1 Posters 1.4k Views 1 Watching
    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 Offline
      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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy