Skip to content
zvukPublic

About

Modular Rust audio engine for progressive HTTP and HLS (VOD): transport primitives, PCM decoding, persistent disk cache, and reusable components for desktop and WASM players.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

874 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
kithara

crates.io docs.rs License

kithara

An audio engine in Rust for streaming players and DJ software. Give it a URL: HLS (.m3u8) plays with adaptive bitrate, anything else streams progressively, and both are cached on disk. On top sits a multi-deck player with crossfade, EQ, beat sync, and key-locked tempo.

kithara-app: two decks with waveforms, mixer, and library

kithara-app, the desktop demo built on the engine.

Features

  • Streaming — progressive HTTP and HLS VOD: adaptive bitrate, codec switching between variants, AES-128 encrypted segments.
  • Disk cache — crash-safe writes, LRU eviction, offline playback of cached tracks.
  • Decoding — MP3, AAC (incl. HE-AAC), FLAC, ALAC, WAV, Opus, Vorbis. Software decoding through Symphonia, hardware decoding through Apple AudioToolbox and Android MediaCodec.
  • DJ playback — decks, crossfader, 3-band EQ, deck effects, tempo change with key lock, beat and BPM analysis, beat sync between decks.
  • Real-time safe — no allocation in the audio callback; buffers come from a preallocated pool.
  • Platforms — macOS, Linux, Windows, iOS and Android (Swift and Kotlin bindings), and the browser (WASM).

Run the demo

cargo run -p kithara-app --release                       # the bundled demo playlist
cargo run -p kithara-app --release -- <FILE_OR_URL> ...   # your own files or URLs

On Linux install libasound2-dev first. To build the browser version, run just platform wasm build --package kithara-app; see kithara-app.

Use as a library

[dependencies]
kithara = "0.0.1-alpha5"

The kithara crate is the entry point: one Resource type reads decoded PCM from a file, URL, or HLS stream. Every layer is also a crate of its own, so you can take only the HLS client, the cache, or the decoder. Mobile apps use the Swift package or the Android AAR.

Project status

Pre-release (0.0.1-alpha). The public API still changes between releases; pin an exact version.

Documentation

Minimum Supported Rust Version

Rust 1.95, edition 2024 (rust-version in the workspace Cargo.toml).

License

Licensed under either of Apache-2.0 or MIT at your option.

About

Modular Rust audio engine for progressive HTTP and HLS (VOD): transport primitives, PCM decoding, persistent disk cache, and reusable components for desktop and WASM players.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages