-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant print #17
Comments
hi,Process finished with exit code -1073741571 (0xC00000FD) |
I also encountered this problem, and I didn't find a solution |
Can you provide the test audios? |
|
Desktop.zip |
Hi, hidehowever777 To notice that PESQ cannot be computed in some cases. Unfortunately, your data is in this case. For your data, the C version of PESQ will produce the same results as pypesq. BTW, the C code assumes that audios are 16-bit-int quantized. The attachment is 16-bit-int audios. You can verify the result using C code by yourself. |
Desktop.zip |
Hello, even i try to your samples data, i also meet this error :Process finished with exit code -1073741571 (0xC00000FD) |
The sample data prove that PESQ cannot be calculated in some cases, even if C version is used. |
ok,I know. |
When using Example:
and
|
@pjnr1 i used the way you told,but also have mistake :librosa.util.exceptions.ParameterError: Audio data must be floating-point |
@hidehowever777 what format is your sound file? |
@pjnr1 16int,i send the file for you |
oh, I see. Doesn't work for librosa. Which is a bid counter-intuitive. The wav-format is implemented so that each sample is save on disk as integer-values. You could convert the file from librosa, assuming the maximum value being
That should work. However, that process seems to be included already: python-pesq/pypesq/__init__.py Lines 42 to 48 in d870dfa
|
@pjnr1 sorry,the problem still exist:Process finished with exit code -1073741571 (0xC00000FD) |
@hidehowever777 I guess you can conclude that the file format isn't the problem then. Sorry. |
I had the same problem. Please advise. |
The above audio file has sample rate of 16000, which is working on C version pesq script, just to be clear, the C version has been rescripted in python script, which is working fine. The pesq score for the above audio is 1.027367353439331 |
a,sr=sf.read('E:/speech/sliced_test_clean/S_01_01.wav')
b,sr=sf.read('E:/speech/sliced_test_-5/S_01_01.wav')
score=pesq(a,b,sr)
print(score)
there is no print
The text was updated successfully, but these errors were encountered: