Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

NSSpeechSynthesizerMBS.attributesForVoice(voice as String) as NSVoiceMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 7.2 Yes No No Yes, macOS only No
Function: Returns information about a voice or nil.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.availableVoice(index as Integer) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 7.2 Yes No No Yes, macOS only No
Function: Returns name of a voice.
Notes:
The available voices can be listed using this function.
Index is from 0 to count-1.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.availableVoices as String()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 10.5 Yes No No Yes, macOS only No
Function: Returns the array with the identifiers for the available voices.
Example:
MsgBox Join(NSSpeechSynthesizerMBS.availableVoices)
Notes: Same as availableVoice() and availableVoicesCount, but this function returns an array which is very useful for for-each-loops.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.availableVoicesCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 7.2 Yes No No Yes, macOS only No
Function: Number of voices available.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.defaultVoice as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 6.4 Yes No No Yes, macOS only No
Function: Provides the identifier of the default voice.
Example:
dim s as NSSpeechSynthesizerMBS

s=new NSSpeechSynthesizerMBS

MsgBox s.defaultVoice

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.isAnyApplicationSpeaking as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 6.4 Yes No No Yes, macOS only No
Function: Indicates whether any other application is currently speaking through the sound output device.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechCharacterModeProperty as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants used with setObjectForProperty and objectForProperty to get or set the characteristics of a synthesizer.
Example:
dim s as new NSSpeechSynthesizerMBS
dim e as NSErrorMBS

call s.setObjectForProperty(s.NSSpeechModeLiteral, s.NSSpeechCharacterModeProperty, e)
msgBox s.objectForProperty(s.NSSpeechCharacterModeProperty, e)

call s.setObjectForProperty(s.NSSpeechModeNormal, s.NSSpeechCharacterModeProperty, e)
msgBox s.objectForProperty(s.NSSpeechCharacterModeProperty, e)
Notes:
Get or set the synthesizer's current text-processing mode. A string that specifies whether the channel is currently in text input mode or phoneme input mode.
When the character-processing mode is NSSpeechModeNormal, input characters are spoken as you would expect to hear them. When the mode is NSSpeechModeLiteral, each character is spoken literally, so that the word "cat" is spoken "C–A–T".
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechCommandDelimiterProperty as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants used with setObjectForProperty and objectForProperty to get or set the characteristics of a synthesizer.
Notes:
Set the embedded speech command delimiter characters to be used for the synthesizer. A dictionary that contains the delimiter information. See "Command Delimiter Keys" for the keys you can use to specify values in this dictionary.
By default, the opening delimiter is "[[" and the closing delimiter is "]]". Your application might need to change these delimiters temporarily if those character sequences occur naturally in a text buffer that is to be spoken. Your application can also disable embedded command processing by passing empty delimiters (as empty strings). See "Speech Command Delimiter" for the keys you can use to specify values in this dictionary.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechCommandPrefix as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants speech-command delimiters keys used in NSSpeechCommandDelimiterProperty.
Notes:
The command delimiter string that prefixes a command, by default, this is [[.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechCommandSuffix as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants speech-command delimiters keys used in NSSpeechCommandDelimiterProperty.
Notes:
The command delimiter string that suffixes a command,by default, this is ]].
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechCurrentVoiceProperty as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants used with setObjectForProperty and objectForProperty to get or set the characteristics of a synthesizer.
Notes:
Set the current voice on the synthesizer to the specified voice. A dictionary that contains the phoneme symbols and example words defined for the current synthesizer.
Your application might use this information to show the user what symbols to use when entering phonemic text directly. See "NSSpeechPhonemeSymbolsProperty Dictionary Keys" for the keys you can use to specify values in this dictionary.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechDictionaryAbbreviations as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants identify key-value pairs used to add vocabulary to the dictionary using addSpeechDictionary.
Notes:
An array of dictionary objects containing the keys NSSpeechDictionaryEntrySpelling and NSSpeechDictionaryEntryPhonemes.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechDictionaryEntryPhonemes as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants identify key-value pairs used to add vocabulary to the dictionary using addSpeechDictionary.
Notes:
The phonemic representation of an entry. A string.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechDictionaryEntrySpelling as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants identify key-value pairs used to add vocabulary to the dictionary using addSpeechDictionary.
Notes:
The spelling of an entry. A string.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechDictionaryLocaleIdentifier as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants identify key-value pairs used to add vocabulary to the dictionary using addSpeechDictionary.
Notes:
The canonical locale identifier string describing the dictionary's locale. A locale is generally composed of three pieces of ordered information: a language code, a region code, and a variant code. Refer to documentation about NSLocale or Locales Programming Guide for more information
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechDictionaryModificationDate as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants identify key-value pairs used to add vocabulary to the dictionary using addSpeechDictionary.
Notes:
A string representation of the dictionary's last modification date in the international format (YYYY-MM-DD HH:MM:SS ±HHMM). If the same word appears across multiple dictionaries, the one from the dictionary with the most recent date will be used.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechDictionaryPronunciations as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants identify key-value pairs used to add vocabulary to the dictionary using addSpeechDictionary.
Notes: An array of dictionary objects containing the keys NSSpeechDictionaryEntrySpelling and NSSpeechDictionaryEntryPhonemes.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechErrorCount as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the key constants identify errors that may occur during speech synthesis. They are used with NSSpeechErrorsProperty.
Notes:
The number of errors that have occurred in processing the current text string, since the last call to objectForProperty with the NSSpeechErrorsProperty property. A Number
Using the NSSpeechErrorOldestCode keys and the NSSpeechErrorNewestCode keys, you can get information about the oldest and most recent errors that occurred since the last call to objectForProperty, but you cannot get information about any intervening errors.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechErrorNewestCharacterOffset as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the key constants identify errors that may occur during speech synthesis. They are used with NSSpeechErrorsProperty.
Notes:
The position in the text string of the most recent error that occurred since the last call to objectForProperty with the NSSpeechErrorsProperty property. A Number.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechErrorNewestCode as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the key constants identify errors that may occur during speech synthesis. They are used with NSSpeechErrorsProperty.
Notes:
The error code of the most recent error that occurred since the last call to objectForProperty with the NSSpeechErrorsProperty property. A number
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechErrorOldestCharacterOffset as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the key constants identify errors that may occur during speech synthesis. They are used with NSSpeechErrorsProperty.
Notes:
The position in the text string of the first error that occurred since the last call to objectForProperty with the NSSpeechErrorsProperty property. A number
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechErrorOldestCode as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the key constants identify errors that may occur during speech synthesis. They are used with NSSpeechErrorsProperty.
Notes:
The error code of the first error that occurred since the last call to objectForProperty with the NSSpeechErrorsProperty property. A Number
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechErrorsProperty as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants used with setObjectForProperty and objectForProperty to get or set the characteristics of a synthesizer.
Notes:
Get speech-error information for the synthesizer. An Dictionary object that contains speech-error information. See "NSSpeechErrorProperty Dictionary Keys" for a description of the keys present in the dictionary.
This property lets you get information about various run-time errors that occur during speaking, such as the detection of badly formed embedded commands. Errors returned directly by the Speech Synthesis Manager are not reported here.
If your application implements the didEncounterErrorAtIndex event, the event can use this property to get error information.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechInputModeProperty as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants used with setObjectForProperty and objectForProperty to get or set the characteristics of a synthesizer.
Notes:
Get or set the synthesizer's current text-processing mode. A string that specifies whether the channel is currently in text input mode or phoneme input mode.The supported values are listed in "Speaking Modes for NSSpeechInputModeProperty."
When in phoneme-processing mode, a text string is interpreted to be a series of characters representing various phonemes and prosodic controls. Some synthesizers might support additional input-processing modes and define constants for these modes.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechModeLiteral as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants defining the available text-processing and number-processing modes for a synthesizer. This key is used with NSSpeechInputModeProperty and NSSpeechNumberModeProperty)
Notes:
Indicates that each digit or character is spoken literally (so that 12 is spoken as "one, two", or the word "cat" is spoken as "C A T").
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechModeNormal as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants defining the available text-processing and number-processing modes for a synthesizer. This key is used with NSSpeechInputModeProperty and NSSpeechNumberModeProperty)
Notes:
Indicates that the synthesizer assembles digits into numbers (so that 12 is spoken as "twelve") and text into words.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechModePhoneme as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants identify input modes are used with NSSpeechInputModeProperty.
Notes:
Indicates that the synthesizer is in phoneme-processing mode. When in phoneme-processing mode, a text buffer is interpreted to be a series of characters representing various phonemes and prosodic controls.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechModeText as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants identify input modes are used with NSSpeechInputModeProperty.
Notes:
Indicates that the synthesizer is in text-processing mode.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechNumberModeProperty as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Speech MBS MacCocoa Plugin 13.2 Yes No No Yes, macOS only No
Function: One of the constants used with setObjectForProperty and objectForProperty to get or set the characteristics of a synthesizer.
Example:
dim s as new NSSpeechSynthesizerMBS
dim e as NSErrorMBS

call s.setObjectForProperty(s.NSSpeechModeLiteral, s.NSSpeechNumberModeProperty, e)
msgBox s.objectForProperty(s.NSSpeechNumberModeProperty, e)

call s.setObjectForProperty(s.NSSpeechModeNormal, s.NSSpeechNumberModeProperty, e)
msgBox s.objectForProperty(s.NSSpeechNumberModeProperty, e)
Notes:
Get or set the synthesizer's current number-processing mode. A string that specifies whether the synthesizer is currently in normal or literal number-processing mode. The constants NSSpeechModeNormal and NSSpeechModeLiteral are the possible values of this string.
When the number-processing mode is NSSpeechModeNormal, the synthesizer assembles digits into numbers (so that "12" is spoken as "twelve"). When the mode is NSSpeechModeLiteral, each digit is spoken literally (so that "12" is spoken as "one, two").
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

Next items

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

The biggest plugin in space...




Links
MBS FileMaker blog