/OQMscores-python

Objective Quality Measure scores for speech samples in python.

Primary LanguagePythonMIT LicenseMIT

OQMscores-python

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.

The OQM scores implemented in this package are:

  • PESQ (Perceptual Evaluation of Speech Quality)
  • SegSNR (Segmental Signal to Noise ratio)
  • LLR (Log likelihood ratio)
  • WSS (Weighted spectral slope)

Requirements:

Installation:

pip install oqmscore

How to use:

  • 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

References:

to-dos:

  • Write unit tests
  • Write doc strings for the classes and functions properly.