mmorise / World

A high-quality speech analysis, manipulation and synthesis system
http://www.kisc.meiji.ac.jp/~mmorise/world/english
Other
1.17k stars 251 forks source link

there is something wrong with your code #56

Closed jiqizaisikao closed 6 years ago

jiqizaisikao commented 6 years ago

F0EstimationHarvest(x, x_length, &world_parameters); the func input data but run end with err

mmorise commented 6 years ago

Sorry, the information is not enough to solve the problem. One possibility is that the input data has a certain period with only the amplitude zero. Current FFT cannot calculate the spectrum from such sequence. You can solve this problem by adding a extremely small noise.

jiqizaisikao commented 6 years ago

I use the next F0 func it works,so maybe you are right. before i checked the x input and modify x_length with many value ,all run end with err

mmorise commented 6 years ago

You must set the x_length to the input signal's length. If you set this value to above the length, you would get an error by buffer overrun.

jiqizaisikao commented 6 years ago

ofcource i just set the length smaller and smaller because i thought that may be some memory err

mmorise commented 6 years ago

I updated the Harvest according to another suggestion #59. If you don't solve the problem, please give me the .wav that does not work.