Objective Quality Measure scores for speech samples in python.
Subjective listening tests provide perhaps the most reliable method for assessment of speech quality. These tests, however, can be time consuming requiring in most cases access to trained listeners. For these reasons, several researchers have investigated the possibility of devising objective, rather than subjective, measures of speech quality. Ideally, the objective measure should be able to assess the quality of the processed speech without needing access to the original speech signal. For futher understanding refer to link.
- PESQ (Perceptual Evaluation of Speech Quality)
- SegSNR (Segmental Signal to Noise ratio)
- LLR (Log likelihood ratio)
- WSS (Weighted spectral slope)
pip install oqmscore
- To import:
from oqmscore import SSNR, PESQ, LLR, WSS
- To initialize:
b=LLR()
- To load data:
b.load("path for clear utterance","path for noisy utterance")
- To score:
b.score()
- To check score:
b.llr_score
- The PESQ implementation is done using PESQ python wrapper
- The SegSNR, WSS and LLR implementations are take from SEGAN-repository
- Write unit tests
Write doc strings for the classes and functions properly.