SpPhoneConverter PhoneToId method

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

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.