[Vorbis] What's the value range of float samples?

Michael Smith mlrsmith at gmail.com
Mon Jan 7 15:19:05 PST 2013


On Mon, Jan 7, 2013 at 1:50 PM, Nikos Chantziaras <realnc at gmail.com> wrote:
> On 07/01/13 23:23, Paul Martin wrote:
>> On Mon, Jan 07, 2013 at 08:53:56PM +0200, Nikos Chantziaras wrote:
>>
>>> Apparently, there are Vorbis streams that use float samples with values
>>> in the range of [-32768, 32767]?
>>
>> GIGO.
>
> So the answer is no?  Vorbis float values always have a nominal range of
> [-1,1) and I can always clamp/clip to that?
>

Yes, that's correct.

Mike


More information about the Vorbis mailing list