Entrar
Este fórum permite que pessoas do mundo todo se comuniquem, por isso as mensagens trocadas são em inglês.

How does Polyphone make low-def audio sound good?

Categoria: Ajuda e dúvidas
  • 37 9
    Mensagem de tahutoa em
    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)?
  • 429 1
    Mensagem de Davy em 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.

Entre ou cadastre-se para participar das discussões.

O Polyphone precisa de você!

O Polyphone é gratuito, mas há custos ligados ao site e ao desenvolvimento. Uma pequena doação ajuda muito.

Doar
Aprenda o básico Experimente um tutorial
Voltar ao
topo