Skip to main content

Straw

PyPI

Straw is a lossless audio codec intended for efficiently storing multichannel audio.

Current state

PyTest Status Stability Status

Installation

From PyPI

# system-wide
pip install straw-codec
# local
pip install --user straw-codec

From GitHub

# clone this repo
git clone https://github.com/KLZ-0/straw.git && cd straw
# install
pip install .

Usage

Library

The library usage is analogous to soundfile:

import straw

data, sample_rate = straw.read("existing_file.straw")
straw.write("new_file.straw", data, sample_rate)

Standalone encoder/decoder

Encoding:

straw -i /path/to/input.wav -o /path/to/output.straw

Decoding:

straw -d -i /path/to/input.straw -o /path/to/output.wav

Metadata

Release files for straw-codec 0.5

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

Source distribution (sdist)

Source distribution for straw-codec 0.5
File Size Uploaded
straw-codec-0.5.tar.gz 30.2 kB Details

Release files / straw-codec-0.5.tar.gz

Download URL straw-codec-0.5.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fba01c6284a9526b963c3118f61df444ac6874548f15a492dd456716e1d11e4c
BLAKE2b-256 checksum
How to use checksums
95d3349259db19b52d06b592eef51f4ad0491e1cf996394806b2d1080b44411c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

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