[Vorbis-dev] dynamics, clipping, 0 dBFS

xiphmont at xiph.org
2008-12-29T05:51:25Z

> It's still unclear to me what that means. Should I think of Vorbis as
> a floating-point format or a fixed-point format?

It probably makes most sense to think of it as a floating point format.

> 1) What happens when you encode a floating point WAV that has samples
> which exceed 0 dBFS. Will it be correctly encoded or truncated at 0
> dBFS?

They will be correctly encoded.

> 2) What about a floating point file where every sample is below -60
> dBFS (or -140 dBFS). Does Vorbis take advantage of the floating point
> input or will this result in a floating point decode that has a very
> limited dynamic range?

The format can encode it correctly.  Our current encoder limits itself
to about -140dB of depth.

Monty