vBaiCai / python-pesq

A python package for calculating the PESQ.
MIT License
353 stars 69 forks source link

ERROR #26

Closed lcxsnow closed 3 years ago

lcxsnow commented 3 years ago

image image image

vBaiCai commented 3 years ago

I think the duration of the audio file is too short.

It caused that PESQ cannot find the correct alignment between degraded and reference audio.

lcxsnow commented 3 years ago

But I have other files which are e same as these data.size. They can be PESQ.

vBaiCai commented 3 years ago

Of course that can happen,as the duration may not the only reason.

But,The NoUtteranceError will be raised only if the alignment failed.

To note that,this is not a bug. It can be expected that audios cannot be aligned in some situations.

If you want to know more details,you can read the specification of PESQ (ITU P.862)