Plum DEV Documentation
voicexml:tags:phoneme

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

voicexml:tags:phoneme [2018/10/30 09:15]
admin
voicexml:tags:phoneme [2019/09/17 12:29]
Line 1: Line 1:
-{{description>​‹phoneme› VoiceXML tag details, attributes and VXML code example | The phoneme tag allows the user to specify pronunciations explicitly in the input text.}} 
-======<​phoneme>​====== 
- 
-The <​phoneme>​ tag allows the user to specify pronunciations explicitly in the input text. 
-====Attributes==== 
-| ph | The pronunciation of the enclosed text. | 
-| alphabet | This value is disregarded except for Nuance RealSpeak which requires the value "​unipa"​. | 
- 
-====Notes==== 
- 
-For more information,​ see the Phoneme Set in [[developer_reference:​tts|Section 4, TTS Engine Characteristics]] of the Plum DEV Reference Manual. The phoneme set and transcriptions differ between AT&T Natural Voices and Cepstral. 
- 
-====Example==== 
-**AT&T Natural Voices** 
-<​code>​ 
-<?xml version="​1.0"?>​ 
-<vxml version="​2.0">​ 
-  <​form>​ 
-    <​block>​ 
-      <prompt bargein="​false">​ 
-        My name is 
-        <phoneme ph="b aa b 1"> 
-          Bob 
-        </​phoneme>​ 
-      </​prompt>​ 
-    </​block>​ 
-  </​form>​ 
-</​vxml>​ 
-</​code>​ 
-**Nuance** 
-<​code>​ 
-<?xml version="​1.0"?>​ 
-<vxml version="​2.0">​ 
-  <​form>​ 
-    <​block>​ 
-      <prompt bargein="​false">​ 
-        My name is 
-        <phoneme alphabet="​unipa"​ ph="b A b"> 
-          Bob 
-        </​phoneme>​ 
-      </​prompt>​ 
-    </​block>​ 
-  </​form>​ 
-</​vxml>​ 
-</​code>​ 
-**Cepstral** 
-<​code>​ 
-<?xml version="​1.0"?>​ 
-<vxml version="​2.0">​ 
-  <​form>​ 
-    <​block>​ 
-      <prompt bargein="​false">​ 
-        My name is 
-        <phoneme ph="b aa1 b"> 
-          Bob 
-        </​phoneme>​ 
-      </​prompt>​ 
-    </​block>​ 
-  </​form>​ 
-</​vxml>​ 
-</​code>​ 
-The output of the above script would be: 
- 
-Computer: My name is Bob. 
- 
- 
-====Child Tags==== 
- 
-None 
- 
- 
-====Parent Tags==== 
- 
-[[voicexml:​tags:​audio|<​audio>​]],​ [[voicexml:​tags:​emphasis|<​emphasis>​]],​ [[voicexml:​tags:​enumerate|<​enumerate>​]],​ [[voicexml:​tags:​foreach|<​foreach>​]],​ [[voicexml:​tags:​p|<​p>​]],​ [[voicexml:​tags:​paragraph|<​paragraph>​]],​ [[voicexml:​tags:​prompt|<​prompt>​]],​ [[voicexml:​tags:​prosody|<​prosody>​]],​ [[voicexml:​tags:​s|<​s>​]],​ [[voicexml:​tags:​sentence|<​sentence>​]],​ [[voicexml:​tags:​speak|<​speak>​]],​ [[voicexml:​tags:​voice|<​voice>​]] 
-