[Audio Server] reported an error on site default : An error happened while trying to play some audio

Sorry if this is a silly question, the wrong place to ask it, etc., but I’m brand new to Snips and have run into problems with the demo; I’m using a Raspberry Pi 3 and MATRIX Creator, and the sam test speaker and sam test microphone work flawlessly, but the demo’s audio is always choppy/truncated/non-existent; I ran sam watch to see if it might help diagnose and saw these audio output errors, which seem like a clue, but I’m not really sure what to do with? :sweat_smile: Thanks in advance for your assistance! :blue_heart:

[00:12:10] Watching on localhost:1883 (MQTT)
[00:12:13] [Hotword] detected on site default, for model hey_snips
[00:12:13] [Asr] was asked to stop listening on site default
[00:12:13] [Hotword] was asked to toggle itself 'off' on site default
[00:12:13] [Dialogue] session with id '217986c3-90d0-4ca6-93e6-f78d467edddb' was started on site default
[00:12:13] [AudioServer] was asked to play a wav of 41.1 kB with id '7ec4a412-b9e5-4548-873b-a5534747665e' on site default
[00:12:13] [AudioServer] finished playing wav with id '7ec4a412-b9e5-4548-873b-a5534747665e'
[00:12:13] [Asr] was asked to listen on site default
[00:12:17] [Asr] captured text "what is the weather in paris" in 3.0s
[00:12:17] [Asr] was asked to stop listening on site default
[00:12:17] [AudioServer] was asked to play a wav of 93.1 kB with id 'c55fa7a2-455e-4b66-9b37-3be70cd1313b' on site default
[00:12:17] [AudioServer] finished playing wav with id 'c55fa7a2-455e-4b66-9b37-3be70cd1313b'
[00:12:17] [Nlu] was asked to parse input "what is the weather in paris"
[00:12:17] [Nlu] detected intent searchWeatherForecast with confidence score 1.000 for input "what is the weather in paris"
              Slots ->
                 forecast_locality -> Paris (confidence: 0.981) 
[00:12:17] [Dialogue] New intent detected searchWeatherForecast with confidence 1.000
              Slots ->
                 forecast_locality -> Paris (confidence: 0.981) 
[00:12:17] [Dialogue] was ask to end session with id 217986c3-90d0-4ca6-93e6-f78d467edddb by saying 'You asked for the weather in Paris'
[00:12:17] [Tts] was asked to say "You asked for the weather in Paris"
[00:12:17] [Tts] finished speaking with id '7542fe49-8883-4669-af84-b0ddc0ece3f2'
[00:12:17] [Dialogue] session with id '217986c3-90d0-4ca6-93e6-f78d467edddb' was ended on site default. The session ended as expected
[00:12:17] [Asr] was asked to stop listening on site default
[00:12:17] [Hotword] was asked to toggle itself 'on' on site default
[00:12:28] [Hotword] detected on site default, for model hey_snips
[00:12:28] [Asr] was asked to stop listening on site default
[00:12:28] [Hotword] was asked to toggle itself 'off' on site default
[00:12:28] [Dialogue] session with id 'bc9ba408-b60a-4e34-bd07-ca888376f681' was started on site default
[00:12:28] [AudioServer] was asked to play a wav of 41.1 kB with id '0ac57163-d250-45ee-a0bb-c332ddcebe63' on site default
[00:12:38] [Audio Server] reported an error on site default : An error happened while trying to play some audio
[00:12:43] [Dialogue] session with id 'bc9ba408-b60a-4e34-bd07-ca888376f681' was ended on site default. The session timed out because the Audio Server component did not respond in a timely manner. Please ensure that the snips audio server is started and running correctly.
[00:12:43] [Asr] was asked to stop listening on site default
[00:12:43] [Hotword] was asked to toggle itself 'on' on site default
[00:12:45] [Hotword] detected on site default, for model hey_snips
[00:12:45] [Asr] was asked to stop listening on site default
[00:12:45] [Hotword] was asked to toggle itself 'off' on site default
[00:12:45] [Dialogue] session with id '65afc00a-c46c-455e-98f4-ae06d638200f' was started on site default
[00:12:45] [AudioServer] was asked to play a wav of 41.1 kB with id 'ae201487-49dd-42d9-8a65-1f22c7b858c0' on site default
[00:12:56] [Audio Server] reported an error on site default : An error happened while trying to play some audio

Hi,

It seems your audio-server is encountering an issue.

[Dialogue] session with id 'bc9ba408-b60a-4e34-bd07-ca888376f681' was ended on site default. The session timed out because the Audio Server component did not respond in a timely manner. Please ensure that the snips audio server is started and running correctly.

As a next step, you can run the audio-server in a terminal to check the output when the error occurs.

sudo systemctl stop snips-audio-server
sudo -u _snips snips-audio-server -v

Also, can you provide the output of cat /etc/asound.conf, aplay -lL and arecord -lL .

It is useful to know that you can use two types of audio backend (alsa or portaudio)

The default configuration use Alsa, but for some reason, if this configuration is not adapted to your configuration you can switch to portaudio using portaudio_playback and portaudio_capture in the audio-server section of your snips.toml configuration file.

To test that out quickly you can use the following command (assuming that your playback output is on “default”)

sudo -u _snips snips-audio-server -v --portaudio_playback="default"
1 Like

Since the update, I have the same problem, as mentioned here:

Will try to use portaudio.

1 Like

Using

sudo -u _snips snips-audio-server -v --portaudio_playback="default"

with default gives me this:

Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923
[09:59:16.201716] ERROR:snips_audio_server_hermes::player: An error happened while trying to play some audio: could not play "8934f8a0-1062-49a9-b25b-c10a464ac19f"
 -> caused by: an error occured in the audio pipeline: ErrorMessage { msg: "Couldn\'t find a PortAudio device with the name default" }
 -> caused by: Couldn't find a PortAudio device with the name default

How can I find out which name my portaudio device might have? Or if I even have one?

alsa outputs:

pi@sunnysnips:~ $ cat /etc/asound.conf
pcm.!default {
    type asym
    playback.pcm {
        type plug
        slave.pcm "hw:0,0"
    }
    capture.pcm {
        type plug
        slave.pcm "hw:1,0"
    }
}
pi@sunnysnips:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: CameraB409241 [USB Camera-B4.09.24.1], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pi@sunnysnips:~ $ play -l
-bash: play: command not found
pi@sunnysnips:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pi@sunnysnips:~ $
sudo systemctl stop snips-audio-server
sudo -u _snips snips-audio-server -v

brings

[10:05:08.777056] DEBUG:snips_audio_server_hermes::player: Playing bytes 3e8d9c4d-3fa6-4caa-ad2a-f1284c2d653a
[10:05:08.779265] INFO :snips_audio_alsa::playback       : Using ALSA output None ("bcm2835 ALSA") for "3e8d9c4d-3fa6-4caa-ad2a-f1284c2d653a", WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
[10:05:08.841502] INFO :snips_audio_alsa::playback       : Playback for 3e8d9c4d-3fa6-4caa-ad2a-f1284c2d653a finished
[10:05:08.841866] DEBUG:snips_audio_server_hermes::player: Finished Playing bytes 3e8d9c4d-3fa6-4caa-ad2a-f1284c2d653a
[10:05:11.573993] DEBUG:snips_audio_server_hermes::player: Playing bytes e66b7643-3c1e-4826-8241-2fc9827e929e
[10:05:11.576518] INFO :snips_audio_alsa::playback       : Using ALSA output None ("bcm2835 ALSA") for "e66b7643-3c1e-4826-8241-2fc9827e929e", WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
[10:05:11.651513] INFO :snips_audio_alsa::playback       : Playback for e66b7643-3c1e-4826-8241-2fc9827e929e finished
[10:05:11.651949] DEBUG:snips_audio_server_hermes::player: Finished Playing bytes e66b7643-3c1e-4826-8241-2fc9827e929e
[10:05:12.189383] DEBUG:snips_audio_server_hermes::player: Playing stream 802d6670-36f1-4170-8e82-c926df575fae
[10:05:12.189467] DEBUG:snips_audio_alsa::playback       : playing stream 802d6670-36f1-4170-8e82-c926df575fae
[10:05:12.189499] DEBUG:snips_audio_alsa::playback       : got playback lock
[10:05:12.192197] INFO :snips_audio_alsa::playback       : Using ALSA output None ("bcm2835 ALSA") for "802d6670-36f1-4170-8e82-c926df575fae", WavSpec { channels: 1, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
[10:05:12.391472] INFO :snips_audio_alsa::playback       : Playback for 802d6670-36f1-4170-8e82-c926df575fae finished
[10:05:12.391847] DEBUG:snips_audio_server_hermes::player: Finished playing stream 802d6670-36f1-4170-8e82-c926df575fae
[10:05:19.975652] DEBUG:snips_audio_server_hermes::player: Playing bytes bbd825e0-dee6-4784-b9cb-5f0a153bc091
[10:05:19.978376] INFO :snips_audio_alsa::playback       : Using ALSA output None ("bcm2835 ALSA") for "bbd825e0-dee6-4784-b9cb-5f0a153bc091", WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
[10:05:20.041422] INFO :snips_audio_alsa::playback       : Playback for bbd825e0-dee6-4784-b9cb-5f0a153bc091 finished
[10:05:20.041775] DEBUG:snips_audio_server_hermes::player: Finished Playing bytes bbd825e0-dee6-4784-b9cb-5f0a153bc091
[10:05:24.100425] DEBUG:snips_audio_server_hermes::player: Playing bytes 5a720b1e-b673-4981-89ea-16d37d2dc3d7
[10:05:24.103754] INFO :snips_audio_alsa::playback       : Using ALSA output None ("bcm2835 ALSA") for "5a720b1e-b673-4981-89ea-16d37d2dc3d7", WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
[10:05:34.141887] ERROR:snips_audio_server_hermes::player: An error happened while trying to play some audio: could not play "5a720b1e-b673-4981-89ea-16d37d2dc3d7"
 -> caused by: an error occured in the audio pipeline: Error("snd_pcm_drain", Sys(EIO))
 -> caused by: ALSA function 'snd_pcm_drain' failed with error 'EIO: I/O error'

[10:05:39.831922] DEBUG:snips_audio_server_hermes::player: Playing bytes 58601a8d-aac0-4417-a4de-f35f8fecd2f0
[10:05:39.834619] INFO :snips_audio_alsa::playback       : Using ALSA output None ("bcm2835 ALSA") for "58601a8d-aac0-4417-a4de-f35f8fecd2f0", WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
[10:05:50.141981] ERROR:snips_audio_server_hermes::player: An error happened while trying to play some audio: could not play "58601a8d-aac0-4417-a4de-f35f8fecd2f0"
 -> caused by: an error occured in the audio pipeline: Error("snd_pcm_drain", Sys(EIO))
 -> caused by: ALSA function 'snd_pcm_drain' failed with error 'EIO: I/O error'

Note: The first command I issued was working fine, afterwards errors again.

1 Like

I would also like to highlight that my setup was working before and that my satellites that have the old version and client installed a still working.

I could flash an old backup to the base and copy the assistant from the satellites over to get my house control working again. But I can’t continue developing my app then…

1 Like

Send here the content of your asound.conf file. Usually in /etc/asound.conf sometimes in your home.

It depends how you configured your audio.

1 Like

Do you want asound.rc (which I can’t find anywhere) or asound.conf which I posted above already?

1 Like

yes sorry, it is a typo I just fixed.

Ok, I see your conf

pcm.!default {
    type asym
    playback.pcm {
        type plug
        slave.pcm "hw:0,0"
    }
    capture.pcm {
        type plug
        slave.pcm "hw:1,0"
    }
}
1 Like

Should be ok, or not?

1 Like

@HorizonKane,

I can reproduce your issue now.

It appears only when using the alsa backend and the raspberry pi embedded sound card.
We use piHAt boards, so we did not see this issue before.

I could solve this issue using --portaudio_playback="default" option when running the snips-audio-server using my configuration.

Now I try to figure out why your asound.conf configuration does not work.

Just wondering, does this command works on your device?

sudo -u _snips aplay /usr/share/snips/assistant/custom_dialogue/sound/end_of_input.wav
1 Like

Hi,

thanks for your investigations. Will check when at home and reply back.

1 Like

Hey,

i got exactly the same problem than @HorizonKane.
Following your conversation i checked everything with the same results than HorzionKane.

I’m on a RaspPi4 with speakers in the default jack and an ps4 eye-camera.
Since my update to 1.3.0. (0.64.0) - 02/10/2019 my response-Audio is broken.
In Sam watch i get the same error:
[15:48:30] [Audio Server] reported an error on site default : An error happened while trying to play some audio

aplay and arecord are working
Playing sound works with no problems, also your last command works and puts sound out:

sudo -u _snips aplay /usr/share/snips/assistant/custom_dialogue/sound/end_of_input.wav

On second check: I dont have the same Error like HorizonKane:

On using

pi@J4-K4:~ $ sudo systemctl stop snips-audio-server

pi@J4-K4:~ $ sudo -u _snips snips-audio-server -v

I get:

[16:01:35.258847] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.no_exit_on_all_panics -> Ok(None)
[16:01:35.259266] DEBUG:snips_common_cli::cli: conf lookup: snips-common.no_exit_on_all_panics -> Ok(None)
[16:01:35.259391] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.bus -> Ok(None)
[16:01:35.259995] DEBUG:snips_common_cli::cli: conf lookup: snips-common.bus -> Ok(None)
[16:01:35.260122] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.mqtt -> Ok(None)
[16:01:35.260447] DEBUG:snips_common_cli::cli: conf lookup: snips-common.mqtt -> Ok(None)
[16:01:35.260764] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.mqtt_username -> Ok(None)
[16:01:35.260884] DEBUG:snips_common_cli::cli: conf lookup: snips-common.mqtt_username -> Ok(None)
[16:01:35.261618] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.mqtt_password -> Ok(None)
[16:01:35.261738] DEBUG:snips_common_cli::cli: conf lookup: snips-common.mqtt_password -> Ok(None)
[16:01:35.263066] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.mqtt_tls_hostname -> Ok(None)
[16:01:35.263407] DEBUG:snips_common_cli::cli: conf lookup: snips-common.mqtt_tls_hostname -> Ok(None)
[16:01:35.267430] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.disable_playback -> Ok(None)
[16:01:35.267596] DEBUG:snips_common_cli::cli: conf lookup: snips-common.disable_playback -> Ok(None)
[16:01:35.267721] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.alsa_playback -> Ok(None)
[16:01:35.268132] DEBUG:snips_common_cli::cli: conf lookup: snips-common.alsa_playback -> Ok(None)
[16:01:35.268511] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.portaudio_playback -> Ok(None)
[16:01:35.268631] DEBUG:snips_common_cli::cli: conf lookup: snips-common.portaudio_playback -> Ok(None)
[16:01:35.269364] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.output -> Ok(None)
[16:01:35.269480] DEBUG:snips_common_cli::cli: conf lookup: snips-common.output -> Ok(None)
[16:01:35.270366] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.frame -> Ok(None)
[16:01:35.270448] DEBUG:snips_common_cli::cli: conf lookup: snips-common.frame -> Ok(None)
[16:01:35.270526] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.disable_capture -> Ok(None)
[16:01:35.270594] DEBUG:snips_common_cli::cli: conf lookup: snips-common.disable_capture -> Ok(None)
[16:01:35.270659] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.nomike -> Ok(None)
[16:01:35.270719] DEBUG:snips_common_cli::cli: conf lookup: snips-common.nomike -> Ok(None)
[16:01:35.270786] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.portaudio_capture -> Ok(None)
[16:01:35.270852] DEBUG:snips_common_cli::cli: conf lookup: snips-common.portaudio_capture -> Ok(None)
[16:01:35.270914] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.mike -> Ok(None)
[16:01:35.270970] DEBUG:snips_common_cli::cli: conf lookup: snips-common.mike -> Ok(None)
[16:01:35.271034] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.alsa_capture -> Ok(None)
[16:01:35.271093] DEBUG:snips_common_cli::cli: conf lookup: snips-common.alsa_capture -> Ok(None)
[16:01:35.271167] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.hijack -> Ok(None)
[16:01:35.271224] DEBUG:snips_common_cli::cli: conf lookup: snips-common.hijack -> Ok(None)
[16:01:35.271286] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.bind -> Ok(None)
[16:01:35.271342] DEBUG:snips_common_cli::cli: conf lookup: snips-common.bind -> Ok(None)
[16:01:35.271410] DEBUG:snips_common_cli::cli: conf lookup: snips-audio-server.bind -> Ok(None)
[16:01:35.271469] DEBUG:snips_common_cli::cli: conf lookup: snips-common.bind -> Ok(None)
[16:01:35.271569] INFO :snips_audio_server_cli: Starting audio server on mqtt for site default
[16:01:35.271849] DEBUG:snips_audio_alsa::capture: Attempt 0
[16:01:35.272173] DEBUG:snips_audio_alsa::capture: ALSA capture source started
[16:01:35.272429] DEBUG:snips_audio_alsa::capture: List ALSA capture devices
[16:01:35.339916] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“null”), desc: Some(“Discard all samples (playback) or generate zero samples (capture)”), direction: None }
[16:01:35.340034] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“default”), desc: None, direction: None }
[16:01:35.340169] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“sysdefault:CARD=CameraB409241”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\nDefault Audio Device”), direction: Some(Capture) }
[16:01:35.340244] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“front:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\nFront speakers”), direction: Some(Capture) }
[16:01:35.340316] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“surround21:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\n2.1 Surround output to Front and Subwoofer speakers”), direction: Some(Capture) }
[16:01:35.340439] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“surround40:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\n4.0 Surround output to Front and Rear speakers”), direction: Some(Capture) }
[16:01:35.340592] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“surround41:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\n4.1 Surround output to Front, Rear and Subwoofer speakers”), direction: Some(Capture) }
[16:01:35.340672] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“surround50:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\n5.0 Surround output to Front, Center and Rear speakers”), direction: Some(Capture) }
[16:01:35.340828] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“surround51:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\n5.1 Surround output to Front, Center, Rear and Subwoofer speakers”), direction: Some(Capture) }
[16:01:35.340923] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“surround71:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\n7.1 Surround output to Front, Center, Side, Rear and Woofer speakers”), direction: Some(Capture) }
[16:01:35.341595] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“iec958:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\nIEC958 (S/PDIF) Digital Audio Output”), direction: Some(Capture) }
[16:01:35.341847] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“dmix:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\nDirect sample mixing device”), direction: Some(Capture) }
[16:01:35.341972] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“dsnoop:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\nDirect sample snooping device”), direction: Some(Capture) }
[16:01:35.342042] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“hw:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\nDirect hardware device without any conversions”), direction: Some(Capture) }
[16:01:35.342433] DEBUG:snips_audio_alsa::capture: - Hint { name: Some(“plughw:CARD=CameraB409241,DEV=0”), desc: Some(“USB Camera-B4.09.24.1, USB Audio\nHardware device with all software conversions”), direction: Some(Capture) }
[16:01:35.342590] INFO :snips_audio_alsa::capture: Starting ALSA capture on device “default”
[16:01:35.371977] DEBUG:snips_audio_alsa::capture: Attempt 1
[16:01:35.372070] DEBUG:snips_audio_alsa::capture: Alsa initialization looking good
[16:01:35.373201] INFO :snips_audio_server_hermes::player: started hermes audio player thread
[16:01:35.373224] INFO :snips_broadcast_mqtt_server : Starting broadcasting audio on hermes for site “default”
sudo -u _snips snips-audio-server -v --portaudio_playback=“default”
[16:02:24.856367] DEBUG:snips_audio_server_hermes::player: Playing bytes b81a85cf-c49c-446b-a7b6-961f85a0a7ed
[16:02:24.860806] INFO :snips_audio_alsa::playback : Using ALSA output None (“bcm2835 ALSA”) for “b81a85cf-c49c-446b-a7b6-961f85a0a7ed”, WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
[16:02:35.502904] ERROR:snips_audio_server_hermes::player: An error happened while trying to play some audio: could not play “b81a85cf-c49c-446b-a7b6-961f85a0a7ed”
-> caused by: an error occured in the audio pipeline: Error(“snd_pcm_drain”, Sys(EIO))
-> caused by: ALSA function ‘snd_pcm_drain’ failed with error ‘EIO: I/O error’

On the bottom you have the same error.

Sakana that command plays a perfect dingdong.

And when I use my satellites, they mostly work good, but sometimes they don’t give me the confirmation, but instead this:

[20:42:10] [Dialogue] was ask to end session with id 85db9973-6263-474d-8363-1d1ac84d1df4 by saying 'Gern!'
[20:42:10] [Tts] was asked to say "Gern!"
[20:42:10] [Audio Server] reported an error on site Kuechwohnene : An error happened while trying to play some audio
[20:42:10] [Audio Server] reported an error on site Kuechwohnene : Could not process chunk 2 of steam "87d6a9eb-6afb-4e83-a784-6ce95f0266b6"
[20:42:10] [Audio Server] reported an error on site Kuechwohnene : Could not process chunk 3 of steam "87d6a9eb-6afb-4e83-a784-6ce95f0266b6"
[20:42:10] [Audio Server] reported an error on site Kuechwohnene : Could not process chunk 4 of steam "87d6a9eb-6afb-4e83-a784-6ce95f0266b6"
[20:42:10] [Audio Server] reported an error on site Kuechwohnene : Could not process chunk 5 of steam "87d6a9eb-6afb-4e83-a784-6ce95f0266b6"
[20:42:10] [Audio Server] reported an error on site Kuechwohnene : Could not process chunk 6 of steam "87d6a9eb-6afb-4e83-a784-6ce95f0266b6"
[20:42:10] [Audio Server] reported an error on site Kuechwohnene : Could not process chunk 7 of steam "87d6a9eb-6afb-4e83-a784-6ce95f0266b6"

However, they never have the crippled sound like the base.

I’ll try to reproduce this one tomorrow

I could reproduce also an issue with the raspi audio card playing part of the sound.

All my board does not behave the same way. One of them works perfectly (out of 3). This will need a bit of work to track the difference tomorrow. Keep you posted

1 Like

Thank you, already got used to it haha! :+1::v:

Hi,

any news on this? :slight_smile:

My wife is missing Snips already… :smiley: :frowning:

I downgraded the snips-satellite package to 0.63.3. For some reason it cannot speak, but it can play the tone and accept my commands again.