question

newuser-35b858e1-2876-47cb-b92c-162b661a0aaa avatar image
newuser-35b858e1-2876-47cb-b92c-162b661a0aaa asked ·

Alexa SSML mp3 getting cut off

I'm outputting SSML speech to Alexa with very short/small mp3s (1 to 4 seconds long, ranging from 5 to 20 kb in size). Occasionally, when I hear it play back, the mp3s will cut off right in the middle.

Example 1: `<audio src="..." />` - cuts off halfway in.

Also, some of our speechlets contain both of mp3s plus text that the Alexa voice is supposed to speak. In those cases, not only does the mp3 cut off, the Alexa voice text is never reached.

Example 2: `<audio src="..."/><audio src="..." /> How else can I help?` - cuts halfway into the first mp3.

If these speechlets kick off dialogs (or are in the middle of dialogs), a user can still interact/respond, but this is not obvious at all because the actual content of my dialog requires that the full mp3s play and the speechlet is complete.

Though, much of the time everything is fine (the full mp3s do play, and the Alexa voice text is reached).

alexa skills kitaudiossml
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

newuser-c1338430-dd92-4b07-b404-6362225fe0e2 avatar image
newuser-c1338430-dd92-4b07-b404-6362225fe0e2 answered ·

We discovered this issue where if you have an audio clip that explicitly says "Alexa", and your device is on a loud enough volume, it actually functions like a user saying the wake word, because the device "heard" itself. It would be like cutting off Alexa any other time if a user said "Alexa" right in the middle of a message.

We reached out to another Amazon rep who said there is no current way around this, and that audio clips should not include Alexa by name.

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Brian@Amazon avatar image
Brian@Amazon answered ·

Hello. What skillid is this happening on? What device(s) is this happening on? Thanks.

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

newuser-c1338430-dd92-4b07-b404-6362225fe0e2 avatar image
newuser-c1338430-dd92-4b07-b404-6362225fe0e2 answered ·

My skillid is: amzn1.ask.skill.50ae934c-6655-4f05-962a-e4b828066943

Devices: echo and echo dot

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Brian@Amazon avatar image
Brian@Amazon answered ·

Oddly I haven't been able to reproduce this. I'm going to raise this issue with a team, and get back with any updates.

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.