#music #sound #playback #decode #decoder

nightly playback-rs

A very simple audio/song loading and playing library

12 unstable releases (3 breaking)

0.4.2 Mar 20, 2023
0.4.1 Mar 4, 2023
0.4.0 Feb 21, 2023
0.3.0 Feb 19, 2023
0.1.2 May 28, 2022

#296 in Audio

Download history 43/week @ 2023-02-04 74/week @ 2023-02-11 199/week @ 2023-02-18 98/week @ 2023-02-25 79/week @ 2023-03-04 82/week @ 2023-03-11 51/week @ 2023-03-18 15/week @ 2023-03-25 59/week @ 2023-04-01 55/week @ 2023-04-08 36/week @ 2023-04-15 13/week @ 2023-04-22 11/week @ 2023-04-29 65/week @ 2023-05-06 34/week @ 2023-05-13 25/week @ 2023-05-20

135 downloads per month
Used in nage

ISC license

31KB
777 lines

playback-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

Dependencies

~12–46MB
~841K SLoC