Google releases the source code for Lyra low bitrate speech codec

Google showcased Lyra audio codec for high-quality voice calls at a low 3 kbps bitrate last February. But at the time, it was only for our eyes to see, or rather our ears to listen to, as the company did not release any software, but only audio samples with excellent quality compared to Speex @ 3 kbps or Opus @ 6 kbps.

Google has now released the Lyra source code, written in C++ for optimal speed, efficiency, and interoperability and relying on both the Bazel build framework and the GoogleTest framework.

Lyra source code

The beta release provides the tools and APIs needed for Lyra encoding and decoding, and is currently optimized for the 64-bit Arm Android platform, but can also be run in Linux x86 64-bit.

There is also an example app – lyra_android_example – that integrates with the Android NDK and offers a minimal GUI with two buttons to either record from the microphone and encode/decode with Lyra, or runs a benchmark that encodes and decodes in the background and prints the timings to logcat.

The Lyra source code is available on Github together with instructions to build the code for Linux and Android, and released under the Apache license, except for a math kernel, for which a shared library (libsparse_inference.so) is provided until Google implements a fully open solution.

Via Google Open Source Blog.

Share this:

Support CNX Software! Donate via PayPal or cryptocurrencies, become a Patron on Patreon, or buy review samples

Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
4 Comments
oldest
newest
Advertisements