Skip to main content

A PyTorch toolkit for audio synthesis.

Project description

Audyn

codecov

Audyn is PyTorch toolkit for audio synthesis.

Build Status

Python/PyTorch Ubuntu MacOS (x86_64) MacOS (arm64) Windows
3.10/2.0 ubuntu-latest/3.10/2.0 macos-15-intel/3.10/2.0 windows-latest/3.10/2.0
3.10/2.1 ubuntu-latest/3.10/2.1 macos-15-intel/3.10/2.1 windows-latest/3.10/2.1
3.10/2.2 ubuntu-latest/3.10/2.2 macos-15-intel/3.10/2.2 windows-latest/3.10/2.2
3.10/2.3 ubuntu-latest/3.10/2.3
3.11/2.0 ubuntu-latest/3.11/2.0 macos-15-intel/3.11/2.0 windows-latest/3.11/2.0
3.11/2.1 ubuntu-latest/3.11/2.1 macos-15-intel/3.11/2.1 windows-latest/3.11/2.1
3.11/2.2 ubuntu-latest/3.11/2.2 macos-15-intel/3.11/2.2 windows-latest/3.11/2.2
3.11/2.3 ubuntu-latest/3.11/2.3 macos-latest/3.11/2.3
3.11/2.5 ubuntu-latest/3.11/2.5 macos-latest/3.11/2.5 windows-latest/3.11/2.5
3.11/2.6 ubuntu-latest/3.11/2.6 macos-latest/3.11/2.6 windows-latest/3.11/2.6
3.12/2.2 ubuntu-latest/3.12/2.2 macos-15-intel/3.12/2.2 windows-latest/3.12/2.2
3.12/2.3 ubuntu-latest/3.12/2.3 macos-latest/3.12/2.3
3.12/2.5 ubuntu-latest/3.12/2.5 macos-latest/3.12/2.5 windows-latest/3.12/2.5
3.12/2.7 ubuntu-latest/3.12/2.7 macos-latest/3.12/2.7 windows-latest/3.12/2.7
3.12/2.10 ubuntu-latest/3.12/2.10 macos-latest/3.12/2.10
3.13/2.6 ubuntu-latest/3.13/2.6 macos-latest/3.13/2.6 windows-latest/3.13/2.6
3.13/2.7 ubuntu-latest/3.13/2.7 macos-latest/3.13/2.7 windows-latest/3.13/2.7
3.13/2.8 ubuntu-latest/3.13/2.8 macos-latest/3.13/2.8
3.13/2.9 ubuntu-latest/3.13/2.9 macos-latest/3.13/2.9
3.13/2.10 ubuntu-latest/3.13/2.10 macos-latest/3.13/2.10

Installation

You can install by pip.

pip install Audyn
# from source
# 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 "."

Backend of torchaudio

For torch>=2.9, torchcodec is required as backend of torchaudio:

pip install torchcodec

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 DDP tests

pytest tests/package --runddp

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audyn-0.4.0.tar.gz (343.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

audyn-0.4.0-cp313-cp313-win_amd64.whl (593.9 kB view details)

Uploaded CPython 3.13Windows x86-64

audyn-0.4.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

audyn-0.4.0-cp313-cp313-macosx_11_0_arm64.whl (582.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

audyn-0.4.0-cp312-cp312-win_amd64.whl (593.8 kB view details)

Uploaded CPython 3.12Windows x86-64

audyn-0.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

audyn-0.4.0-cp312-cp312-macosx_11_0_arm64.whl (582.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

audyn-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl (585.4 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

audyn-0.4.0-cp311-cp311-win_amd64.whl (592.8 kB view details)

Uploaded CPython 3.11Windows x86-64

audyn-0.4.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

audyn-0.4.0-cp311-cp311-macosx_11_0_arm64.whl (581.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

audyn-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl (584.6 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

audyn-0.4.0-cp310-cp310-win_amd64.whl (592.2 kB view details)

Uploaded CPython 3.10Windows x86-64

audyn-0.4.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

audyn-0.4.0-cp310-cp310-macosx_11_0_arm64.whl (580.6 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

audyn-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl (582.9 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file audyn-0.4.0.tar.gz.

File metadata

  • Download URL: audyn-0.4.0.tar.gz
  • Upload date:
  • Size: 343.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for audyn-0.4.0.tar.gz
Algorithm Hash digest
SHA256 7e7fc821e44ea1caca2972f47943be9b4b06e6302d762ee49dc94e4ef14f0be2
MD5 ea60c3e9fe5d62e1dc2964234ccff5cf
BLAKE2b-256 42c862e388c624dff6d610b8b0d29ddf20e40ff946bae2b326912b62227ac2b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0.tar.gz:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: audyn-0.4.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 593.9 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for audyn-0.4.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a58c880b57f2fd639e632c42b4b870e1cd16e4504fd51d41e14b9c0237f2efe7
MD5 fd41cff15a265613f6a719546f49ac62
BLAKE2b-256 66ab4bbd565c8fa9f900b050d1cd022a45a4bb1da7b0595910469cc756bafbbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp313-cp313-win_amd64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for audyn-0.4.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ead95c7df7c978b53421337aa8032aaae3f474599a872bcd648dd377a3063bf6
MD5 59774cab578f05233a4854b4614397b2
BLAKE2b-256 4c44c980b0d57885cb5d20c61e032af74f7556aefea71ebfc960de68cc3a9da2

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for audyn-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b2da29b0b61f8d5dad53afd5d8b305f17ee699bb73606c47d567cc78d4d968ef
MD5 fcf7dd478f32c9892ae09a7f59e5d490
BLAKE2b-256 ce2545751ab3a0f337ea497993789cb01f13fc612c7bca251b4d5dc4001b8830

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: audyn-0.4.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 593.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for audyn-0.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 62e93e578b2af20a21761f5ec4eb794e27e6b930641ef96195459ed9dd3b0c92
MD5 a296428f754e3b039d94208008137a34
BLAKE2b-256 e5f3bf2be5ffc86b065f3f634eeaa09460fcf6a3b9e3c605ceac14f9968383d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp312-cp312-win_amd64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for audyn-0.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ce29cb86a33eb11515f4f4c01cbf06f29f503eab3b4071f1e24babe5eedb0adf
MD5 53db6f9bf81272a4faa2d26ceb9fa3d8
BLAKE2b-256 0dc4a200af08055833ea9a31e7cc2efd2117199966027b0d9f96e1c10b6f09f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for audyn-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 824a2bbf74190cb5b65f702e3fb05a3ebc4aa0324123b649799746186eafa640
MD5 53177a59123e09b8cdf06be4f1510869
BLAKE2b-256 b151e6f3d07b29e7b99b4995385d7a2fc9feecc61a0605b5048933a559b964d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for audyn-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 e7b8f386f600dcf73ac49f2c3c98b4f851f77d0c3d8b660de9e09d1e3461f27a
MD5 4e7ea490720d7d8b6b4a9c34f94542dc
BLAKE2b-256 5d33482d8d6affc61b39c043c28b43b015de47c986ae09de10c8fe9452d5b8fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: audyn-0.4.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 592.8 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for audyn-0.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 74914e74d80b8550dda32e2c7900dd842f8fa8a923b135db9863dca87319a6ac
MD5 1b3a01a5e1c4a318985201ea1ceff3fb
BLAKE2b-256 1d034169f34eccbb80b0592364a3182cfa17b29457f714db862e98c885feba5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp311-cp311-win_amd64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for audyn-0.4.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3573b23f2561598d594dd421495c8f6bb509b680ecc449dccdc84b40e3ddac60
MD5 8e94699ac1b47d8431f5c1bf47d27b34
BLAKE2b-256 08d673fcb3643e2914cd90c04a34a8a3129618e4d8d1d202c60a38c3f5b736ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for audyn-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7b635ed5ff08156fa876dab3854437e68fe794e547a0e9562724f42e80f7f3e1
MD5 674118a1b53bad4db6608a5043e97d4c
BLAKE2b-256 7a0f03ce627d01a888bf7d7261d0c1f682a0a5044db5c7c8ff5c34b2e9c3ac37

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for audyn-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 590dbc9b8607d12c5b298bfa5c27fdaac06e4fe7c0f3eec09fe0e741e9e5630d
MD5 d711f164a42700fdf8140d21b101409a
BLAKE2b-256 393504fe9d638b2501292540959572fb5928b744c50dc52116d3f0c2ee0d453d

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: audyn-0.4.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 592.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for audyn-0.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a5fa0a1cbb514b748b49317f046ad738da150faa312f7a03f95e33876d9a7719
MD5 be77c519b02f98b401699d9884c8c6e1
BLAKE2b-256 34a63f9a54509e3f3fbf3ebaf99d4e5a91de3c7d1d03f0aef2e3c5670c3fcd56

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp310-cp310-win_amd64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for audyn-0.4.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a123a303cb42fda674fff37442cf0deda6b31487de737974237869db6b52ba80
MD5 38ca2c596db57fde7ed026bfe5e4a720
BLAKE2b-256 e4affa21315c1f9d1ba160b81eba6d3f6736a018249b6deae93c43c4131dcfc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for audyn-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7529650db4ea64577dceae6c1841eaf8a439c2d041cbd25d1a708e6e437f0793
MD5 4c49a5b2f2aac69eda59fe507020b932
BLAKE2b-256 acdfda6a970858827468d98e9c39d0bd05875418fe4ef685de23dfddd794a698

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audyn-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for audyn-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e95210dc2ff84250b0052fd653654c73d8b17a05c129e5807ecf58bef40db11e
MD5 c3da80423860928e2f0328cc59619d05
BLAKE2b-256 4fbe4df712a4b00e68d0857d91045fa1dc92ee08da873ae7695aca4688094260

See more details on using hashes here.

Provenance

The following attestation bundles were made for audyn-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl:

Publisher: build_wheels.yaml on tky823/Audyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page