> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XSpeechSynthesizer (contenu de l'API)

> XSpeechSynthesizer

# XSpeechSynthesizer

Fournit la prise en charge de l'initialisation et de la configuration d'un moteur de synthèse vocale, ou *voix*, pour convertir une chaîne de texte en flux audio. Cette fonctionnalité est également appelée synthèse vocale (TTS).

## Fonctions

| Fonction | Description |
| - | - |
| [XSpeechSynthesizerCloseHandle](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerclosehandle.md) | Ferme le synthétiseur vocal et libère les ressources système allouées. |
| [XSpeechSynthesizerCloseStreamHandle](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerclosestreamhandle.md) | Ferme le flux du synthétiseur vocal et libère les ressources système allouées. |
| [XSpeechSynthesizerCreate](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizercreate.md) | Crée un synthétiseur vocal. |
| [XSpeechSynthesizerCreateStreamFromSsml](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizercreatestreamfromssml.md) | Crée un flux de synthèse vocale à partir du SSML spécifié. |
| [XSpeechSynthesizerCreateStreamFromText](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizercreatestreamfromtext.md) | Crée un flux de synthèse vocale à partir du texte brut spécifié. |
| [XSpeechSynthesizerEnumerateInstalledVoices](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices.md) | Énumère les voix installées et appelle la méthode pointée par *callback* pour chaque voix. |
| [XSpeechSynthesizerGetStreamData](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizergetstreamdata.md) | Récupère les données d'un flux de synthèse vocale. |
| [XSpeechSynthesizerGetStreamDataSize](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizergetstreamdatasize.md) | Obtient la taille de la mémoire tampon de données d'un flux de synthèse vocale. |
| [XSpeechSynthesizerInstalledVoicesCallback](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerinstalledvoicescallback.md) | Fonction de rappel implémentée par le client qui reçoit des informations sur une voix lorsque [XSpeechSynthesizerEnumerateInstalledVoices](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices.md) est appelée. |
| [XSpeechSynthesizerSetCustomVoice](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice.md) | Spécifie que le synthétiseur vocal doit utiliser la voix personnalisée spécifiée. |
| [XSpeechSynthesizerSetDefaultVoice](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetdefaultvoice.md) | Spécifie que le synthétiseur vocal doit utiliser la voix par défaut du système. |

## Structures

| Structure | Description |
| - | - |
| [XSpeechSynthesizerVoiceInformation](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/structs/xspeechsynthesizervoiceinformation.md) | Fournit des informations sur une voix. |

## Énumérations

| Énumération | Description |
| - | - |
| [XSpeechSynthesizerVoiceGender](https://docs.xbox.com/fr-CA/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md) | Indique le genre d'une voix. |

## Documentation conceptuelle

* [Synthèse vocale](https://docs.xbox.com/fr-CA/build/console-features/text-to-speech/text-to-speech.md)
* [Threads à délai critique](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)
* [Utilisation des wrappers C# pour les API GDK dans votre projet Unity](https://docs.xbox.com/fr-CA/build/gdk-and-engines/unity/unity-api-wrappers.md)

## Voir aussi

[Référence de l'API système](https://docs.xbox.com/fr-CA/reference/system/gc-reference-system-toc.md)


## Related topics

- [XAccessibility (contenu de l'API)](https://docs.xbox.com/fr-CA/reference/system/xaccessibility/xaccessibility_members.md)
- [Membres de GameChat2 (contenu de l'API)](https://docs.xbox.com/fr-CA/reference/chat/gamechat2/gamechat2_members.md)
- [Référence de l'API d'éclairage (contenu de l'API)](https://docs.xbox.com/fr-CA/reference/lighting/gc-reference-lighting-toc.md)
- [Référence de l'API de clavardage (contenu)](https://docs.xbox.com/fr-CA/reference/chat/gc-reference-chat-toc.md)
- [XPackage (contenu de l'API)](https://docs.xbox.com/fr-CA/reference/system/xpackage/xpackage_members.md)
