Skip to main content

Babycat Logo

Babycat is an audio decoding and manipulation library

Features

Decoding, resampling, and encoding

Babycat's core feature set includes:

  • decoding MP3, FLAC, and WAV.
  • resampling audio to different frame rates.
  • encoding waveforms to WAV.

Bindings for Rust, Python, WebAssembly, and C

Babycat can be used from the following target languages:

  • Rust. The majority of Babycat is written in Rust, with the exception of a few C dependencies like libsamplerate.
  • Python. Babycat's Python bindings allow you to decode, resample, and encode audio without being slowed down by Python's Global Interpreter Lock (GIL). Babycat also integrates with Jupyter, allowing you to play and listen to audio streams decoded by Babycat inside of a Jupyter notebook.
  • WebAssembly. Babycat generates JavaScript/WebAssembly bindings that can run either in a web browser or in Node.js.
  • C. Babycat exposes a C API, which is useful for both creating audio analysis projects in C or creating Babycat bindings for languages not mentioned above.

Effective multithreading and parallelism

Babycat is designed to parallelize the decoding of many audio files across multiple CPU cores. Babycat's Python bindings allow for parallel audio decoding without being slowed down by Python's Global Interpreter Lock.

Open source under the MIT license

The audio ecosystem is full of expensive proprietary software packages, or (L)GPL-licensed code that restricts how you can use it. In contrast, Babycat is licensed under the MIT license, allowing you to use Babycat any way you want for free.

Babycat is battle-tested in industry

Babycat was built at and is actively maintained by Neocrym, a record label that uses artificial intelligence to find and promote the world's greatest musicians. Neocrym uses Babycat to decode millions of songs as part of audio feature engineering pipelines for machine learning models.

Learn more

Source code and issues

You can find Babycat's source code at github.com/babycat-io/babycat.

API documentation and releases

babycat.io is our main documentation website. You can find documentation and releases for each binding at:

Binding Documentation Releases
Rust docs.rs/babycat crates.io/crates/babycat
Python babycat.io/api/python pypi.org/project/babycat
WebAssembly babycat.io/api/wasm npmjs.com/package/babycat
C babycat.io/api/c No releases yet. You can compile from source.

Tutorials

You can learn more about how to use Babycat from our long-form tutorials:

Acknowledgements

The first version of Babycat was an internal project at Neocrym written by Ritik Mishra Since then, the code has been extended and open-sourced by James Mishra.

Babycat is built on top of many high-quality open source packages, including:

Babycat's goal is to provide a simple and consistent API on top of the existing audio ecosystem, without sacrificing performance, portability, or permissive licensing.

Metadata

Release files for babycat 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for babycat 0.0.11
File Interpreter ABI Platform Actions
babycat-0.0.11-cp36-abi3-win_amd64.whl CPython 3.6 abi3 Windows x86-64 Details for babycat-0.0.11-cp36-abi3-win_amd64.whl
babycat-0.0.11-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.6 abi3 Linux glibc 2.5+ x86-64 Details for babycat-0.0.11-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
babycat-0.0.11-cp36-abi3-macosx_10_7_x86_64.whl CPython 3.6 abi3 macOS 10.7+ x86-64 Details for babycat-0.0.11-cp36-abi3-macosx_10_7_x86_64.whl

Total release size: 7.7 MB

Release files / babycat-0.0.11-cp36-abi3-win_amd64.whl

Download URL babycat-0.0.11-cp36-abi3-win_amd64.whl
Size 2.2 MB
Tags CPython 3.6 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
cae4b600996733ad2563298036cf4362b580e3ee7223fdacbf71631a44577601
BLAKE2b-256 checksum
How to use checksums
6248df207b186176b48cdbef0bde0b8e1d2fa4cd2f3cbb02e3015c25062a7845
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.8

Release files / babycat-0.0.11-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL babycat-0.0.11-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 3.1 MB
Tags CPython 3.6 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
dbf1ce409f4034c2b1b9cb4d04d929e4320bea49b03f14ae2d219afd25d180a4
BLAKE2b-256 checksum
How to use checksums
85bfd0871ecec2db87b6393903ac9057d6c7054bc8f26cd02862705175cca787
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

Release files / babycat-0.0.11-cp36-abi3-macosx_10_7_x86_64.whl

Download URL babycat-0.0.11-cp36-abi3-macosx_10_7_x86_64.whl
Size 2.4 MB
Tags CPython 3.6 abi3 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
3059fbba32d7c344248307ded3a871c46bf8d68c07abc45c8d4eb25e2066aea0
BLAKE2b-256 checksum
How to use checksums
42ecbc387cc6886e6be341a08ddc896d872e6dba762b2605470f1c426c25e4b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

Security for babycat 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page