Output upsampling distorts, 44.1k to 96k
Bug #1959055 reported by
Attila Schler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Using Mixxx with 96000Hz sample rate the upsampled 44100Hz audio becomes quite distorted and also sounds dull.
See more on the issue here:
https:/
To post a comment you must log in.
This is a known issue of our linear resampling. It replaces the gap between two 44.1 samples with an artificial sample at the linear average between the both. There is no algorithm in place that recreated the sine wave and puts the sample on that. This is why you and see random above the 22 kHz and occasionally on other frequencies.
Mixxx is using this by default, because it gives the best performance when scratching where we have a different tempo each buffer, in that case the recreation of the sine waves is difficult.
If you enable key lock, other more CPU intensive resamplers are used, but once you are scratching it falls back to the linear type.
But that should be no reason to not use other resample algorithm. We have a pending bug to fix this by using a Sinc algorithm: https:/ /bugs.launchpad .net/mixxx/ +bug/1775164
Unfortunately no one has found time to look into that. Do you have interest?