> ## 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 (API 콘텐츠)

> XSpeechSynthesizer

# XSpeechSynthesizer

텍스트 문자열을 오디오 스트림으로 변환하기 위한 음성 합성 엔진(*음성*)의 초기화 및 구성 지원을 제공합니다. 이 기능은 TTS(텍스트 음성 변환)라고도 합니다.

## 함수

| 함수 | 설명 |
| - | - |
| [XSpeechSynthesizerCloseHandle](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerclosehandle.md) | 음성 합성기를 닫고 할당된 시스템 리소스를 해제합니다. |
| [XSpeechSynthesizerCloseStreamHandle](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerclosestreamhandle.md) | 음성 합성기 스트림을 닫고 할당된 시스템 리소스를 해제합니다. |
| [XSpeechSynthesizerCreate](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizercreate.md) | 음성 합성기를 만듭니다. |
| [XSpeechSynthesizerCreateStreamFromSsml](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizercreatestreamfromssml.md) | 지정된 SSML로부터 음성 합성 스트림을 만듭니다. |
| [XSpeechSynthesizerCreateStreamFromText](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizercreatestreamfromtext.md) | 지정된 일반 텍스트로부터 음성 합성 스트림을 만듭니다. |
| [XSpeechSynthesizerEnumerateInstalledVoices](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices.md) | 설치된 음성을 열거하고 각 음성에 대해 *callback*이 가리키는 메서드를 호출합니다. |
| [XSpeechSynthesizerGetStreamData](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizergetstreamdata.md) | 음성 합성 스트림에서 데이터를 검색합니다. |
| [XSpeechSynthesizerGetStreamDataSize](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizergetstreamdatasize.md) | 음성 합성 스트림에서 데이터 버퍼의 크기를 가져옵니다. |
| [XSpeechSynthesizerInstalledVoicesCallback](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerinstalledvoicescallback.md) | [XSpeechSynthesizerEnumerateInstalledVoices](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices.md)가 호출될 때 음성에 대한 정보를 받는 클라이언트 구현 콜백 함수입니다. |
| [XSpeechSynthesizerSetCustomVoice](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice.md) | 음성 합성기가 지정된 사용자 지정 음성을 사용하도록 지정합니다. |
| [XSpeechSynthesizerSetDefaultVoice](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetdefaultvoice.md) | 음성 합성기가 시스템의 기본 음성을 사용하도록 지정합니다. |

## 구조체

| 구조체 | 설명 |
| - | - |
| [XSpeechSynthesizerVoiceInformation](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/structs/xspeechsynthesizervoiceinformation.md) | 음성에 대한 정보를 제공합니다. |

## 열거형

| 열거형 | 설명 |
| - | - |
| [XSpeechSynthesizerVoiceGender](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md) | 음성의 성별을 나타냅니다. |

## 개념 설명서

* [Text-to-speech](https://docs.xbox.com/ko/build/console-features/text-to-speech/text-to-speech.md)
* [Time-sensitive threads](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)
* [Using C# wrappers for GDK APIs in your Unity project](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/pc-dev/tutorials/get-started-with-unity-pc/features/gdk-unity-api-wrappers)

## 참고 항목

[시스템 API 참조](https://docs.xbox.com/ko/reference/system/gc-reference-system-toc.md)


## Related topics

- [텍스트 음성 변환](https://docs.xbox.com/ko/build/console-features/text-to-speech/text-to-speech.md)
- [XSpeechSynthesizerCreate](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizercreate.md)
- [XSpeechSynthesizerCloseHandle](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerclosehandle.md)
- [XSpeechSynthesizerVoiceGender](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md)
- [XSpeechSynthesizerVoiceInformation](https://docs.xbox.com/ko/reference/system/xspeechsynthesizer/structs/xspeechsynthesizervoiceinformation.md)
