jcvasquezc / DisVoice

feature extraction from speech signals
https://disvoice.readthedocs.io/en/latest/
MIT License
354 stars 79 forks source link

Can not extract glottal features. #11

Closed Xu-Shihao closed 6 years ago

Xu-Shihao commented 6 years ago

I met a problem when I extracted glottal features, where winShift(=5)/1000*fs=0 cause the error.

So I fixed the error like this:

Calculate LP-residual and extract N maxima per mean-based signal determined intervals

res = utils_gci.GetLPCresidual(x,winLen*fs/1000,winShift*fs/1000,LPC_ord, VUV_inter); 

Now the code is still not working. Can someone tell me how to fix this problem? image

I used python2.7 in Unbuntu16.04 x64.

By the way, pysptk package can not be successfully installed under python3.6 virtualenv.

Thanks and Regards XU SHIHAO

jcvasquezc commented 6 years ago

Dear XU

Thank you for let us know the issue

The problem is now fixed in the new version and the glottal features are computed

Please update the files glottal.py, GCI.py, and utils_gci.py, or just pull the newest version, and I hope everything runs fine.

Best regards

Xu-Shihao commented 6 years ago

Hi

Thanks. The code is working well on your example audios.

However it still not work on my own data. Please take a look. image

Really Thanks! Regards XU SHIHAO

jcvasquezc commented 6 years ago

Hi XU

The issues are fixed in the current version of Disvoice. Please take a look whether is working ok for your data Best

Xu-Shihao commented 6 years ago

Thanks for your help.

XU SHIHAO