Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
AudioSampleFormat
The AudioSampleFormat enum describes the numeric format used to represent individual audio samples in an audio stream buffer.
Items
| Name | Value | Description |
|---|---|---|
| Int16 | 0 | Samples are represented as 16-bit signed integers, ranging from -32768 to 32767. |
| Float32 | 1 | Samples are represented as 32-bit floating-point numbers, typically ranging from -1.0 to 1.0. |
Int16
Samples are represented as 16-bit signed integers, ranging from -32768 to 32767.
| Field | Value |
|---|---|
| value | 0 |
Float32
Samples are represented as 32-bit floating-point numbers, typically ranging from -1.0 to 1.0.
| Field | Value |
|---|---|
| value | 1 |