Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ludlows committed Jan 10, 2021
1 parent 2f75510 commit 68281fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ def pesq(fs, ref, deg, mode, on_error=PesqError.RAISE_EXCEPTION):
"""
```
Once you select `PesqError.RETURN_VALUES`, the `pesq` function will return -1 when an error occurs.

Once you select `PesqError.RAISE_EXCEPTION`, the `pesq` function will raise an exception when an error occurs.

It supports the following errors now: `InvalidSampleRateError`, `OutOfMemoryError`,`BufferTooShortError`,`NoUtterancesError`,`PesqError`(other unknown errors).

Thanks to the contribution from [@Rafgd](https://github.com/Rafagd).

0 comments on commit 68281fd

Please sign in to comment.