# vx_tts_utterance

> Learn about text-to-speech functionality.

Text-to-speech utterance.

`#include <Vxc.h>`

## Public Attributes

|                                                                                           | Name                                                                                                                                         |
| ----------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| const [vx\_tts\_utterance\_impl\_t](./_vxc_8h.md#typedef-vx_tts_utterance_impl_t) \*const | **[utterance\_obj](./structvx__tts__utterance.md#variable-utterance_obj)** The backing implementation of the utterance.                      |
| const short \*                                                                            | **[speech\_buffer](./structvx__tts__utterance.md#variable-speech_buffer)** The PCM buffer of synthesized speech.                             |
| int                                                                                       | **[sample\_rate](./structvx__tts__utterance.md#variable-sample_rate)** The sample rate of audio in the utterance.                            |
| int                                                                                       | **[num\_frames](./structvx__tts__utterance.md#variable-num_frames)** The number of frames of audio in the utterance.                         |
| int                                                                                       | **[num\_channels](./structvx__tts__utterance.md#variable-num_channels)** The number of channels that the audio in the utterance consists of. |

## Public Attributes Documentation

### variable utterance\_obj

```cpp
const vx_tts_utterance_impl_t *const utterance_obj;
```

The backing implementation of the utterance.

### variable speech\_buffer

```cpp
const short * speech_buffer;
```

The PCM buffer of synthesized speech.

### variable sample\_rate

```cpp
int sample_rate;
```

The sample rate of audio in the utterance.

### variable num\_frames

```cpp
int num_frames;
```

The number of frames of audio in the utterance.

### variable num\_channels

```cpp
int num_channels;
```

The number of channels that the audio in the utterance consists of.
