rerun-io / rerun

Visualize streams of multimodal data. Fast, easy to use, and simple to integrate. Built in Rust using egui.
https://rerun.io/
Apache License 2.0
5.69k stars 257 forks source link

MVP for Audio Playback #5181

Open jleibs opened 4 months ago

jleibs commented 4 months ago

Context

There's a much more detailed request for a broader set of audio features here: https://github.com/rerun-io/rerun/issues/2852

This issue is about a more minimal feature to just get audio playback working in the most minimal capacity.

Proposal

Make it possible to log audio assets as a single (or small number of) blobs and then have these play back only during "play" mode in the viewer. Avoid the hard questions around hings like audio-packetization, time-spans, and cross-timeline synchronization.

Simplifying assumptions:

Suggested implementation

Crates

vijay609 commented 4 months ago

Thank you @jleibs for discussing this and taking time out to create the issue. This level of audio support is going to help us get unblocked for our project and really centralize ReRun as "the" visualizer.

emilk commented 1 week ago

I created a small proof-of-concept branch experimenting with this a while back. It is not mergable, but may be inspirational for when we decide to work on this for real:

https://github.com/rerun-io/rerun/compare/main...emilk/audio-poc