Text-to-Speech via Music Server
In order to use the Text-to-speech functionality of the Music Server, you will need to set up a small bit of logic beforehand using a specific block. Each Music Server zone can play its own TTS signal and they can also play the same thing synchronously. As of version 8 onwards, memory flags can transport text data as well, so they are perfect for this task.
The first item you will need is a state block. More information on this can be found on its own documentation page here.
With the state block, you will need to setup trigger logic and then have a text output for that line. The easiest and one of the most common ways is to simply use a switch/button that triggers input 1 of the state block that then emits a text signal.
Once setup has been completed, there are a few things that you and the end client need to be aware of and a couple of extra tweaks that can be made in order to get the most out of your TTS setup.
- State blocks appear in the app. Be sure to untick “Use” if you do not want this to be seen.
- Please note that the language cannot be changed individually with the state block and the text will play in the language that the Config is in.
- We do not have our own custom TTS service and so we cannot alter the way certain things are said. With TTS, it can be more beneficial to spell words phonetically and other unconventional ways to get the proper pronunciation if you encounter that issue.
- If the Music Server and/or amplifier is sleeping beforehand, you need to give it a few seconds to wake up, much like with when playing music.
- If music is playing, the Music Zone will pause, play the TTS sound and then resume.