const classafFancomSapi::SpeechVoiceSpeakFlags

sys::Obj
  afFancom::Flag
    afFancomSapi::SpeechVoiceSpeakFlags

@Serializable

Lists flags that control the SpVoice.Speak method.

http://msdn.microsoft.com/en-us/library/ee125223%28v=vs.85%29.aspx

SVSFDefault

Source

const static SpeechVoiceSpeakFlags SVSFDefault := ...

Specifies that the default settings should be used. The defaults are:

  • To speak the given text string synchronously (override with SVSFlagsAsync),
  • To parse the text as XML only if the first character is a left-angle-bracket (override with SVSFIsXML or SVSFIsNotXML),
  • Not to persist global XML state changes across speak calls (override with SVSFPersistXML),
  • Not to expand punctuation characters into words (override with SVSFNLPSpeakPunc).

Value is 0 (0x0)

SVSFIsFilename

Source

const static SpeechVoiceSpeakFlags SVSFIsFilename := ...

The string passed to the Speak method is a file name rather than text. As a result, the string itself is not spoken but rather the file the path that points to is spoken.

Value is 4 (0x4)

SVSFIsNotXML

Source

const static SpeechVoiceSpeakFlags SVSFIsNotXML := ...

The input text will not be parsed for XML markup.

Value is 16 (0x10)

SVSFIsXML

Source

const static SpeechVoiceSpeakFlags SVSFIsXML := ...

The input text will be parsed for XML markup.

Value is 8 (0x8)

SVSFNLPMask

Source

const static SpeechVoiceSpeakFlags SVSFNLPMask := ...

Flags handled by SAPI (as opposed to the text-to-speech engine) are set in this mask.

Value is 64 (0x40)

SVSFNLPSpeakPunc

Source

const static SpeechVoiceSpeakFlags SVSFNLPSpeakPunc := ...

Punctuation characters should be expanded into words (e.g. "This is it." would become "This is it period").

Value is 64 (0x40)

SVSFParseAutodetect

Source

const static SpeechVoiceSpeakFlags SVSFParseAutodetect := ...

Value is 0 (0x0)

SVSFParseMask

Source

const static SpeechVoiceSpeakFlags SVSFParseMask := ...

SVSFParseSapi|SVSFParseSsml

Value is 384 (0x180)

SVSFParseSapi

Source

const static SpeechVoiceSpeakFlags SVSFParseSapi := ...

Force XML parsing as MS SAPI.

Value is 128 (0x80)

SVSFParseSsml

Source

const static SpeechVoiceSpeakFlags SVSFParseSsml := ...

Force XML parsing as W3C SSML.

Value is 256 (0x100)

SVSFPersistXML

Source

const static SpeechVoiceSpeakFlags SVSFPersistXML := ...

Global state changes in the XML markup will persist across speak calls.

Value is 32 (0x20)

SVSFPurgeBeforeSpeak

Source

const static SpeechVoiceSpeakFlags SVSFPurgeBeforeSpeak := ...

Purges all pending speak requests prior to this speak call.

Value is 2 (0x2)

SVSFUnusedFlags

Source

const static SpeechVoiceSpeakFlags SVSFUnusedFlags := ...

This mask has every unused bit set.

Value is -512 (0xFFFFFFFFFFFFFE00)

SVSFVoiceMask

Source

const static SpeechVoiceSpeakFlags SVSFVoiceMask := ...

This is an existing SAPI 5.1 mask that has every flag bit set. In 5.3, it has been extended to contain SVSFParseMask.

Value is 511 (0x1FF)

SVSFlagsAsync

Source

const static SpeechVoiceSpeakFlags SVSFlagsAsync := ...

Specifies that the Speak call should be asynchronous. That is, it will return immediately after the speak request is queued.

Value is 1 (0x1)

make

Source

new make(|This? f := null)

makeFromDefinition

Source

new makeFromDefinition(Int flag, Str? name := null)

makeFromVariant

Source

new makeFromVariant(Variant variant)