# Decompress Voice

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) 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](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) ... become a sponsor today!
{% endhint %}

## Introduction

Decodes the compressed voice data returned by [Get Voice](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/get-voice).\
\
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](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/get-voice-optimal-sample-rate) 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](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/get-voice-optimal-sample-rate) to get the native sample rate of the Steam voice decoder.

### Return Value

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

## Nodes

<figure><img src="https://4053370152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZWu8yFOWhCYCMkJFmR%2Fuploads%2FEKqobaB3j5WtxQnHmTdT%2Fimage.png?alt=media&#x26;token=c2d88edc-9e81-466a-8b0e-bf2c75375dcf" alt=""><figcaption></figcaption></figure>
