Skip to content

Commit

Permalink
enable multiprocessing feature on master
Browse files Browse the repository at this point in the history
  • Loading branch information
ludlows committed May 10, 2022
1 parent bb67ec2 commit 12e50a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ print(pesq(rate, ref, deg, 'wb'))
print(pesq(rate, ref, deg, 'nb'))
```

# Usage for batch version
# Usage for `multiprocessing` feature

```python
def pesq_batch(fs, ref, deg, mode='wb', n_processor=None, on_error=PesqError.RAISE_EXCEPTION):
Expand Down
2 changes: 2 additions & 0 deletions pesq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@

from ._pesq import pesq, pesq_batch
from ._pesq import PesqError, InvalidSampleRateError, OutOfMemoryError, BufferTooShortError, NoUtterancesError
__all__ = ['pesq', 'pesq_batch',
'PesqError', 'InvalidSampleRateError', 'OutOfMemoryError', 'BufferTooShortError', 'NoUtterancesError']

0 comments on commit 12e50a1

Please sign in to comment.