Skip to main content

JAX utilities for Audio DSP and ML

Project description

Korvax

Korvax ("korva" means "ear" in Finnish) is a Python package for audio signal processing and machine learning in JAX. Korvax is framework-agnostic; it can be used in Flax, Equinox, or any other JAX framework.

JAX is a very powerful library for signal processing related tasks because of its composable function transformations (e.g., jit, vmap, grad, pmap, etc.), and often faster than PyTorch. However, PyTorch has a lot more available packages for audio processing. Korvax aims to fill this gap for JAX by porting functionality from packages such as:

Direct ports to JAX result in noticeable speedups across quite a few use cases -- verify for yourself by running some of the code in scripts/benchmarks!

Installation

Prebuilt wheels are available on PyPI for Python 3.11+ on Linux and macOS:

pip install korvax

Korvax provides a [cuda12] option that simply makes sure that jax[cuda12] is installed:

pip install "korvax[cuda12]"

Features

Currently, Korvax provides:

  • Time-frequency loss functions (MR-STFT, Spectral Optimal Transport)
  • Pitch estimation algorithms
  • Time-varying all-pole filtering
  • Resampling
  • Transforms (STFT, Mel spectrogram, MFCCs, etc.)

All features are GPU-ready and differentiable.

See the documentation for more details and usage examples.

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

korvax-0.2.0.tar.gz (27.5 kB view details)

Uploaded Source

Built Distributions

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

korvax-0.2.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (485.7 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

korvax-0.2.0-cp314-cp314t-macosx_15_0_arm64.whl (319.3 kB view details)

Uploaded CPython 3.14tmacOS 15.0+ ARM64

korvax-0.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (484.2 kB view details)

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

korvax-0.2.0-cp314-cp314-macosx_15_0_arm64.whl (318.6 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

korvax-0.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (484.2 kB view details)

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

korvax-0.2.0-cp313-cp313-macosx_15_0_arm64.whl (318.6 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

korvax-0.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (483.8 kB view details)

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

korvax-0.2.0-cp312-cp312-macosx_15_0_arm64.whl (318.4 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

korvax-0.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (483.4 kB view details)

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

korvax-0.2.0-cp311-cp311-macosx_15_0_arm64.whl (318.4 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

File details

Details for the file korvax-0.2.0.tar.gz.

File metadata

  • Download URL: korvax-0.2.0.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for korvax-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9d848c24e3d0a9a1f42b24ce2aa5dc728427725a046a6fcdbdf33f3977bb287f
MD5 6027b6e6dda8c80d42adea223c400735
BLAKE2b-256 b28510d1909dcaf69674d420ee0d5f727f41481a3bd47a26eaa1f939b0d952cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.2.0.tar.gz:

Publisher: build_and_publish_wheels.yml on davidmarttila/korvax

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

File details

Details for the file korvax-0.2.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for korvax-0.2.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e148e4d3d8f2f2e5cd8d78589daeebe45a6605b19e84d86bd40b4561b1bee0f2
MD5 12c13b1dc6a0e603a0c91860646d182d
BLAKE2b-256 a9d0eefff1f29b7f45b5a91162105b1ef7eadd3a323d55c7a545fd5552b5caa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.2.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_and_publish_wheels.yml on davidmarttila/korvax

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

File details

Details for the file korvax-0.2.0-cp314-cp314t-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for korvax-0.2.0-cp314-cp314t-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 aec01be9bb04a8be56752715ffe4161a0db6384bc4790afa62c8a56c25a45ad2
MD5 a6e6fbf6772777d494cdc34b4c9f046d
BLAKE2b-256 fea7c5b3c69d006bf325f39d96ba410b133de1c6a048d6371798252a64f9b1c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.2.0-cp314-cp314t-macosx_15_0_arm64.whl:

Publisher: build_and_publish_wheels.yml on davidmarttila/korvax

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

File details

Details for the file korvax-0.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for korvax-0.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 282481e51159dbff89f15e05cb88466aac6bdf4583ad735474bb2e870df80c87
MD5 a542874a185c24c82e53ea7b4e312d1c
BLAKE2b-256 d6d49b7fa7756afdf7bf09d17a8f2e0d43fe1543088ed448aaa3bfa2398a7d69

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_and_publish_wheels.yml on davidmarttila/korvax

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

File details

Details for the file korvax-0.2.0-cp314-cp314-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for korvax-0.2.0-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7d026ff934bc46100b976fc015bce261c2bb3483bb0360eb195b16655f74af23
MD5 596487dc8baec52e335261ec5b12ef57
BLAKE2b-256 0632919dcadf9f379a8bc55378ea133a5f7f642031fcc12b8a4873c06677210c

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.2.0-cp314-cp314-macosx_15_0_arm64.whl:

Publisher: build_and_publish_wheels.yml on davidmarttila/korvax

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

File details

Details for the file korvax-0.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for korvax-0.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3e9062371b93510c3dc140770bfa0bac1d7272d02e336f11f543ad28a8030dd5
MD5 74362e9e122712167d503b987e37a6f0
BLAKE2b-256 d2c7b1b6ee066153f2a9995f39ba4767e8a150df9bd838d5c7a80e86a896cd7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_and_publish_wheels.yml on davidmarttila/korvax

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

File details

Details for the file korvax-0.2.0-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for korvax-0.2.0-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 307af125291abdae4108b5c9b4df441b97f370eaeb1f4163fec6547dd783c156
MD5 b9fc0796e0e35ad90cde3c1dfda5fe8f
BLAKE2b-256 bf75bd02ce9ae955cf8c0255caaccac82cc4bddeeee9dcf6be14b540d5c41070

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.2.0-cp313-cp313-macosx_15_0_arm64.whl:

Publisher: build_and_publish_wheels.yml on davidmarttila/korvax

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

File details

Details for the file korvax-0.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for korvax-0.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8db1492ea7a15bde2f43154e3b8f33863d699cffeb471c56fff41b3603334c17
MD5 5dad35470c8ca3058e55097a65adb8d3
BLAKE2b-256 eae0e278d17bc40686334870f83d4b74465d7388c395a5f0ede383a2043d2dad

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_and_publish_wheels.yml on davidmarttila/korvax

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

File details

Details for the file korvax-0.2.0-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for korvax-0.2.0-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 191c05c2438dac44414279cd13d08ace89cbda2ba7171cc734673801ce487729
MD5 de67dbb7bc91f608b9723379de645db9
BLAKE2b-256 ad73aaafa49603cca3aea3afe87a596f196fb6c451de5c7af5bec68b25c23657

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.2.0-cp312-cp312-macosx_15_0_arm64.whl:

Publisher: build_and_publish_wheels.yml on davidmarttila/korvax

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

File details

Details for the file korvax-0.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for korvax-0.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 240af5ddb5cd2905b8899c36616d76299a6d0c05b05b5d4918121255bfbe3ee4
MD5 1de7fc68379c5ff96f2b85adc4fc1573
BLAKE2b-256 847bdd6c3c8f078c55ab8cc1fcc3c464a61b96de00de2f3c5e02b904cf101aa2

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_and_publish_wheels.yml on davidmarttila/korvax

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

File details

Details for the file korvax-0.2.0-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for korvax-0.2.0-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0580dec537706891187ccb1fe40fbe2c83dd04ba14e2fb8bc11895be754c864a
MD5 48e83695764da17fb8bb4dc1aba79c82
BLAKE2b-256 18fd66a48ba6b5611a4ad6f847d7fe8dd0f589c5bc01682fdf4a44b938fc779e

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.2.0-cp311-cp311-macosx_15_0_arm64.whl:

Publisher: build_and_publish_wheels.yml on davidmarttila/korvax

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