#music #sound #decode #decoder #encoding

nightly playback-rs

A very simple audio/song loading and playing library

16 releases

Uses new Rust 2024

0.4.6 Jan 25, 2026
0.4.5 Dec 29, 2025
0.4.4 Jul 14, 2024
0.4.3 Jun 14, 2023
0.2.3 Jun 16, 2022

#754 in Audio

Download history 1/week @ 2025-10-26 1/week @ 2025-11-23 5/week @ 2025-11-30 2/week @ 2025-12-21 29/week @ 2025-12-28 36/week @ 2026-01-25 20/week @ 2026-02-01

56 downloads per month
Used in nage

ISC license

35KB
894 lines

playback-rs Crates.io docs.rs

playback-rs is a very, very simple library to handle playing audio files using Symphonia and cpal, as well as rubato for sample rate conversion. It was made for and is the library used by kiku.

Run the Example

Symphonia is very slow when running in debug mode, so it is recommended to run the example in release mode:

cargo run --release --example=aplay -- song1.mp3 song2.flac song3.ogg

S

Dependencies

~10–42MB
~664K SLoC