A python wrapper for the PESQ score calculation C routine
![](https://www.deeplearningdaily.com/wp-content/uploads/2021/11/a-python-wrapper-for-the-pesq-score-calculation-c-routine_6183085c6166b-375x210.jpeg)
Pypesq is a python wrapper for the PESQ score calculation C routine. It only can be used in evaluation purpose.
INSTALL
pip install https://github.com/vBaiCai/python-pesq/archive/master.zip
or
pip install pypesq
HOW TO USE
import soundfile as sf
from pypesq import pesq
ref, sr = sf.read(...)
deg, sr = sf.read(...)
score = pesq(ref, deg, sr)
print(score)
OWNERS of PESQ ARE:
- British Telecommunications plc (BT), all rights assigned to Psytechnics Limited
- Royal KPN NV, all rights assigned to OPTICOM GmbH
- More test.
- I’m not sure whether to add the wav