LPCNet icon indicating copy to clipboard operation
LPCNet copied to clipboard

LPCNET with pitch higher than 500 Hz

Open juliakorovsky opened this issue 4 years ago • 1 comments

@jmvalin Let's say I want to use Lpcnet with a TTS network that was trained on female voice samples with maximum pitch not 500, but 550 Hz. Should I change some Lpcnet parameters to be able to get a good quality? For now I'm getting artifacts where some high-frequency sounds just disappear and it causes "croaking" effect.

juliakorovsky avatar Dec 14 '21 11:12 juliakorovsky

At the moment, the highest pitch that can be detected is 500 Hz. That corresponds to the shortest period allowed set by PITCH_MIN_PERIOD, which is currently 32. At the very least you'd have to decrease that value if you want support for higher pitches. Considering that I've never tried changing PITCH_MIN_PERIOD, it's also possible you may run into new issues (or not), but I'd recommend not decreasing it too much (I'd say don't go below 20 because you might get interactions with the LPC part).

jmvalin avatar Dec 15 '21 07:12 jmvalin