Live data from Hacker News

Autotone – A vocal pitch correction web application, like Autotune

github.com

11–18 of 18 posts

Re: Autotone – A vocal pitch correction web application, like Autotune

#13
post #11

This is cool. Loved it. But the quality is kind of abysmal.

This may be because your sample rate was not a multiple of 16000. If that's the case, a low-quality, linear resampling is applied to the input audio to make it compatible with the pitch detection model. This resampling function should be improved.

I just pushed a change that will attempt to set your sample rate to 48000 now which may improve your quality. Additionally, your sample rate will now log out in the console.

Re: Autotone – A vocal pitch correction web application, like Autotune

#14
post #8
post #7

no demo?

First link in the description: https://alexcrist.github.io/autotone/

I meant that I'm looking for some ready examples. Currently I have to connect a microphone and test it myself, which I'm not keen on doing

Re: Autotone – A vocal pitch correction web application, like Autotune

#15
post #4
post #3

Practically, can this be used for real-time pitch shifting of an octave or two?

Since you identify an instrument or voice by its formants (which are more or less at a fixed frequency), it's unlikely to yield good results over such a large range.

I disagree. Sure, a naive approach wouldn't work (shift everything), but everyone's voice covers multiple octaves, so I'm sure plenty of people already know what changes need to happen if you sing in C2 but want to transpose it to C4, etc.

Re: Autotone – A vocal pitch correction web application, like Autotune

#17
post #4

Earlier quoted context omitted.

Since you identify an instrument or voice by its formants (which are more or less at a fixed frequency), it's unlikely to yield good results over such a large range.

I disagree. Sure, a naive approach wouldn't work (shift everything), but everyone's voice covers multiple octaves, so I'm sure plenty of people already know what changes need to happen if you sing in C2 but want to transpose it to C4, etc.

Of course there's some knowledge about that, but the approach in the link identifies the pitch by an NN (this step is not relevant to the current discussion) and then applies an FFT based method for pitch shifting that doesn't take any of it into account. So it'll shift formants as well, making voices and instruments change their character substantially.

Re: Autotone – A vocal pitch correction web application, like Autotune

#18
post #17

Earlier quoted context omitted.

I disagree. Sure, a naive approach wouldn't work (shift everything), but everyone's voice covers multiple octaves, so I'm sure plenty of people already know what changes need to happen if you sing in C2 but want to transpose it to C4, etc.

Of course there's some knowledge about that, but the approach in the link identifies the pitch by an NN (this step is not relevant to the current discussion) and then applies an FFT based method for pitch shifting that doesn't take any of it into account. So it'll shift formants as well, making voices and instruments change their character substantially.

Oh, yeah, that specific approach wouldn't work. It wasn't obvious to me if you were being specific about the article's approach or not.
Post reply on HN