I know it's everything to do with the sound engine, but like, the ability to make 12k Hz audio sound that good in other programs would be grand. FL Studio's DirectWave does something similar. I think it's maybe due to interpolation.
In other words, assuming it's possible, what sound settings would I use in, say, Audacity, if I wanted to get that same quality (without having to resort to recording my speaker output)?
But in doing this, artifacts appeared when increasing the pitch of already high-pitched samples because of aliasing:
https://en.wikipedia.org/wiki/Aliasing
I noticed that Fluidsynth doesn't have this drawback so I analysed their code and Polyphone is now using what appears to be a 7-order sinc interpolation formula but don't ask me to explain how it is working!!
https://en.wikipedia.org/wiki/Whittaker%…nterpolation_formula
There are many interpolation functions and this one seems to respect the harmonic content of the sound wave particularly well.