rodio
rodio copied to clipboard
Rust audio playback library
I'm writing a project that converts text to speech using Google TTS. The mp3 files it returns have some audible crackling noise in them while played with rodio. It's not...
Randomly when playing a sound (wav) a very large memory allocation happens, on Linux Raspberry Pi
Sometimes when my program is going to play an audio file (wav), my program crashes with the error: `memory allocation of 5404319552844632832 bytes failed` After that happens I have to...
Hi, This commit creates a new `Sink::append_with_signal` method and make `Sink::append` a wrapper function without breaking change. It only "works" with the `crossbeam-channel` feature flag because `crossbeam::channel::Receiver` implements `Clone` but...
A collection of user stories/usecases & experiences to be used to inform (breaking) api changes. Please add your own!
I want to gather all planned breaking changes and release them together with a porting/update guide and announcement on socials (for now rust user forum and reddit). The changes are...
There are currently two seperate PR's that expand on the Sink's functionality to be more easily used as a 'playlist': - https://github.com/RustAudio/rodio/pull/600 - https://github.com/RustAudio/rodio/pull/506 - As long as the sink...
I'm trying to add a reverb effect following [this example](https://github.com/RustAudio/rodio/blob/master/examples/reverb.rs), but `panic` when trying to play the sink. ```bash thread '' panicked at /feelslikehome/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rodio-0.19.0/src/conversions/channels.rs:100:13: attempt to subtract with overflow note:...
A follow up on https://github.com/RustAudio/rodio/issues/619#issuecomment-2372360582 Current implementation of Sink unconditionally includes several audio controls like pause, volume, speed (see [src/sink.rs](https://github.com/RustAudio/rodio/blob/97befac520781e72b7af8b81c524235db201ecc6/src/sink.rs#L60)). There are several things that can be improved over current...
Clarifying example: `source_instance.speed(1.5)` wraps whatever source instance its called on in a `Speed` struct (which is itself again a Source). The Speed struct can also be constructed by using `speed::speed::new(source_instance,...
Its a common footgun in using rodio. It should be possible to store the stream in the sink. Remaining questions, does the stream need to be accessible when a sink...