RustAudio / areweaudioyet

Are We Audio Yet?
https://areweaudioyet.com/
MIT License
19 stars 2 forks source link

MP3 status #7

Open polarathene opened 5 years ago

polarathene commented 5 years ago

I think that support is here, but it'd be good to list on this site as it's a rather popular format.

I'd like to consume some API responses that are in mp3 audio, but it doesn't appear I can do that with rust yet.

Walther commented 5 years ago

Thanks for notifying! I'll create a post on the Discourse chat about the future of that crate. Let's see if people would be eager to improve it!

Walther commented 5 years ago

Added a new conversation here: https://rust-audio.discourse.group/t/opportunity-mp3-crate/122

polarathene commented 5 years ago

Awesome thanks for that! My current usage for mp3 is a response from Google Translate(well multiple mp3 files that represent up to 200 characters each). It's used purely for the opposite of what the deepspeech-rs project does, by turning text to speech.

Presently I use Electron with the Web Audio API to concatenate and merge the audio streams into a single file that can then be saved to a single file or played back in the app. This I hear is particularly tricky in some cases with mp3 to concatenate correctly(see 1, 2 as examples) so might serve as a good test for a rust implementation. AFAIK, the Web Audio API decodes to PCM to operate on.