Lyra will likely sound better, but the reproduction accuracy is apt to be quite a bit poorer as many others have commented. G.711 was created to require nearly no processing (its nearly raw PCM data from a sound card after all) while operating at reasonable bitrates, Lyra looks much more computationally intensive and will likely only run on smartphones in the next few years.
Edit: Is Lyra a significant improvement over modern Opus at 8Kbps? You can buy a Grandstream HT802 analog telephone adapter for ~$30 and its DSP can decode Opus today, whereas Lyra will require orders of magnitude more power to decode while providing much worse reproduction accuracy.
It is over 6Kbps Opus[1].
> You can buy a Grandstream HT802 analog telephone adapter for ~$30 and its DSP can decode Opus today
A RaspberryPi Zero will provide more than sufficient power for Lyra (it was originally implemented on a Pixel 2). That's ~$10
[1] https://www.cnx-software.com/2021/02/28/lyra-audio-codec-ena...
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
It is when you are sending video as well. One of the stated purposes of this work is to enable video conferencing over 56Kbps dial up modems.
> 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
How annoying! Still - the point is that hardware capability isn't likely to be the issue.
almost entirely irrelevant if you're making calls to or from the PSTN, since your SIP trunking provider most likely only supports G.711 alaw/ulaw, or even if they support you handing them a call as G.722 or any other codec, their upstreams almost certainly don't support anything other than G.711.
[1] https://www.tschmidt.com/writings/POTS_Modem_Impairments.htm
[2] https://en.wikipedia.org/wiki/Shannon%E2%80%93Hartley_theore...