Skip to content

audio-quantize: Switch dither PRNG from LCG to xorshift

Sebastian Dröge requested to merge slomo/gstreamer:dither-xorshift into main

While this is slightly more expensive (~48% slower per random number) it does not cause any measurable difference when running through a complete audio conversion pipeline.

On the other hand its random numbers are of much higher quality and on spectrograms for 32 bit to 24 bit conversion the difference is clearly visible.


Before: before

After: after

Merge request reports