Skip to content

Commit 86b5670

Browse files
schmiph2schmiph2
authored andcommitted
feat: initial implementation
1 parent cdb1b9d commit 86b5670

14 files changed

+2138
-2
lines changed

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,31 @@
1-
# pysepm
2-
Python implementation of performance metrics in Loizou's Speech Enhancement book
1+
# pysepm - Python Speech Enhancement Performance Measures (Quality and Intelligibility)
2+
[![DOI](https://zenodo.org/badge/220233987.svg)](https://zenodo.org/badge/latestdoi/220233987)
3+
4+
Python implementation of objective quality and intelligibilty measures mentioned in Philipos C. Loizou's great [Speech Enhancement Book](https://www.crcpress.com/Speech-Enhancement-Theory-and-Practice-Second-Edition/Loizou/p/book/9781138075573). The Python implementations are checked with the MATLAB implementations attached to the book (see [Link](https://crcpress.com/downloads/K14513/K14513_CD_Files.zip))
5+
6+
# Install with pip
7+
Install pysepm:
8+
```
9+
pip3 install https://github.com/schmiph2/pysepm/archive/master.zip
10+
```
11+
# Examples
12+
Please find a Jupyter Notebook with examples for all implemented measures in the [examples folder](https://github.com/schmiph2/pysepm/tree/master/examples).
13+
14+
# Implemented Measures
15+
## Speech Quality Measures
16+
+ Segmental Signal-to-Noise Ratio (SNRseg)
17+
+ Frequency-weighted Segmental SNR (fwSNRseg)
18+
+ Log-likelihood Ratio (LLR)
19+
+ Weighted Spectral Slope (WSS)
20+
+ Perceptual Evaluation of Speech Quality (PESQ), ([python-pesq](https://github.com/ludlows/python-pesq) implementation by ludlows)
21+
+ Composite Objective Speech Quality (composite)
22+
+ Cepstrum Distance Objective Speech Quality Measure (CD)
23+
24+
## Speech Intelligibility Measures
25+
+ Short-time objective intelligibility (STOI), ([pystoi](https://github.com/mpariente/pystoi) implementation by mpariente)
26+
+ Coherence and speech intelligibility index (CSII)
27+
+ Normalized-covariance measure (NCM)
28+
29+
## Dereverberation Measures (TODO)
30+
+ Bark spectral distortion (BSD)
31+
+ Scale-invariant signal to distortion ratio (SI-SDR)
624 KB
Binary file not shown.

examples/1_processed_16000_Hz.wav

624 KB
Binary file not shown.

examples/1_speech_16000_Hz.wav

624 KB
Binary file not shown.

0 commit comments

Comments
 (0)