SpeechBuilder audio time out to show interface

google-assistant
amazon-alexa

#1

Hello

I am encountering a problem with the speech builder.
This an example:
BasicCardIntent() {

	this.$speech.addText('Welcome to this Pizza Skill.')
        .addBreak('300ms')
		.addAudio('https://www.jovo.tech/downloads/pizza.mp3');
		
	this.$googleAction!.addBasicCard({
		title: 'Title',
		subtitle: 'Subtitle',
		text: 'Text',
		image: {
			url: 'https://via.placeholder.com/450x350?text=Basic+Card',
			alt: 'Image text',
		},
	});

this.$speech.addText(“Hey”);
this.ask(this.$speech);
},

I would like the interface (google or Alexa) appear after the sound audio not before.
Is it possible to show the interface when the speech is “hey” ?
Thanks


#2

Hi @Romain_R,

Could you elaborate what you mean with “interface”? The visuals?

Could you share a screenshot of the simulator to show how the response currently looks like?

Thanks,
Jan


#3

Hi @jan

Bellow you can see an example to my interface.
The number 1: it is the previous question “how much is 7x6 ?”.
When the user respond to the question i go to my AnswerIntent and when the response is good or bad i use the speech builder with audio “number 2 is picture”.
But the problem it is the interface appear with the next question in same time the short audio and i would like the apl interface appear in the same time the next question.
It is possible for Alexa Skill and to later may be i would like the same for Google
Thanks