HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
google
lyra
C++2021–2024
google / lyra

lyra

A Very Low-Bitrate Codec for Speech Compression

9Distinct people
9Mentions
0Explicit recommenders
4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A Very Low-Bitrate Codec for Speech Compression

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year9 dated mentions

Observed mentions: 2021-04-06 19:29:38 UTC to 2024-08-31 09:53:15 UTC.

01232021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 3 mentions; 2 submissions, 1 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC321
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC202
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC303

What Hacker News says

9 sources
Unless laws exist to prevent this, you can bet that ALL BigTech are doing this, to varying levels. If they are not doing it in your country, you can bet they are doing it in other countries. The US government incentivised them to do this with the PRISM program ( https://en.wikipedia.org/wiki/PRISM ) and showed them the value of collecting user data even if they do not need it (right now) for their services and products. That services like Alexa, Siri, Cortana, Assistant etc. exist with 24x7 listening devices shows that cost is no longer a hurdle in deploying this at scale. And note that they do not have to upload the audio files (which by the way, they can - I remember Google showcasing an audio codec - https://github.com/google/lyra - that is suitable for very low bandwidth, so neither bandwidth nor storage is a big issue today). Today's
Read the rest
phones also have enough power to transcribe the audio on device itself (e.g. Google Live Transcribe feature now works when offline - https://9to5google.com/2022/03/10/google-live-transcribe-fea... ). Why do you think there is a sudden push now to put AI on SoCs and thus on device? It's partly because BigTech want to offload more and more processing on to your device. We are at a stage where hardware has outpaced system software development and is actually underutilised. (And we are also at the techno-cultural cusp where the ownership of most of our devices are questionable, and moving towards a dystopian future where we will no longer be able to claim rights on these computing devices).
In Cox (was) bragging about listening to user mics
Since Ballard's codec is "AI" based, can you add google's lyrav2 ( https://github.com/google/lyra ) and Facebook's/meta EnCodec ( https://github.com/facebookresearch/encodec ). Also I don't seem to be able to access your page, so there might be error. Finally, when doing opus comparison it's good now to denote if it is using Lace or NoLace decoder post processing filters that became available in opus 1.5 (note, this feature need to be enabled at compile time, and defying decode a new API call needs to be made to force higher complexity decoder) . See https://opus-codec.org/demo/opus-1.5/
In TSAC: Low Bitrate Audio Compression
Very impressive. It'd be interesting to see what the lift would be to get encoding & decoding running in webassembly/wasm. Further, it'd be really neat to try to take something like the tflife_model_wrapper[1] and to get it backed by something like tsjs-tflite[2] perhaps running atop for example tfjs-backend-webgpu[3]. Longer run, the web-nn[4] spec should hopefully simplify/bake-in some of these libraries to the web platform, make running inference much easier. But there's still an interesting challenge & question, that I'm not sure how to tackle; how to take native code, compile it to wasm, but to have some of the implementation provided else-where. At the moment, Lyra V2 can already use XNNPACK[4], which does have a pretty good wasm implementation. But trying to swap out implementations, so for example we might be able to use the GPU o
Read the rest
In Lyra V2 – a better, faster, and more versatile speech codec
> It is over 6Kbps Opus[1]. The overhead from packet headers to send data every 40ms is 9.6kbps, is the difference between 12.6Kbps and 17.6Kbps meaningful at that point? We are sending the same number of packets, likely with the same packet loss rate. > A RaspberryPi Zero will provide more than sufficient power for Lyra A Raspberry Pi Zero can't run Lyra, as the proprietary math kernel is only offered in compiled form for x86-64 and android-arm64: https://github.com/google/lyra#license
In Google open-sources the Lyra audio codec

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.