Platforms to show: All Mac Windows Linux Cross-Platform

Back to SpeechChannelMBS class.

SpeechChannelMBS.Lasterror as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacClassic Plugin 5.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The last error code.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(c.Lasterror)

A Mac OS error code.
from the plugin -1 is bad parameter and 0 is success.
(Read only property)

SpeechChannelMBS.Paused as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Are we paused?
Example
dim s as new SpeechMBS
dim c as SpeechChannelMBS = s.Voice(1).NewChannel

MsgBox str(c.Paused)

(Read only property)

SpeechChannelMBS.PitchBase as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
The pich base used for speaking.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(C.PitchBase)

(Read and Write property)

SpeechChannelMBS.PitchModulation as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
The pich modulation used for speaking.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(C.PitchModulation)

(Read and Write property)

SpeechChannelMBS.Playing as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Are we playing?
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(C.Playing)

(Read only property)

SpeechChannelMBS.Rate as Double

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

MsgBox str(C.Rate)

Normally around 175 words/minute.
(Read and Write property)

SpeechChannelMBS.SpeakCharactersLiteral as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
whether to speak characters literal.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(c.SpeakCharactersLiteral)

Speaks Hello like "H-E-L-L-O"
(Read and Write property)

SpeechChannelMBS.SpeakNumbersLiteral as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
whether to speak numbers literal.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(c.SpeakNumbersLiteral)

Speaks 11 not like "elven", but like "one, one".
(Read and Write property)

SpeechChannelMBS.TextBytesToSpeak as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
How much text is left in the text buffer?
Example
dim s as new SpeechMBS
dim c as SpeechChannelMBS = s.Voice(1).NewChannel

call c.Speak("Hello")

MsgBox str(c.TextBytesToSpeak)

(Read only property)

SpeechChannelMBS.Voice as VoiceMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
The VoiceMBS used for that SpeechChannelMBS.
Example
dim c as SpeechChannelMBS // your channel

MsgBox c.Voice.Name

(Read and Write property)

SpeechChannelMBS.Volume as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
The current volume.
Example
dim c as SpeechChannelMBS // your channel

MsgBox str(c.Volume)

From 0 to 65535.
(Read and Write property)

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


The biggest plugin in space...