rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

Add `bevy_audio_graph` RFC

Open eira-fransham opened this issue 6 months ago • 2 comments

Rendered.

This RFC proposes a new system to handle audio, leveraging relationships and the ECS to define how audio is routed, and the Web Audio API (potentially implemented on desktop with the web-audio-api crate) to ensure high performance both natively and on the brower.

eira-fransham avatar Jun 23 '25 11:06 eira-fransham

Once a sound has been queued for playback, you lose control over it. You can stop the sound by deleting the AudioPlayer component, but there is no way to change the speed of playback, pause and resume, set a new location to play from, et cetera.

This section doesn't ring true: https://bevy.org/examples/audio/audio-control/

alternatives

The "better audio working group" is cooking up the following, under the same premise that abandoning rodio is the way forward.

https://github.com/corvusprudens/bevy_seedling https://github.com/BillyDM/firewheel

rparrett avatar Jun 23 '25 12:06 rparrett

@rparrett Thank you! I'm now switching my project to Seedling and in communication with the developer to start contributing.

eira-fransham avatar Jun 27 '25 11:06 eira-fransham