# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/decompress-voice.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
