A PyTorch toolkit for audio synthesis.
Project description
Audyn
Audyn is PyTorch toolkit for audio synthesis.
Build Status
| Python/PyTorch | Ubuntu | MacOS | Windows |
|---|---|---|---|
| 3.8/2.0 | |||
| 3.8/2.1 | |||
| 3.8/2.2 | |||
| 3.8/2.3 | |||
| 3.9/2.0 | |||
| 3.9/2.1 | |||
| 3.9/2.2 | |||
| 3.9/2.3 | |||
| 3.10/2.0 | |||
| 3.10/2.1 | |||
| 3.10/2.2 | |||
| 3.10/2.3 | |||
| 3.11/2.0 | |||
| 3.11/2.1 | |||
| 3.11/2.2 | |||
| 3.11/2.3 |
Installation
You can install by pip.
pip install git+https://github.com/tky823/Audyn.git
or clone this repository.
git clone https://github.com/tky823/Audyn.git
cd Audyn
pip install -e .
If you need to run recipes, add [recipes] as follows:
# In Audyn/
pip install -e ".[recipes]"
If you use MacOS, you may need to set MACOSX_DEPLOYMENT_TARGET during installation to build C++ related modules.
C++ extension
We use C++ extension to search monotonic alignment in some models (e.g. GlowTTS).
To take full advantage of computational efficiency, set appropriate value of OMP_NUM_THREADS and CXX during installation:
# In Audyn/
export CXX=<PATH/TO/CPP/COMPILER> # e.g. /usr/bin/c++
export OMP_NUM_THREADS=<SUITABLE/VALUE/FOR/ENVIRONMENT>
pip install -e "."
Development
git clone https://github.com/tky823/Audyn.git
cd Audyn
pip install -e ".[recipes,dev,tests]"
Build Documentation Locally (optional)
To build the documentation locally, you have to include docs when installing Audyn.
pip install -e ".[docs]"
When you build the documentation, run the following command.
cd docs/
make html
Or, you can build the documentation automatically using sphinx-autobuild.
# in Audyn/
sphinx-autobuild docs docs/_build/html
Test
pytest tests/package
To include slow tests
pytest tests/package --runslow
License
- Apache License, Version 2.0 EXCEPT FOR WEIGHTS OF PRETRAINED MODELS
- Weights for some of the pre-trained models are extracted from the official implementations. Their licenses follow the official implementations.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file audyn-0.0.3.tar.gz.
File metadata
- Download URL: audyn-0.0.3.tar.gz
- Upload date:
- Size: 257.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97dec74cc50e2e7cf4a99f0e00b4549a95189fabe8b26da79a13a9b10407145e
|
|
| MD5 |
7989caa6c6c3fff53c87e1e9f531ac3f
|
|
| BLAKE2b-256 |
d35401ca15e536f87883f35d8d18f6f91c63e10f5f2d78a3754b4bdc64af9cef
|
File details
Details for the file Audyn-0.0.3-cp312-cp312-macosx_10_15_x86_64.whl.
File metadata
- Download URL: Audyn-0.0.3-cp312-cp312-macosx_10_15_x86_64.whl
- Upload date:
- Size: 419.7 kB
- Tags: CPython 3.12, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76c611243f73ef18e7b429c2785ed9c03371a6b30f4d74b095f219b619de705a
|
|
| MD5 |
1a0d317151353c76360731409b430fb3
|
|
| BLAKE2b-256 |
920eba06be8c7aac8217fa6c3cb6e96e025d57a5520a5986ef30af6c931f5989
|