google / lyra

A Very Low-Bitrate Codec for Speech Compression
Apache License 2.0
3.84k stars 355 forks source link

Amr or Lyra? #66

Open rdhp330 opened 3 years ago

rdhp330 commented 3 years ago

Hello I am studying the functioning of this codec and I would like an exchange of views: In terms of computational resources, library weight and performance is it better to record audio in .amr or .lyra?

In the sense, by registering with .amr at a low level you can avoid using external libraries and therefore you can keep the application clean, furthermore the registration with amr is computationally light, would the lyra be too?

Thanks!

aluebs commented 3 years ago

Disclaimer: Being a maintainer of Lyra, I might be biased. I also have limited experience with AMR, so I don't have their numbers.

Lyra operates at 3kbps, while AMR can only go down to 4.75kbps, and, according to our internal listening tests, Lyra outperforms this configuration in decoded quality. But regarding the dimensions you asked about, even though I haven't measured it, I am pretty sure Lyra has higher computational complexity and library weight (if we include model weights) though.

That said, I would love to hear other people's experiences, opinions and metrics.