#audio-player #rodio #sound #easy

rotilities

A helper crate to easily use Rodio in your projects

17 releases

Uses new Rust 2024

0.2.5 May 28, 2025
0.2.4 May 28, 2025
0.1.10 May 1, 2025
0.1.9 Apr 30, 2025

#335 in Audio

Download history 1042/week @ 2025-04-30 10/week @ 2025-05-07 18/week @ 2025-05-14 658/week @ 2025-05-28

747 downloads per month

MIT/Apache

14KB
62 lines

Helper crate to easily use the Rodio audio playback library by providing helper functions

This crate aims to simplify using Rodio in your projects by providing many functions to easily create sinks and play audio with only a few lines of code.

Playing a sound is as simple as this:

use rotilities::*;

fn main() {
    let (_stream, stream_handle) = init();
    let sink = new_sink(&stream_handle);
    play_audio(&sink, "path/to/file.mp3");
    loop{}
}

A detailed documentation is coming soom.


Rotilities

Helper crate for Rust to easily use the Rodio audio playback library by providing helper functions

Documentation: https://docs.rs/rotilities/latest/rotilities

This crate aims to simplify using Rodio in your projects by providing many functions to easily create sinks and play audio with only few lines of code

Dependencies

~0.7–32MB
~391K SLoC