Share via


SpPhoneConverter PhoneToId method (SAPI 5.3)

Microsoft Speech API 5.3

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.