> For the complete documentation index, see [llms.txt](https://kb.heathen.group/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/decompress-voice.md).

# Decompress Voice

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

Decodes the compressed voice data returned by [Get Voice](/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/get-voice.md).\
\
The output data is raw single-channel 16-bit PCM audio. The decoder supports any sample rate from 11025 to 48000. See [Get Voice Optimal Sample Rate](/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/get-voice-optimal-sample-rate.md) for more information.

### Compressed Data

The array of bytes that represents the compressed data

### Desired Sample Rate

The sample rate that will be returned. This can be from **11025** to **48000**, you should either use the rate that works best for your audio playback system, which likely takes the user's audio hardware into account, or you can use [Get Voice Optimal Sample Rate](/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/get-voice-optimal-sample-rate.md) to get the native sample rate of the Steam voice decoder.

### Return Value

A [Decompress Voice Result](/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/types/decompress-voice-result.md) value containing the results and data of the process

## Nodes

<figure><img src="/files/7FymCnuFgMe8ZC98Raq4" alt=""><figcaption></figcaption></figure>
