Connexion
Ce forum permet à des personnes du monde entier de communiquer, c′est pourquoi les messages échangés sont en anglais.

How does Polyphone make low-def audio sound good?

Catégorie : Pause café
  • 37 9
    Message de tahutoa le
    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)?
  • 417 0
    Message de Davy le 1
    Outch you just put your finger in a complex subject which is indeed the interpolation, which is used for
    • resampling data for matching the audio output sample rate,
    • changing the pitch (coarse / fine tune, modulations...).

    At first I simply used a linear interpolation
    https://en.wikipedia.org/wiki/Linear_interpolation 

    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.

Connectez-vous ou inscrivez-vous pour participer à la discussion.

Polyphone a besoin de vous !

Polyphone est gratuit mais il y a des coûts associés à son site web et à son développement. Un petit coup de pouce aidera beaucoup.

Faire un don
Apprenez les bases Voir le tutoriel
Haut de
page