SpPhoneConverter PhoneToId method (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

Object: SpPhoneConverter

PhoneToId Method

The PhoneToId method converts a string of phoneme symbols to an array of phoneme IDs.

If the PhoneToId method is called before setting the SpPhoneConverter's LanguageId property, an SPERR_UNINITIALIZED error will occur.


SpPhoneConverter.PhoneToId(
     Phonemes As String
) As Variant

Parameters

Phonemes
A string of phoneme symbols.

Return Value

A Variant array.