From 55294d2c0bcedc142d656a573e1e39ff2547e42d Mon Sep 17 00:00:00 2001 From: Jacob Keeler Date: Fri, 15 Jun 2018 09:39:08 -0400 Subject: [PATCH] Add `FILE` type to SpeechCapabilities --- MOBILE_API.xml | 7 ++++--- README.md | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/MOBILE_API.xml b/MOBILE_API.xml index 0a04d6313..5983fe1f7 100644 --- a/MOBILE_API.xml +++ b/MOBILE_API.xml @@ -438,6 +438,7 @@ + @@ -2025,16 +2026,16 @@ - A TTS chunk, that consists of the text/phonemes to speak and the type (like text or SAPI) + A TTS chunk, that consists of text/phonemes to speak or the name of a file to play, and a TTS type (like text or SAPI) - The text or phonemes to speak. + The text or phonemes to speak, or the name of the audio file to play. May not be empty. - Describes, whether it is text or a specific phoneme set. See SpeechCapabilities + Describes whether the TTS chunk is plain text, a specific phoneme set, or an audio file. See SpeechCapabilities diff --git a/README.md b/README.md index 06f39efd9..dab88cd66 100644 --- a/README.md +++ b/README.md @@ -280,6 +280,7 @@ Contains information about the TTS capabilities. |`LHPLUS_PHONEMES`|| |`PRE_RECORDED`|| |`SILENCE`|| +|`FILE`|| ### VrCapabilities @@ -1804,14 +1805,14 @@ Contains information about on-screen preset capabilities. ### TTSChunk -A TTS chunk, that consists of the text/phonemes to speak and the type (like text or SAPI) +A TTS chunk, that consists of text/phonemes to speak or the name of a file to play, and a TTS type (like text or SAPI) ##### Parameters | Value | Type | Mandatory | Description | | ---------- | ---------- |:-----------: |:-----------:| -|`text`|String|True|The text or phonemes to speak. May not be empty. | -|`type`|SpeechCapabilities|True|Describes, whether it is text or a specific phoneme set. See SpeechCapabilities| +|`text`|String|True|The text or phonemes to speak, or the name of the audio file to play. May not be empty. | +|`type`|SpeechCapabilities|True|Describes whether the TTS chunk is plain text, a specific phoneme set, or an audio file. See SpeechCapabilities| ### Turn