@NSchnitzler could you or someone else fix this problem with raspberry 4 and matrix voice?
I have the same issue, especially with sound output (beeps or play record) over the matrix voice speaker ports (no jack).
With your asound.conf settings I could get the sound input running, but still no output.
The log with “okay rhasspy” after “wake up - button” says:
[DEBUG:2020-04-11 12:17:06,507] rhasspyserver_hermes: Sent 267 char(s) to websocket
[DEBUG:2020-04-11 12:17:06,498] rhasspyserver_hermes: Handling NluIntent (topic=hermes/intent/GetGarageState, id=21661a75-0beb-48a2-8bbd-fcae1857ef26)
[DEBUG:2020-04-11 12:17:06,495] rhasspyserver_hermes: <- NluIntent(input=‘ist das garagentor geschlossen’, intent=Intent(intent_name=‘GetGarageState’, confidence_score=0.85), site_id=‘default’, id=‘ea404648-44bb-40c3-91ba-498f1263cffb’, slots=[], session_id=‘ea404648-44bb-40c3-91ba-498f1263cffb’, custom_data=None, asr_tokens=[[AsrToken(value=‘ist’, confidence=1.0, range_start=0, range_end=3, time=None), AsrToken(value=‘das’, confidence=1.0, range_start=4, range_end=7, time=None), AsrToken(value=‘garagentor’, confidence=1.0, range_start=8, range_end=18, time=None), AsrToken(value=‘geschlossen’, confidence=1.0, range_start=19, range_end=30, time=None)]], asr_confidence=None, raw_input=‘ist es wie’, wakeword_id=None)
[DEBUG:2020-04-11 12:17:06,352] rhasspyserver_hermes: Publishing 185 bytes(s) to hermes/nlu/query
[DEBUG:2020-04-11 12:17:06,350] rhasspyserver_hermes: -> NluQuery(input=‘ist es wie’, site_id=‘default’, id=‘ea404648-44bb-40c3-91ba-498f1263cffb’, intent_filter=None, session_id=‘ea404648-44bb-40c3-91ba-498f1263cffb’, wakeword_id=None)
[DEBUG:2020-04-11 12:17:06,345] rhasspyserver_hermes: Publishing 74 bytes(s) to hermes/asr/stopListening
[DEBUG:2020-04-11 12:17:06,344] rhasspyserver_hermes: -> AsrStopListening(site_id=‘default’, session_id=‘ea404648-44bb-40c3-91ba-498f1263cffb’)
[DEBUG:2020-04-11 12:17:06,340] rhasspyserver_hermes: Waiting for intent (session_id=ea404648-44bb-40c3-91ba-498f1263cffb)
[DEBUG:2020-04-11 12:17:06,330] rhasspyserver_hermes: Handling AsrTextCaptured (topic=hermes/asr/textCaptured, id=6e82b29e-be2c-4da4-8d51-060963fbc6dc)
[DEBUG:2020-04-11 12:17:02,616] rhasspyserver_hermes: Publishing 144 bytes(s) to hermes/asr/startListening
[DEBUG:2020-04-11 12:17:02,615] rhasspyserver_hermes: -> AsrStartListening(site_id=‘default’, session_id=‘ea404648-44bb-40c3-91ba-498f1263cffb’, stop_on_silence=True, send_audio_captured=True, wakeword_id=None)
[DEBUG:2020-04-11 12:17:02,612] rhasspyserver_hermes: Waiting for transcription (session_id=ea404648-44bb-40c3-91ba-498f1263cffb)
If I try to play a sample, the sound output works great over the speaker ports with:
wget https://goo.gl/CDF6sf -O ./audio-sample.wav
aplay -D "hw:2,1" ./audio-sample.wav
But when I choose matrixvoice from the available devices, nothing happens, except this error after hit the button “Play Recording”:
RuntimeError: Command ‘[‘aplay’, ‘-q’, ‘-t’, ‘wav’, ‘-D’, ‘dmix:CARD=MATRIXIOSOUND,DEV=1’]’ returned non-zero exit status 1.
Does anyone have an idea or a hint?
thx and greetings,
Thomas