Skip to main content

A JAX implementation of librosa, TorchLibrosa, and nnAudio

Project description

librosax

A JAX/Flax implementation of audio processing functions, inspired by and building upon librosa and TorchLibrosa.

Installation

Although, it is optional, we recommend first installing the jax-ai-stack with one of these three options:

pip install jax-ai-stack              # JAX CPU
pip install jax-ai-stack "jax[cuda]"  # JAX + AI stack with GPU/CUDA support
pip install jax-ai-stack "jax[tpu]"   # JAX + AI stack with TPU support

Required: Then install librosax:

pip install librosax

Documentation

Documentation is here.

Acknowledgments

This library is heavily inspired by and borrows code from:

  • librosa - The excellent Python library for audio and music analysis by the librosa development team
  • TorchLibrosa - PyTorch implementations of librosa functions and neural net layers by Qiuqiang Kong
  • nnAudio - PyTorch implementations of CQT and other functions by Kin Wai Cheuk

License

librosax is licensed under the ISC License, matching the license used by librosa. See the LICENSE file for details.

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

librosax-0.1.1.tar.gz (84.2 kB view details)

Uploaded Source

Built Distribution

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

librosax-0.1.1-py3-none-any.whl (70.9 kB view details)

Uploaded Python 3

File details

Details for the file librosax-0.1.1.tar.gz.

File metadata

  • Download URL: librosax-0.1.1.tar.gz
  • Upload date:
  • Size: 84.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for librosax-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4fe797535a89bfc6e97143088f704d570ee36d26c46f6ac7fac28db2e7c73835
MD5 693af8e2295671d8677bd0e4202bf203
BLAKE2b-256 90e638fa57fe85a3781d74f66b838eb59a303a69d4678bc7b44e2338e94f47fa

See more details on using hashes here.

File details

Details for the file librosax-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: librosax-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 70.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for librosax-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4ad6b806f2b02592e3a286a13d026207cf20ec6e30ca8d521fa2a635c1ef7ae
MD5 8e4eb064e1d3e9cc47380433357ccdb5
BLAKE2b-256 8a103711db007fe7dd8b798341800352e781ce7b446ff0a2c3cbb6396eccc353

See more details on using hashes here.

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