A PyTorch toolkit for audio synthesis.
Project description
Audyn
Audyn is PyTorch toolkit for audio synthesis.
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
# In 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
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
Hashes for Audyn-0.0.1.dev6-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc64c3a212463ef9aeaaa72d62469cbd9f950624ba103b189b89acc67b1aeee5 |
|
MD5 | e329497764b1277d3d8e34f307e31480 |
|
BLAKE2b-256 | 85f4fd27e4dcc8dc5c522e9c7c82c523f73b6f5d209dbaf2784e3218e970beb8 |