Thanks to visit codestin.com
Credit goes to lib.rs

#rodio #sound #easy

rotilities

A helper crate to easily use Rodio in your projects

20 releases

Uses new Rust 2024

0.2.8 Sep 28, 2025
0.2.7 Sep 28, 2025
0.2.5 May 28, 2025
0.1.10 May 1, 2025
0.1.9 Apr 30, 2025

#753 in Audio

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

1,052 downloads per month

MIT/Apache

14KB
65 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

~1–32MB
~402K SLoC