Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
18dd5a8
inital commit
Nov 7, 2019
d8c283c
remove cache
Nov 7, 2019
af5185f
Update README.md
schmiph2 Nov 7, 2019
7d4c9d2
Update README.md
schmiph2 Nov 7, 2019
365b536
example notebook added
Nov 7, 2019
a48131e
Merge branch 'master' of https://github.com/schmiph2/pysepm
Nov 7, 2019
68af55a
Update README.md
schmiph2 Nov 7, 2019
2e33a0c
Update README.md
schmiph2 Nov 7, 2019
516408f
Update README.md
schmiph2 Nov 7, 2019
58acc24
Update README.md
schmiph2 Nov 7, 2019
810ae98
install required modules
schmiph2 Nov 7, 2019
a084f01
Update setup.py
schmiph2 Nov 7, 2019
dcf38c9
Update setup.py
schmiph2 Nov 7, 2019
b85b840
Update setup.py
schmiph2 Nov 7, 2019
7295439
Update setup.py
schmiph2 Nov 7, 2019
c980a22
Update setup.py
schmiph2 Nov 7, 2019
f222dd0
Update setup.py
schmiph2 Nov 7, 2019
e9d0a11
Update setup.py
schmiph2 Nov 7, 2019
27dfcd7
Update README.md
schmiph2 Nov 8, 2019
819b012
Update README.md
schmiph2 Nov 8, 2019
0e0392b
Update README.md
schmiph2 Nov 8, 2019
b750207
Update README.md
schmiph2 Nov 8, 2019
325076c
Update README.md
schmiph2 Nov 8, 2019
15cd213
Update README.md
schmiph2 Nov 19, 2019
12f6160
CSII metric added
Jun 15, 2020
43061dd
Update README.md
schmiph2 Jun 15, 2020
4ca4581
NCM metric added
Jun 16, 2020
63ea956
Merge branch 'master' of https://github.com/schmiph2/pysepm
Jun 16, 2020
833685e
Update README.md
schmiph2 Jun 16, 2020
b3b20f7
Update README.md
schmiph2 Jun 16, 2020
3a06d40
Update README.md
schmiph2 Jun 16, 2020
de2dd84
Create requirements.txt
schmiph2 Jun 16, 2020
0112c75
Update requirements.txt
schmiph2 Jun 16, 2020
e717f17
Update setup.py
schmiph2 Jun 16, 2020
c885443
Update setup.py
schmiph2 Jun 16, 2020
3065522
Delete requirements.txt
schmiph2 Jun 16, 2020
173a294
Create pyproject.toml
schmiph2 Jun 16, 2020
713c15f
Update pyproject.toml
schmiph2 Jun 16, 2020
beaba4e
restructred project and added some reverberation metrics
Jun 17, 2020
d2a3c9f
restructured project and rev measured added
schmiph2 Jun 17, 2020
1b4db91
init commit
schmiph2 Jun 17, 2020
21dc326
required packages added
schmiph2 Jun 17, 2020
850fb7f
adapted to new structure
schmiph2 Jun 17, 2020
f8a298a
setup script adapted to install package with pip install -e .
Jun 18, 2020
34222d6
gammatone is not needed anymore as it is included in srmrpy, switched…
Jun 18, 2020
ba360e2
Update README.md
schmiph2 Jun 18, 2020
77511d6
Update README.md
schmiph2 Jun 18, 2020
fb07da4
cepstrum metric added
Jun 19, 2020
7a9aa67
new pystoi import
Jun 19, 2020
a734d0f
new metric added to init
Jun 19, 2020
07811b5
tests with results of matlab reference implementations added
Jun 19, 2020
bc0824f
init commit of results file of matlab reference implementations
Jun 19, 2020
bf6ceac
Merge branch 'master' of https://github.com/schmiph2/pysepm
Jun 19, 2020
aa6cae8
prototype of BSD added
Jun 20, 2020
c9eec38
rdt measure removed
Jun 20, 2020
74c95f3
first tests of BSD
Jun 20, 2020
9bd47d0
Update README.md
schmiph2 Jun 22, 2020
875a53d
prototype of test added
Jun 22, 2020
6f59004
Merge branch 'master' of https://github.com/schmiph2/pysepm
Jun 22, 2020
a7a88e2
updated pesq calculations
Jun 23, 2020
f0eb679
removed implicit resampling in ncm metric
Jun 23, 2020
49921dc
changed default proporties of srmr
Jun 23, 2020
051c6af
prototype v2 of tets
Jun 23, 2020
fa9372f
updated resampling method to the same as matlab
Jul 7, 2020
3143ccc
updated lpcoeff calculation to the same as original implementation
Jul 7, 2020
a05a59b
added matlab like resampling
Jul 7, 2020
4e5844f
updated test files and test tolerances
Jul 7, 2020
cf240ee
Delete testPerfMetrics.ipynb
schmiph2 Jul 13, 2020
f1e1a35
matlab results for new files
schmiph2 Jul 13, 2020
c371de5
Merge branch 'master' of https://github.com/schmiph2/pysepm
schmiph2 Jul 13, 2020
b0967e6
removed energy output of srmr
schmiph2 Jul 13, 2020
9d102ce
removed energy output of srmr
schmiph2 Jul 13, 2020
8e2958d
improved execution time of lp based measures using numba
schmiph2 Jul 13, 2020
e534bbf
do not divide by 0
schmiph2 Jul 13, 2020
f86e2fc
commented code removed, tolerance for llr slightly increased (due to …
schmiph2 Jul 13, 2020
ddbe80a
example for calculating measures added, including wav files
schmiph2 Jul 13, 2020
5ffd1e0
add numba to setup.py
schmiph2 Jul 13, 2020
cc93b0a
Update README.md
schmiph2 Jul 14, 2020
ada199d
Update README.md
schmiph2 Jul 14, 2020
17961a0
Update README.md
schmiph2 Jul 14, 2020
dfdb5ae
bsd calculation adjusted to match matlab implementation
Jul 14, 2020
6ceb988
bsd examples added
Jul 14, 2020
736f567
Merge branch 'master' of https://github.com/schmiph2/pysepm
Jul 14, 2020
ae2fe3d
pre-emphasis added to bsd
Jul 14, 2020
9905e81
results in examples changed
Jul 14, 2020
78b9a3a
Update README.md
schmiph2 Aug 27, 2020
16f5e2b
Update README.md
schmiph2 Sep 10, 2020
30d3bc8
Update README.md
schmiph2 Sep 10, 2020
bb0d2e4
new import for changed pystoi library
Nov 17, 2020
df7c2aa
update implementation to match matlab reference
Nov 17, 2020
fff03d0
Update README.md
schmiph2 Nov 20, 2020
3c3f35e
Update README.md
schmiph2 Jun 30, 2021
0a4bdb7
Update qualityMeasures.py
HTill Jan 22, 2024
d9a9ea5
Update util.py
HTill Jun 12, 2024
cbb5310
Update reverberationMeasures.py
HTill Jun 12, 2024
a6e8110
Update __init__.py
HTill Jun 12, 2024
984b89a
Update __init__.py
HTill Jun 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 31 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
# pysepm
Python implementation of performance metrics in Loizou's Speech Enhancement book
# pysepm - Python Speech Enhancement Performance Measures (Quality and Intelligibility)
[![DOI](https://zenodo.org/badge/220233987.svg)](https://zenodo.org/badge/latestdoi/220233987)

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))

# Install with pip
Install pysepm:
```
pip3 install https://github.com/schmiph2/pysepm/archive/master.zip
```
# Examples
Please find a Jupyter Notebook with examples for all implemented measures in the [examples folder](https://github.com/schmiph2/pysepm/tree/master/examples).

# Implemented Measures
## Speech Quality Measures
+ Segmental Signal-to-Noise Ratio (SNRseg)
+ Frequency-weighted Segmental SNR (fwSNRseg)
+ Log-likelihood Ratio (LLR)
+ Weighted Spectral Slope (WSS)
+ Perceptual Evaluation of Speech Quality (PESQ), ([python-pesq](https://github.com/ludlows/python-pesq) implementation by ludlows)
+ Composite Objective Speech Quality (composite)
+ Cepstrum Distance Objective Speech Quality Measure (CD)

## Speech Intelligibility Measures
+ Short-time objective intelligibility (STOI), ([pystoi](https://github.com/mpariente/pystoi) implementation by mpariente)
+ Coherence and speech intelligibility index (CSII)
+ Normalized-covariance measure (NCM)

## Dereverberation Measures (TODO)
+ Bark spectral distortion (BSD)
+ Scale-invariant signal to distortion ratio (SI-SDR)
Binary file added examples/1_noisySpeech_16000_Hz.wav
Binary file not shown.
Binary file added examples/1_processed_16000_Hz.wav
Binary file not shown.
Binary file added examples/1_speech_16000_Hz.wav
Binary file not shown.
Loading