Speech.AttributesForVoices
--------------------------

Queries attributes for a voice.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Speech](component_Speech.md) | [11.0](newinversion110.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Speech.AttributesForVoices"; Voice ) 

**MBS**( **"Speech.AttributesForVoices";** /\* Queries attributes for a voice. \*/  
**$Voice**) /\* The voice to use.  
Can be empty to use default voice.  
On macOS and iOS, this is identifier, not name.e.g. "com.apple.speech.synthesis.voice.alva" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Voice | The voice to use.   Can be empty to use default voice.   On macOS and iOS, this is identifier, not name. | "com.apple.speech.synthesis.voice.alva" |

### Result

Returns JSON text or error.

### Description

Queries attributes for a voice.  
The returned JSON dictionary is not the same for macOS and iOS in structure. Different keys may be present/used.  
### Examples

Try it with Alva:

 MBS ( "Speech.AttributesForVoices"; "com.apple.speech.synthesis.voice.alva")  
<small>  
Example result:   
{ "VoiceName" : "Alva" , "VoiceGroup" : "VoiceGroupCompact" , "VoiceLocaleIdentifier" : "sv\_SE" , "VoiceShowInFullListOnly" : false, "VoiceDemoText" : "Hej, jag heter Alva. Jag är en svensk röst." , "VoiceSupportedCharacters" : \[ { "UnicodeCharEnd" : 77 , "UnicodeCharBegin" : 33 }, { "UnicodeCharEnd" : 85 , "UnicodeCharBegin" : 79 }, { "UnicodeCharEnd" : 109 , "UnicodeCharBegin" : 87 }, { "UnicodeCharEnd" : 117 , "UnicodeCharBegin" : 111 }, { "UnicodeCharEnd" : 129 , "UnicodeCharBegin" : 119 }, { "UnicodeCharEnd" : 141 , "UnicodeCharBegin" : 141 }, { "UnicodeCharEnd" : 144 , "UnicodeCharBegin" : 143 }, { "UnicodeCharEnd" : 157 , "UnicodeCharBegin" : 157 }, { "UnicodeCharEnd" : 167 , "UnicodeCharBegin" : 160 }, { "UnicodeCharEnd" : 174 , "UnicodeCharBegin" : 169 }, { "UnicodeCharEnd" : 255 , "UnicodeCharBegin" : 176 }, { "UnicodeCharEnd" : 339 , "UnicodeCharBegin" : 338 }, { "UnicodeCharEnd" : 353 , "UnicodeCharBegin" : 352 }, { "UnicodeCharEnd" : 376 , "UnicodeCharBegin" : 376 }, { "UnicodeCharEnd" : 382 , "UnicodeCharBegin" : 381 }, { "UnicodeCharEnd" : 402 , "UnicodeCharBegin" : 402 }, { "UnicodeCharEnd" : 710 , "UnicodeCharBegin" : 710 }, { "UnicodeCharEnd" : 732 , "UnicodeCharBegin" : 732 }, { "UnicodeCharEnd" : 8212 , "UnicodeCharBegin" : 8211 }, { "UnicodeCharEnd" : 8218 , "UnicodeCharBegin" : 8216 }, { "UnicodeCharEnd" : 8222 , "UnicodeCharBegin" : 8220 }, { "UnicodeCharEnd" : 8226 , "UnicodeCharBegin" : 8226 }, { "UnicodeCharEnd" : 8230 , "UnicodeCharBegin" : 8230 }, { "UnicodeCharEnd" : 8250 , "UnicodeCharBegin" : 8249 }, { "UnicodeCharEnd" : 8352 , "UnicodeCharBegin" : 8352 }, { "UnicodeCharEnd" : 8364 , "UnicodeCharBegin" : 8364 }, { "UnicodeCharEnd" : 8482 , "UnicodeCharBegin" : 8482 } \], "VoiceLocalizedNames" : { "he" : "אלווה" , "uk" : "Альва" }, "VoiceGender" : "VoiceGenderFemale" , "VoiceNumericID" : 587208531 , "VoiceAge" : "35" , "VoiceIndividuallySpokenCharacters" : \[ { "UnicodeCharEnd" : 77 , "UnicodeCharBegin" : 33 }, { "UnicodeCharEnd" : 85 , "UnicodeCharBegin" : 79 }, { "UnicodeCharEnd" : 109 , "UnicodeCharBegin" : 87 }, { "UnicodeCharEnd" : 117 , "UnicodeCharBegin" : 111 }, { "UnicodeCharEnd" : 129 , "UnicodeCharBegin" : 119 }, { "UnicodeCharEnd" : 141 , "UnicodeCharBegin" : 141 }, { "UnicodeCharEnd" : 144 , "UnicodeCharBegin" : 143 }, { "UnicodeCharEnd" : 157 , "UnicodeCharBegin" : 157 }, { "UnicodeCharEnd" : 167 , "UnicodeCharBegin" : 160 }, { "UnicodeCharEnd" : 174 , "UnicodeCharBegin" : 169 }, { "UnicodeCharEnd" : 255 , "UnicodeCharBegin" : 176 }, { "UnicodeCharEnd" : 339 , "UnicodeCharBegin" : 338 }, { "UnicodeCharEnd" : 353 , "UnicodeCharBegin" : 352 }, { "UnicodeCharEnd" : 376 , "UnicodeCharBegin" : 376 }, { "UnicodeCharEnd" : 382 , "UnicodeCharBegin" : 381 }, { "UnicodeCharEnd" : 402 , "UnicodeCharBegin" : 402 }, { "UnicodeCharEnd" : 710 , "UnicodeCharBegin" : 710 }, { "UnicodeCharEnd" : 732 , "UnicodeCharBegin" : 732 }, { "UnicodeCharEnd" : 8212 , "UnicodeCharBegin" : 8211 }, { "UnicodeCharEnd" : 8218 , "UnicodeCharBegin" : 8216 }, { "UnicodeCharEnd" : 8222 , "UnicodeCharBegin" : 8220 }, { "UnicodeCharEnd" : 8226 , "UnicodeCharBegin" : 8226 }, { "UnicodeCharEnd" : 8230 , "UnicodeCharBegin" : 8230 }, { "UnicodeCharEnd" : 8250 , "UnicodeCharBegin" : 8249 }, { "UnicodeCharEnd" : 8352 , "UnicodeCharBegin" : 8352 }, { "UnicodeCharEnd" : 8364 , "UnicodeCharBegin" : 8364 }, { "UnicodeCharEnd" : 8482 , "UnicodeCharBegin" : 8482 } \], "VoiceIdentifier" : "com.apple.speech.synthesis.voice.alva" , "VoiceNameRoot" : "Alva" , "VoiceSynthesizerNumericID" : 1886745202 , "VoiceVersion" : "7.0.4" , "VoiceRelativeDesirability" : 3800 , "VoiceLanguage" : "sv-SE" } </small>### Release notes

- **Version 11.0**
    - Added [Speech.AttributesForVoices](https://www.mbsplugins.eu/SpeechAttributesForVoices.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin 11.0](https://www.mbsplugins.de/archive/2021-01-26/New_in_MBS_FileMaker_Plugin_11/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 11.0pr5](https://www.mbsplugins.de/archive/2021-01-02/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2021, Seite 24](https://filemaker-magazin.de/neuigkeit/4165-Appetithappen-FMM_202106)

This function checks for a license.

Created 28th December 2020 , last changed 28th December 2020

  
[Socket.WriteMLLP](SocketWriteMLLP.md) - [Speech.AvailableVoices](SpeechAvailableVoices.md)

[HTML Version](SpeechAttributesForVoices.shtml)