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.4.tar.gz (30.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: straw-codec-0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 f4104a2a2390c234cd44fe592770bae172da45aacdbd1d1739c393111accce19
MD5 99a3f1c3ee130f4245fd9ec0235b55a4
BLAKE2b-256 81fd1708110b424e4735d3631254d93505f028db3c24e065c671691f79f193a1

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