Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

NSSpeechSynthesizerMBS.NSSpeechOutputToFileURLProperty 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 speech output destination to a file or to the computer's speakers. A NSURL object. To write the speech output to a file, use the file's NSURL; to generate the sound through the computer's speakers, use nil.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechPhonemeInfoExample 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 keys used in the NSSpeechPhonemeSymbolsProperty dictionary.
Notes:
An example word that illustrates the use of the phoneme.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechPhonemeInfoHiliteEnd 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 keys used in the NSSpeechPhonemeSymbolsProperty dictionary.
Notes:
The character offset into the example word that identifies the location of the end of the phoneme.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechPhonemeInfoHiliteStart 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 keys used in the NSSpeechPhonemeSymbolsProperty dictionary.
Notes:
The character offset into the example word that identifies the location of the beginning of the phoneme.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechPhonemeInfoOpcode 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 keys used in the NSSpeechPhonemeSymbolsProperty dictionary.
Notes:
The opcode as Number.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechPhonemeInfoSymbol 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 keys used in the NSSpeechPhonemeSymbolsProperty dictionary.
Notes:
The symbol used to represent the phoneme.
The symbol does not necessarily have a phonetic connection to the phoneme, but might simply be an abstract textual representation of it.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechPhonemeSymbolsProperty 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 a list of phoneme symbols and example words defined for the synthesizer. A Dictionary object 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 a description of the keys present in the dictionary.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechPitchBaseProperty 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

dim n as Integer = s.objectForProperty(s.NSSpeechPitchBaseProperty, e)
msgBox str(n)
Notes:
Get or set a synthesizer's baseline speech pitch. An number that specifies the baseline speech pitch.
Typical voice frequencies range from around 90 hertz for a low-pitched male voice to perhaps 300 hertz for a high-pitched child's voice. These frequencies correspond to approximate pitch values in the ranges of 30.000 to 40.000 and 55.000 to 65.000, respectively.
Note: The change in speech pitch may not be noticeable until the next sentence or paragraph is spoken.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechPitchModProperty 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

dim n as Double = s.objectForProperty(s.NSSpeechPitchModProperty, e)
msgBox str(n)
Notes:
Get or set a synthesizer's pitch modulation. A number object that specifies the synthesizer's pitch modulation.
Pitch modulation is also expressed as a floating-point value in the range of 0.000 to 127.000. These values correspond to MIDI note values, where 60.000 is equal to middle C on a piano scale. The most useful speech pitches fall in the range of 40.000 to 55.000. A pitch modulation value of 0.000 corresponds to a monotone in which all speech is generated at the frequency corresponding to the speech pitch. Given a speech pitch value of 46.000, a pitch modulation of 2.000 would mean that the widest possible range of pitches corresponding to the actual frequency of generated text would be 44.000 to 48.000.

Note: The change in pitch modulation may not be noticeable until the next sentence or paragraph is spoken.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechRateProperty 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
dim value as Double = s.objectForProperty(s.NSSpeechRateProperty, e)
MsgBox str(value)
Notes:
Get or set the synthesizer's baseline speech pitch. A number that specifies the synthesizer's baseline speech pitch.
Typical voice frequencies range from around 90 hertz for a low-pitched male voice to perhaps 300 hertz for a high-pitched child's voice. These frequencies correspond to approximate pitch values in the ranges of 30.000 to 40.000 and 55.000 to 65.000, respectively.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechRecentSyncProperty 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 the message code for the most recently encountered synchronization command. A number that specifies the most recently encountered synchronization command.

Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechResetProperty 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 to get or set the characteristics of a synthesizer.
Notes:
Set a synthesizer back to its default state. There is no value associated with this property; to reset the channel to its default state, set the key to nil.
You can use this function to, for example, set speech pitch and speech rate to default values.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechStatusNumberOfCharactersLeft 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 speech status keys used with NSSpeechStatusProperty.
Notes:
The number of characters left in the input string of text.
When the value of this key is zero, you can destroy the input string.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechStatusOutputBusy 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 speech status keys used with NSSpeechStatusProperty.
Notes:
Indicates whether the synthesizer is currently producing speech.
A synthesizer is considered to be producing speech even at some times when no audio data is being produced through the computer's speaker. This occurs, for example, when the synthesizer is processing input, but has not yet initiated speech or when speech output is paused.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechStatusOutputPaused 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 speech status keys used with NSSpeechStatusProperty.
Notes:
Indicates whether speech output in the synthesizer has been paused by sending the message pauseSpeakingAtBoundary.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechStatusPhonemeCode 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 speech status keys used with NSSpeechStatusProperty.
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.NSSpeechStatusProperty 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.startSpeakingString "Hello"

dim status as Dictionary = s.objectForProperty(s.NSSpeechStatusProperty, e)
dim CharactersLeft as Integer = status.Value(s.NSSpeechStatusNumberOfCharactersLeft)

MsgBox str(CharactersLeft)+" Characters left"
Notes:
Get speech-status information for the synthesizer. A dictionary that contains speech-status information for the synthesizer. See "NSSpeechStatusProperty Dictionary Keys" for a description of the keys present in the dictionary.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechSynthesizerInfoIdentifier 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 are keys used in the NSSpeechSynthesizerInfoProperty dictionary.
Notes:
The identifier of the speech synthesizer.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechSynthesizerInfoProperty 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 information about the speech synthesizer being used on the specified synthesizer. A dictionary object that contains information about the speech synthesizer being used on the specified synthesizer. See "Speech Synthesizer Property Keys" for a description of the keys present in the dictionary.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechSynthesizerInfoVersion 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 are keys used in the NSSpeechSynthesizerInfoProperty dictionary.
Notes:
The version of the speech synthesizer.
Available in OS X v10.5 and later.

Feedback, Comments & Corrections

NSSpeechSynthesizerMBS.NSSpeechVolumeProperty 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
dim value as Double = s.objectForProperty(s.NSSpeechVolumeProperty, e)
MsgBox str(value)
Notes:
Get or set the speech volume for a synthesizer. A Number that specifies the synthesizer's speech volume.
Volumes are expressed in floating-point values ranging from 0.0 through 1.0. A value of 0.0 corresponds to silence, and a value of 1.0 corresponds to the maximum possible volume. Volume units lie on a scale that is linear with amplitude or voltage. A doubling of perceived loudness corresponds to a doubling of the volume.
Available in OS X v10.5 and later.

You may prefer to simply use the volume property.

Feedback, Comments & Corrections

Previous items

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

The biggest plugin in space...




Links
MBS Xojo Plugins