No audio and can't select audio device

In a fresh docker install i tried the speak button but didn’t work. Also tried to change the audio output but seems like didn’t save.

What mic are you using?

I’m using a USB Headset Plantronics 320M. But they used to work in another rhasppy version

Which rhasspy Version did you pull?

The latest one 2.4.19.

Also i found this guy with the same problem and solution. But idk how the profile.json looks like at sound and microphone section.

Here https://github.com/synesthesiam/rhasspy/issues/194
Sorry i didn’t copy the link.

What are you referring to?

That was the answer.

Checking the profile.json file in the .config folder i found this:

{
“microphone”: {
“arecord”: {
“device”: “sysdefault:CARD=C320M”
},
“pyaudio”: {
“device”: “1”
},
“system”: “arecord”
}
}

But the audio settings didn’t save. So, Now my file looks like this

{
“microphone”: {
“arecord”: {
“device”: “sysdefault:CARD=C320M”
},
“pyaudio”: {
“device”: “1”
},
“system”: “arecord”
},
“sounds”:{
“aplay”:{
“device”: “sysdefault:CARD=C320M”
},
“system”: “aplay”
}
}

Now in the Web UI shows my headset at microphone and sounds sections

Be careful when making changes in the profile.json file, in the display of this file in Rhasspy and in the settings. The browser chaches information and some changes are not displayed in the browser, so sometimes you may unintentionally overwrite changes back (old version in cache, will be written when saving).

You can work around this problem by clearing the browser cache or using the incognito mode - then you will see the uncached current state in Rhasspy.