apl­Audio­To­Speech transformer example (w/o input­Path)

Lars Lipinski

aplAudioToSpeech transformer example (w/o inputPath)

This example shows how to bind APLA to a "speech" property using the aplAudioToSpeech transformer without "inputPath".

Yesterday (2021-02-24) the example code from the official APL reference didn't work. So I copied it and fixed these bugs:

  • in APLA contentType "SSML" must be written in uppercase (and not "ssml")
  • the text property references now the title so we can see at least some words on the screen

Extended:

  • added an onMount command to play the output (on your device).

Learn more:

https://developer.amazon.com/docs/alexa/alexa-presentation-language/apl-transformers.html#aplaudiotospeech-transformer

DownloadOpen in Editor
4
0
Likes2
Share
Supported Viewport Profiles
  • Hub Round
  • Hub Landscape, Small
  • Hub Landscape, Medium
  • Hub Landscape, Large
  • TV Fullscreen
Minimum required APL version1.4
Comments

Be the first to comment.