Exemple #1
0
        /// <summary>
        /// Create a new <Phoneme/> element and append it as a child of this element.
        /// </summary>
        /// <param name="words"> Words to speak, the body of the TwiML Element. </param>
        /// <param name="alphabet"> Specify the phonetic alphabet </param>
        /// <param name="ph"> Specifiy the phonetic symbols for pronunciation </param>
        public Say Phoneme(string words = null, SsmlPhoneme.AlphabetEnum alphabet = null, string ph = null)
        {
            var newChild = new SsmlPhoneme(words, alphabet, ph);

            this.Append(newChild);
            return(this);
        }
Exemple #2
0
 public Say SsmlPhoneme(SsmlPhoneme ssmlPhoneme)
 {
     this.Append(ssmlPhoneme);
     return(this);
 }