Support the QOA format

Open
#762 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

Start by reviewing the QOA format specification and the linked qoaudio implementation, then inspect rodio’s existing audio format support and how Bevy would consume it. Decide whether to add support in rodio or rely on qoaudio; done means QOA files can be used through the chosen integration.

Written by the indexing model from the issue text.

Description

enhancement

The QOA file format is a simple lossy format that balances speed, size, and quality remarkably well. As an example, I took an audio file of a song I wrote that happens to have bad high-end artifacts with both MP3 and AAC. With QOA, the file was only twice as large as the MP3 render, and it sounded nearly equivalent to the uncompressed file.

There is a pure Rust implementation of the format as well, with no required dependencies. The one possible hitch with using it is that it has an optional dependency on rodio itself. If you believe it would be better for crates that want QOA support to just use qoaudio, that's fine too, though an implementation provided by rodio would give dependents (thinking of Bevy in particular) near-automatic support.

Dominant language
Rust
Stars
2.5k
Forks
338
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RustAudio/rodio

All issues in RustAudio/rodio

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.