Audio.Decompress¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
Accepts compressed audio data as a Binary chunk containing Opus-encoded data. | Bytes |
||
Output ➡️ |
Outputs the decompressed audio data as an Audio chunk. | Audio |
||
SampleRate |
No | The sample rate for the output audio in Hz. Opus supports 8, 12, 16, 24, or 48 kHz. | 48000 |
IntVar(Int) |
Channels |
No | The number of audio channels (1 for mono, 2 for stereo, up to 255 for multistream). | 2 |
IntVar(Int) |
FrameSize |
No | The frame size in frames (samples). Must be one of the valid Opus frame sizes for the given sample rate. Common values are 120, 240, 480, 960, 1920, or 2880 frames at 48kHz. | 960 |
IntVar(Int) |
Decompresses audio data that was encoded with the Opus codec. This shard takes Opus-encoded binary data and outputs raw audio samples. Opus is designed for interactive speech and audio transmission over the Internet, providing high-quality compression with low latency.