bandlimited bitcrusher
- KVRian
- 1169 posts since 24 Feb, 2012
When reducing word-length, all you need to do is to dither properly. Oversampling is pointless, at least as long you don't oversample by crazy amounts (64x and more) and go the pulse-width modulation/DSD way (which really isn't reasonable in DSP).
On a side note, how does white-noise look like when it aliases (in the Nyquist sense)? The result is white-noise again.
On a side note, how does white-noise look like when it aliases (in the Nyquist sense)? The result is white-noise again.
Fabien from Tokyo Dawn Records
Check out my audio processors over at the Tokyo Dawn Labs!
Check out my audio processors over at the Tokyo Dawn Labs!
- KVRian
- 1169 posts since 24 Feb, 2012
Properly dithered truncation has no side-effect beside an increased noise floor.
No matter if you're looking at bit-crushers or sample-rate decimators, the "creative" artefacts are always a product of a "wrong idea".
Maybe you want to try little more than no dithering (which would be still technically "wrong" and thus create these "creative" effects, but at a lower level).
No matter if you're looking at bit-crushers or sample-rate decimators, the "creative" artefacts are always a product of a "wrong idea".
Maybe you want to try little more than no dithering (which would be still technically "wrong" and thus create these "creative" effects, but at a lower level).
Fabien from Tokyo Dawn Records
Check out my audio processors over at the Tokyo Dawn Labs!
Check out my audio processors over at the Tokyo Dawn Labs!
-
- KVRian
- 653 posts since 4 Apr, 2010
This explains it:itoa wrote:Thanks I gonna take a look at the dithering then. I like this effect, but want to try a cleaner version.
https://www.youtube.com/watch?v=zWpWIQw7HWU
You'd want TPDF dither in this case. That's adding white noise (random value) at plus/minus half the level of the lowest bit that you intend to keep, then do it again (with another random value), before rounding or truncation.
Alternatively, you can just generate one random number per sample, and it to you sample, and subtract the previous random number (give a high pass-filtered noise, slightly faster).
Dithering will mainly save you from gritty artifacts when fading the levels when using limited resolution.
Some more articles:
http://www.earlevel.com/main/category/d ... tal-audio/
My audio DSP blog: earlevel.com