Rockbox General > Rockbox General Discussion
Does Rockbox clip MP3's to -1...+1 range?
(1/1)
resetter:
We know that because of compression artifacts, even though MP3 encoding requires integer input (preferably without any built-in clipping, but the usable range of values is capped at -1...+1 full range regardless, usually as a 16-bit integer), MP3s can contain some peaks that go beyond full range, such as +1.025164, -1.015953, etc.
Does Rockbox clip these values to -1...+1 range or handle them in floating point?
saratoga:
Rocbox devices generally don't have floating point units, so all decoding and processing is fixed point. Since fixed point wraps around rather than clips we leave enough headroom that no file can exceed full scale.
If you are worried about clipping, I would replaygain.
Navigation
[0] Message Index
Go to full version