audlib
A speech signal processing library in Python with emphasis on deep learning.
audlib provides a collection of utilities for developing speech-related applications using both signal processing and deep learning. The package offers the following high-level features:
- Speech signal processing utilities with ready-to-use applications
- Deep learning architectures for speech processing tasks in PyTorch
- PyTorch-compatible interface (similar to torchvision) for batch processing
- A command-line interface with a unix-pipe-like syntax
Some use cases of audlib are:
- Extracting common speech features for your backend
- Developing your own deep-learning-based tools for speech tasks
- Quickly try out speech processors and visualize the spectrogram in command line
audlib focuses on correctness, efficiency, and simplicity. Signal processing functionalities are mathematically checked whenever possible (e.g. constant overlap-add, istft(stft(X))==X). Deep neural networks follow the PyTorch's convention.
Breaking Changes
- 0.0.3
sig.util.freqzbecomessig.util.fftfreqznn.strfnetis removed. See the official repository here.transform.stlogmis removed
- 0.0.2
audioreadfollows the interface ofsoundfile.readaudiowritefollows the interface ofsoundfile.write- The argument
sris removed from all short-time transforms
Installation
pip install audlib
Developer Installation
In the source directory, install the library with test dependencies:
pip install ".[tests]"
Run test:
python -m pytest tests
Release flow
- Bump version in setup.py.
- Package release:
python setup.py sdist bdist_wheel - Upload release:
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
Usage example
More extensive examples can be found in examples/.
Release history
- 0.0.3
- First release of the command-line tool audpipe
- 0.0.2
- Streamlines optional installation
- Improves API (see breaking changes)
- Adds coverage test
- 0.0.1
- First release on PyPI
Contact
Please reach out to Raymond Xia (raymondxia@cmu.edu) for comments.
More information about our research groups can be found on at
License
Distributed under the MIT license. See LICENSE for more information.
Metadata
Release files for audlib 0.0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| audlib-0.0.3.5.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| audlib-0.0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.0 MB
Release files / audlib-0.0.3.5.tar.gz
| Download URL | audlib-0.0.3.5.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c190641e34ce2af67ba3d84aa0c2d66915fbd411465e574b07335e0bd926623
|
|
BLAKE2b-256 checksum How to use checksums |
43bf757aba07b70f5b00eba138bee3b98d7f79ea7ea0388c7ad44a9c663f9b9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
|
Release files / audlib-0.0.3.5-py3-none-any.whl
| Download URL | audlib-0.0.3.5-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97b14e353d4f6be29d6b6b0755e27b8738e2f70d16f9b62e877a2ab7941d63a7
|
|
BLAKE2b-256 checksum How to use checksums |
d3e9e1968bbd3cdb009df99875a7c213def88fb617b8e99d526500f4417fd92c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
|