Skip to content

KLZ-0/straw

Repository files navigation

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

About

Lossless codec for multichannel audio

Resources

License

Stars

Watchers

Forks

Releases

No releases published