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

# Inworld Voice Audio Component

[Overview](./overview) > Inworld Voice Audio Component

**Class:** `UInworldVoiceAudioComponent` | **Inherits from:** `UAudioComponent`

Specialized audio component for TTS voice playback with advanced features. This component extends UAudioComponent to provide specialized functionality for playing synthesized voice audio from the Inworld TTS system. It manages voice queuing, playback interruption, and playback timing events.

Key features:

* Queue-based voice playback management

* Playback interruption and cleanup

* Real-time playback timing events

* Thread-safe voice queue operations

* Event-driven architecture for playback notifications

## Methods

* [Interrupt](#interrupt)
* [QueueVoice](#queuevoice)

## Reference

### Interrupt

Interrupts the current voice playback. This function stops all pending voice chunks and immediately halts playback. It broadcasts an event to notify that the voice has been interrupted. Events: OnVoiceAudioInterrupt

<img src="https://mintcdn.com/inworldai/FLbWLM7DwaqfvDaU/img/unreal/runtime/nd_img_Interrupt.png?fit=max&auto=format&n=FLbWLM7DwaqfvDaU&q=85&s=4b8c6bc521aa45f9b759841840b040fe" alt="Interrupt Blueprint Node" width="289" height="108" data-path="img/unreal/runtime/nd_img_Interrupt.png" />

## Examples

```c++ theme={"system"}
void Interrupt()
```

***

### QueueVoice

Queues a voice chunk for playback.
This function adds the provided voice data to the playback queue.
If this is the first chunk in the queue, it sets the sample rate and channel configuration
based on the incoming audio data.
Events: OnVoiceAudioStart, OnVoiceAudioComplete

<img src="https://mintcdn.com/inworldai/UjBJ5lUznbajzMw5/img/unreal/runtime/nd_img_QueueVoice.png?fit=max&auto=format&n=UjBJ5lUznbajzMw5&q=85&s=e125191a814beb23a08f2596aae93c89" alt="QueueVoice Blueprint Node" width="289" height="138" data-path="img/unreal/runtime/nd_img_QueueVoice.png" />

## Examples

```c++ theme={"system"}
void QueueVoice(const FInworldData_TTSOutput& Voice)
```

#### Parameters

| Parameter | Type                            | Description                           |
| --------- | ------------------------------- | ------------------------------------- |
| Voice     | `const FInworldData_TTSOutput&` | The voice data to queue for playback. |

***
