Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
Description
Currently the utterance options of the fluid.textToSpeech wrapper component are held in the top level options block. However, this does not easily enable changing these options after instantiation. While it is true that any of the options can be overridden in a call to queueSpeech, this override only lasts for that specific call. However, in cases where you want to pair this with an enactor (see: FLOE-318) it would be more useful to allow for changes that will affect all subsequent calls to queueSpeech.
What seems to be the most appropriate approach would be to move the utteranceOpts into the component's model.