Supported Input Audio
SpatialReal services currently accept mono 16-bit PCM (s16le) audio as raw PCM bytes.
Format
Raw PCM bytes in
s16le formatChannels
1 channel (mono)Bit Depth
16-bit samplesSample Rates
8000 to 48000 Hz from the supported set belowSpecification
| Property | Value |
|---|---|
| Sample Rate | One of 8000, 16000, 22050, 24000, 32000, 44100, 48000 |
| Channels | 1 (mono) |
| Bit Depth | 16-bit |
| Format | Raw PCM bytes |
| PCM Encoding | s16le |
If your source audio uses stereo channels, floating point samples, compressed codecs, or an unsupported sample rate, convert it before sending it to SpatialReal.
What s16le Means
s16means each audio sample is a signed 16-bit integer.lemeans the bytes are stored in little-endian order.monomeans the stream contains a single channel only.
Common Conversion Checklist
Before sending audio to the SDK or service, make sure your pipeline outputs:- a supported sample rate
- mono audio
- 16-bit signed PCM samples
- raw PCM bytes rather than WAV headers or compressed audio frames

