Phoneme

data class Phoneme(val content: String, val ph: String) : SsmlNode

Phonetic pronunciation. Rendered as <phoneme alphabet="ipa" ph="...">...</phoneme>.

Provides exact phonetic control using the International Phonetic Alphabet (IPA).

Constructors

Link copied to clipboard
constructor(content: String, ph: String)

Properties

Link copied to clipboard

The original text displayed to the user.

Link copied to clipboard
val ph: String

The IPA transcription that the TTS engine speaks.