Skip to main content

Lossless codec for multichannel audio

Project description

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

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

straw-codec-0.5.tar.gz (30.2 kB view details)

Uploaded Source

File details

Details for the file straw-codec-0.5.tar.gz.

File metadata

  • Download URL: straw-codec-0.5.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for straw-codec-0.5.tar.gz
Algorithm Hash digest
SHA256 fba01c6284a9526b963c3118f61df444ac6874548f15a492dd456716e1d11e4c
MD5 148c2dc10179ab5c606035390e7bee17
BLAKE2b-256 95d3349259db19b52d06b592eef51f4ad0491e1cf996394806b2d1080b44411c

See more details on using hashes here.

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