1 min read

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

NameValueDescription
Int160Samples are represented as 16-bit signed integers, ranging from -32768 to 32767.
Float321Samples 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.

FieldValue
value0

Float32

Samples are represented as 32-bit floating-point numbers, typically ranging from -1.0 to 1.0.

FieldValue
value1