I was able to install rhasspy on a Jetson Nano with no issues using docker.
I have a usb mic and currently using the default audio output thru the HDMI connection
I have setup /etc/asound.conf properly and I have been able to arecord and aplay a test.wav file
I have setup to: Use arecord directly (ALSA)
- Rhasspy is hearing me just fine and i can see the intents thru the web console, that part works great.
- I cant hear any output, but i see error msgs in the log when it tries to play any audio. It doesnt even play the sound effects. It seems to have a problem finding the audio files.
there is no usr/share/rhasspy!
dir: cannot access â/usr/share/rhasspyâ: No such file or directory
Hopefully someone can decipher the log to point me towards a solution. I think that 95% is working properly. It is just this audio playback issue that is causing problems. Here is the log after asking pressing wake and asking âwhat time is itâ:
[ERROR:103528164] APlayAudioPlayer: on_receive
Traceback (most recent call last):
File â/usr/share/rhasspy/rhasspy/actor.pyâ, line 175, in on_receive
self._state_method(message, sender)
File â/usr/share/rhasspy/rhasspy/audio_player.pyâ, line 67, in in_started
self.play_file(message.wav_path)
File â/usr/share/rhasspy/rhasspy/audio_player.pyâ, line 90, in play_file
subprocess.run(aplay_cmd, check=True)
File â/usr/lib/python3.6/subprocess.pyâ, line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command â[âaplayâ, â-qâ, â/usr/share/rhasspy/etc/wav/beep_error.wavâ]â returned non-zero exit status 1.
[DEBUG:103528146] DialogueManager: ready -> asleep
[DEBUG:103528145] InboxActor: -> stopped
[INFO:103528138] DialogueManager: Automatically listening for wake word
[DEBUG:103528115] DialogueManager: handling -> ready
[DEBUG:103528114] APlayAudioPlayer: [âaplayâ, â-qâ, â/usr/share/rhasspy/etc/wav/beep_error.wavâ]
[DEBUG:103528113] WebSocketObserver: {âtextâ: âtime is itâ, âintentâ: {ânameâ: ââ, âconfidenceâ: 0}, âentitiesâ: [], âraw_textâ: âtime is itâ, âspeech_confidenceâ: 0.013418784693119133, âwakeIdâ: ââ, âsiteIdâ: âdefaultâ, âslotsâ: {}}
[DEBUG:103528112] DialogueManager: recognizing -> handling
[DEBUG:103528111] DialogueManager: {âtextâ: âtime is itâ, âintentâ: {ânameâ: ââ, âconfidenceâ: 0}, âentitiesâ: [], âraw_textâ: âtime is itâ, âspeech_confidenceâ: 0.013418784693119133, âwakeIdâ: ââ, âsiteIdâ: âdefaultâ}
[ERROR:103528108] FsticuffsRecognizer: in_loaded
Traceback (most recent call last):
File â/usr/share/rhasspy/rhasspy/intent.pyâ, line 183, in in_loaded
assert recognitions, âNo intent recognizedâ
AssertionError: No intent recognized
[DEBUG:103528106] DialogueManager: decoding -> recognizing
[DEBUG:103528105] DialogueManager: time is it (confidence=0.013418784693119133)
[DEBUG:103528103] PocketsphinxDecoder: time is it
[DEBUG:103528103] PocketsphinxDecoder: Transcription confidence: 0.013418784693119133
[DEBUG:103528084] PocketsphinxDecoder: Decoded WAV in 0.708348274230957 second(s)
[ERROR:103527455] APlayAudioPlayer: on_receive
Traceback (most recent call last):
File â/usr/share/rhasspy/rhasspy/actor.pyâ, line 175, in on_receive
self._state_method(message, sender)
File â/usr/share/rhasspy/rhasspy/audio_player.pyâ, line 67, in in_started
self.play_file(message.wav_path)
File â/usr/share/rhasspy/rhasspy/audio_player.pyâ, line 90, in play_file
subprocess.run(aplay_cmd, check=True)
File â/usr/lib/python3.6/subprocess.pyâ, line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command â[âaplayâ, â-qâ, â/usr/share/rhasspy/etc/wav/beep_lo.wavâ]â returned non-zero exit status 1.
[DEBUG:103527391] APlayAudioPlayer: [âaplayâ, â-qâ, â/usr/share/rhasspy/etc/wav/beep_lo.wavâ]