Alexa reads out a series of ingredients one by one.

The structure of the document is important at this point! The SpeakList command reads out all the child elements for our component (id: recipeRow1-5). If the structure is changed, Alexa does not read out anything anymore.

First, all ingredients are prepared for speech with the textToSpeech transformer, then the SpeakList command is executed recursively for each line in our recipe until it has been read aloud completely.

Comments

Be the first to comment.