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
  • Efficient time-domain filtering with constant and time-varying coefficients
  • 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.3.0.tar.gz (31.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.3.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (492.0 kB view details)

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

korvax-0.3.0-cp314-cp314t-macosx_15_0_arm64.whl (325.6 kB view details)

Uploaded CPython 3.14tmacOS 15.0+ ARM64

korvax-0.3.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (490.5 kB view details)

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

korvax-0.3.0-cp314-cp314-macosx_15_0_arm64.whl (324.9 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

korvax-0.3.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (490.6 kB view details)

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

korvax-0.3.0-cp313-cp313-macosx_15_0_arm64.whl (324.9 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

korvax-0.3.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (490.2 kB view details)

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

korvax-0.3.0-cp312-cp312-macosx_15_0_arm64.whl (324.7 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

korvax-0.3.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (489.7 kB view details)

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

korvax-0.3.0-cp311-cp311-macosx_15_0_arm64.whl (324.7 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: korvax-0.3.0.tar.gz
  • Upload date:
  • Size: 31.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.3.0.tar.gz
Algorithm Hash digest
SHA256 f084bd7ed8ff3ea44d61898c4c524ed91ecdea8ef51c873d4913f566b1b3096f
MD5 b3acaafb9c0f894b997f36511ed53ba3
BLAKE2b-256 dbe0c994be42d44064bc70775981b3542f0289929c885348fc69940e1a28f611

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.3.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.3.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for korvax-0.3.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ff123a821aeb0706d97ccaded2ef6c9cb3c1cb7260456580f3ccf2be8c5b9d4d
MD5 105c08b9b169ff9a57cc22b7f615e214
BLAKE2b-256 42ce88af9add488b527c39fb2f0930ea203a5dcfe469c2aadfd56273e1ccb501

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.3.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.3.0-cp314-cp314t-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for korvax-0.3.0-cp314-cp314t-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e9f3a2ff61a7999e58efaf319e1648dbfb49bce5d62d6d7a9e8929c3ee954d7e
MD5 ca26715b7653f4917c99e3afba616bb1
BLAKE2b-256 dfda5ba7c738e75a290371226ff19471cb30d4744ca791c098cfc2bde643c71c

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.3.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.3.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for korvax-0.3.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b14449bc209213c4eb85ebd0d6667eb42a095ff47d2ef046c777c08a040b91c6
MD5 998b79cd3464ec53bf57fe44daebf30b
BLAKE2b-256 d994d6b6b9ef7fdf76d9b2dd80a7e0c9edb24d718835273ea63d601a7be8cb0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.3.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.3.0-cp314-cp314-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for korvax-0.3.0-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9eb08fe5df29b9ba93183f4c51d8c09838d9904488915411cce43a97b7a18620
MD5 c47b7f21bbc609608fc3a7f0f864f165
BLAKE2b-256 7a117d015e6a7e1be5bba16498c65f944ccd28f7274edbcfd4c3cb8d640fe584

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.3.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.3.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for korvax-0.3.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6a71212929d556aa660fdd8299a9066673486bf3fb0a49161f7d733658d45d64
MD5 fc382fae28a12cb8ea9e60a8301dad65
BLAKE2b-256 d22da7f5c7129043608ad83260d7e2ac2f18c23d6f62663ce00ef9bf9dfaf181

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.3.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.3.0-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for korvax-0.3.0-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e39d34aeb72f9519cab98ea5692e9c9108be99c1bc2908b5b66f1c3d8a0df1e9
MD5 7426c0c9baf4d8682b4514e0f88c5a7a
BLAKE2b-256 bcbcd32fb79950f7f5f41f3e4857302ad337ade8d091e449ad4277bf6593993e

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.3.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.3.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for korvax-0.3.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7440ba5f95f820f1c5479a4fba4f753d8588087cb0b4a4841047c843af840e20
MD5 c92a8d43e9c45894cf45afe62d10c111
BLAKE2b-256 3d910c7e762099f913cee18fc78ab80313966b17323c9f3fffbeaaaead3e091c

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.3.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.3.0-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for korvax-0.3.0-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e05f25ed2078290676548dc02779f36648958a7003a7c6b3a149cb76a0eea045
MD5 92c10c220c341483d16bd34e99113a4b
BLAKE2b-256 4d144ba70b395156f07a32e95a6a83c2480682bd431b01a086b07f06d79a6d84

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.3.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.3.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for korvax-0.3.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c98faf509db27793fec5b8859a32b5d2a74f29627676ccbe852524c9b425c94a
MD5 f15e7b0a4979bbc616f756c0b52b02f2
BLAKE2b-256 0032674ec9d6cc77de1ae3a731f31b8fe1799cd54e7628ba1c1921a12bc08cc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.3.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.3.0-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for korvax-0.3.0-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e4f73870a6238410b3f42824236c96fdcfc4615598e096fc5770bea8fa7d8693
MD5 7bcf5f0900e954b12589abc4c1337cc7
BLAKE2b-256 be6ad43d823436a8fe9d16fc7a85664f4eccb584ce730ce68dcacbb33c49928f

See more details on using hashes here.

Provenance

The following attestation bundles were made for korvax-0.3.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