Platforms to show: All Mac Windows Linux Cross-Platform

Back to SpeechChannelMBS class.

SpeechChannelMBS.close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin 3.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The destructor.

There is no need to call this method except you want to free all resources of this object now without waiting for Xojo to do it for you.

SpeechChannelMBS.ContinueSpeech as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Continue speaking.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(C.ContinueSpeech)

Renamed from Continue to ContinueSpeech in v5.3 to fix a problem with Xojo 2005r3.

SpeechChannelMBS.PauseEndOfSentence as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Pauses speaking at the end of the current sentence.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(C.PauseEndOfSentence)

SpeechChannelMBS.PauseEndOfWord as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Pauses speaking at the end of the current word.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(C.PauseEndOfWord)

SpeechChannelMBS.PauseImmediate as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Pauses speaking.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(C.PauseImmediate)

SpeechChannelMBS.Reset

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Resets the SpeechMBS channel to some default values.
Example
dim c as SpeechChannelMBS // your channel

c.reset

Resets e.g. pitchbase, pitchmodulation, volume, rate.

SpeechChannelMBS.SetOutputFile(file as folderitem) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin 4.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets the destination file.
Example
dim s as new SpeechMBS
dim c as SpeechChannelMBS = s.Voice(1).NewChannel
dim f as FolderItem = SpecialFolder.Desktop.Child("test.aiff")

call c.SetOutputFile(f)
call c.Speak("Hello")

MsgBox str(c.TextBytesToSpeak)

Returns true on success and false on any error.
Requires Mac OS X 10.3.

SpeechChannelMBS.Speak(s as string) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Speak the given text.
Example
dim s as new SpeechMBS
dim c as SpeechChannelMBS = s.Voice(1).NewChannel

MsgBox str(c.Speak("Hello"))

v5.1: Now encoding safe and stores result in lasterror property.

SpeechChannelMBS.SpeechBusy as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns how much SpeechChannels are currently in use of you application.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(c.SpeechBusy)

SpeechChannelMBS.SpeechBusySystemWide as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns how much SpeechChannels are currently in use on this Mac.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(c.SpeechBusySystemWide)

SpeechChannelMBS.Stop as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Stops speaking.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(c.Stop)

SpeechChannelMBS.StopEndOfSentence as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Stops speaking at the end of the current sentence.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(c.StopEndOfSentence)

SpeechChannelMBS.StopEndOfWord as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Stops speaking at the end of the current word.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(c.StopEndOfWord)

SpeechChannelMBS.StopImmediate as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Stops speaking.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(c.StopImmediate)

The items on this page are in the following plugins: MBS MacClassic Plugin.


The biggest plugin in space...