SpPhoneConverter Interface (SAPI 5.3)
The SpPhoneConverter automation object supports conversion between phoneme symbols and phoneme IDs.
Each language supported by SAPI uses a set of phonemes which represent all the meaningful sounds in that language. Each phoneme has a symbolic representation of its sound, and a numeric ID; in most languages, phoneme IDs are assigned sequentially. Please see the American English Phoneme Representation page for further details.
The following table shows a few English words transcribed into phoneme symbols and phoneme ID's.
|Words||Phoneme Symbols||Phoneme IDs|
|one||w, ah, n||46, 12, 33|
|two||t, uw||41, 44|
|three||th, r, iy||42, 38, 28|
|four||f, ao, r||24, 13, 38|
|five||f, ay, v||24, 16, 45|
|six||s, ih, k, s||39, 27, 30, 39|
Automation Interface Elements
The SpPhoneConverter automation object has the following elements:
|LanguageId Property||Gets and sets the language id of the converter.|
|IdToPhone Method||Converts an array of phoneme IDs to a string of phoneme symbols.|
|PhoneToId Method||Converts a string of phoneme symbols to an array of phoneme IDs.|