Welcome, Guest
Username: Password: Remember me

TOPIC: How does Polyphone make low-def audio sound good?

How does Polyphone make low-def audio sound good? 2 months 14 hours ago #1

  • tahutoa
  • tahutoa's Avatar
  • Offline
  • Junior Member
  • I legitimately use this program often.
  • Posts: 34
  • Thank you received: 2
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)?
Visit my SoundCloud profiles for high quality WL4-style remixes and links to my MIDIs
Main: soundcloud.com/tahutoa
2nd: soundcloud.com/tahutoa2
The administrator has disabled public write access.

How does Polyphone make low-def audio sound good? 1 month 4 weeks ago #2

  • Davy
  • Davy's Avatar
  • Offline
  • Administrator
  • Organ enthusiast and creator of Polyphone
  • Posts: 412
  • Thank you received: 98
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
en.wikipedia.org/wiki/Linear_interpolation

But in doing this, artifacts appeared when increasing the pitch of already high-pitched samples because of aliasing:
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!!
en.wikipedia.org/wiki/Whittaker%E2%80%93...nterpolation_formula

There are many interpolation functions and this one seems to respect the harmonic content of the sound wave particularly well.
Last Edit: 1 month 4 weeks ago by Davy.
The administrator has disabled public write access.
The following user(s) said Thank You: tahutoa
Time to create page: 0.054 seconds