Lyra (codec)

Lyra (codec)
Filename extension
.lyra
Developed byGoogle
Initial release2021 (2021)
Latest release
1.3.2
December 20, 2022; 23 months ago (2022-12-20)
Type of formatspeech codec
Free format?Yes (Apache-2.0)

Lyra is a lossy audio codec developed by Google that is designed for compressing speech at very low bitrates. Unlike most other audio formats, it compresses data using a machine learning-based algorithm.

Features

The Lyra codec is designed to transmit speech in real-time when bandwidth is severely restricted, such as over slow or unreliable network connections.[1] It runs at fixed bitrates of 3.2, 6, and 9 kbit/s and it is intended to provide better quality than codecs that use traditional waveform-based algorithms at similar bitrates.[2][3] Instead, compression is achieved via a machine learning algorithm that encodes the input with feature extraction, and then reconstructs an approximation of the original using a generative model.[1] This model was trained on thousands of hours of speech recorded in over 70 languages to function with various speakers.[2] Because generative models are more computationally complex than traditional codecs, a simple model that processes different frequency ranges in parallel is used to obtain acceptable performance.[4] Lyra imposes 20 ms of latency due to its frame size.[3] Google's reference implementation is available for Android and Linux.[4]

Quality

Lyra's initial version performed significantly better than traditional codecs at similar bitrates.[1][4][5] Ian Buckley at MakeUseOf said, "It succeeds in creating almost eerie levels of audio reproduction with bitrates as low as 3 kbps." Google claims that it reproduces natural-sounding speech, and that Lyra at 3 kbit/s beats Opus at 8 kbit/s.[2] Tsahi Levent-Levi writes that Satin, Microsoft's AI-based codec, outperforms it at higher bitrates.[5]

History

In December 2017, Google researchers published a preprint paper on replacing the Codec 2 decoder with a WaveNet neural network. They found that a neural network is able to extrapolate features of the voice not described in the Codec 2 bitstream and give better audio quality, and that the use of conventional features makes the neural network calculation simpler compared to a purely waveform-based network. Lyra version 1 would reuse this overall framework of feature extraction, quantization, and neural synthesis.[6]

Lyra was first announced in February 2021,[2] and in April, Google released the source code of their reference implementation.[1] The initial version had a fixed bitrate of 3 kbit/s and around 90 ms latency.[1][2] The encoder calculates a log mel spectrogram and performs vector quantization to store the spectrogram in a data stream. The decoder is a WaveNet neural network that takes the spectrogram and reconstructs the input audio.[2]

A second version (v2/1.2.0), released in September 2022, improved sound quality, latency, and performance, and permitted multiple bitrates. V2 uses a "SoundStream" structure where both the encoder and decoder are neural networks, a kind of autoencoder. A residual vector quantizer is used to turn the feature values into transferrable data.[3]

Support

Implementations

Google's implementation is available on GitHub under the Apache License.[1][7] Written in C++, it is optimized for 64-bit ARM but also runs on x86, on either Android or Linux.[4]

Applications

Google Duo uses Lyra to transmit sound for video chats when bandwidth is limited.[1][5]

References

  1. ^ a b c d e f g Buckley, Ian (2021-04-08). "Google Makes Its Lyra Low Bitrate Speech Codec Public". MakeUseOf. Retrieved 2022-07-21.
  2. ^ a b c d e f "Lyra: A New Very Low-Bitrate Codec for Speech Compression". Google AI Blog. 25 February 2021. Retrieved 2022-07-21.
  3. ^ a b c "Lyra V2 - a better, faster, and more versatile speech codec". Google Open Source Blog. Retrieved 2023-04-26.
  4. ^ a b c d "Google Duo uses a new codec for better call quality over poor connections". XDA. 2021-04-09. Retrieved 2022-07-21.
  5. ^ a b c Levent-Levi, Tsahi (2021-04-19). "Lyra, Satin and the future of voice codecs in WebRTC". BlogGeek.me. Retrieved 2022-07-21.
  6. ^ Kleijn, W. B.; Lim, F. S.; Luebs, A.; Skoglund, J.; Stimberg, F.; Wang, Q.; Walters, T. C. (April 2018). Wavenet based low rate speech coding. 2018 IEEE international conference on acoustics, speech and signal processing (ICASSP). IEEE. pp. 676–680. arXiv:1712.01120.
  7. ^ Google (2021). "Lyra: A Very Low-Bitrate Codec for Speech Compression". GitHub. Retrieved 21 July 2022.

See also

Read other articles:

Italian football club Football clubFolgore CarateseFull nameUnione Sportiva Folgore CarateseAssociazione Sportiva DilettantisticaFounded2011GroundStadio XXV Aprile,Carate BrianzaCapacity3,210ChairmanMichele CriscitielloManagerCarmine ParlatoLeagueSerie D Group B2022–23Serie D Group B, 13th of 18 Home colours Away colours U.S. Folgore Caratese A.S.D.[1] is an Italian association football club, based in Carate Brianza which currently plays in Serie D group A. History Old Caratese logo...

 

Abraham George EllisAbraham George EllisLahir(1846-08-26)26 Agustus 1846 Paramaribo, SurinameMeninggal29 November 1916(1916-11-29) (umur 70) Amsterdam, BelandaPengabdianBelandaDinas/cabang Angkatan Laut Kerajaan BelandaLama dinas1860-1905Pangkat Laksamana mudaPenghargaanKomandan Orde Singa Belanda Abraham George Ellis (26 Agustus 1846 – 29 November 1916) adalah perwira AL dan politikus Belanda. Ellis adalah perwira AL yang pernah menduduki jabatan seperti komandan an...

 

German footballer (born 1989) Florian Jungwirth Jungwirth with the San Jose Earthquakes in 2017Personal informationFull name Florian Jungwirth[1]Date of birth (1989-01-27) 27 January 1989 (age 35)Place of birth Gräfelfing, West GermanyHeight 1.81 m (5 ft 11 in)Position(s) Defender, midfielderYouth career1995–2000 TSV Eintracht Karlsfeld2000–2007 1860 MunichSenior career*Years Team Apps (Gls)2007–2010 1860 Munich II 48 (0)2008–2010 1860 Munich 0 (0)2010–2...

River in Florida, United States Myakka RiverMyakka River in El JobeanMap of Myakka River in FloridaEtymologyMikasuki: Myakka (big water)LocationCountryUnited StatesStateFloridaCountiesManatee, Sarasota, CharlotteDistrictSouthwest Florida Water Management DistrictPhysical characteristicsMouthGulf of Mexico • locationCharlotte Harbor • coordinates26°54′52″N 82°09′51″W / 26.9145°N 82.1643°W / 26.9145; -82.1643Length72 miles...

 

Запрос «Пугачёва» перенаправляется сюда; см. также другие значения. Алла Пугачёва На фестивале «Славянский базар в Витебске», 2016 год Основная информация Полное имя Алла Борисовна Пугачёва Дата рождения 15 апреля 1949(1949-04-15) (75 лет) Место рождения Москва, СССР[1]...

 

この項目には、一部のコンピュータや閲覧ソフトで表示できない文字が含まれています(詳細)。 数字の大字(だいじ)は、漢数字の一種。通常用いる単純な字形の漢数字(小字)の代わりに同じ音の別の漢字を用いるものである。 概要 壱万円日本銀行券(「壱」が大字) 弐千円日本銀行券(「弐」が大字) 漢数字には「一」「二」「三」と続く小字と、「壱」「�...

Comté de Södermanland Héraldique Administration Pays Suède Chef-lieu Nyköping Province historique Södermanland Création 1634 Communes 9 Préfet Bo Holmberg Assemblée locale Landstinget Sörmland Démographie Population 178 374 hab. (2012) Densité 29 hab./km2 PIB (2004) 52 235 000 000 SEK Géographie Coordonnées 58° 46′ 16″ nord, 16° 52′ 10″ est Superficie 606 100 ha = 6 061 ...

 

  关于与「友谊勋章 (俄罗斯)」標題相近或相同的条目页,請見「友谊勋章 (消歧义)」。 友谊勋章类型单级勋章(仅设有一个等级)授予原因加强各民族友谊、交流与合作国家/地区俄罗斯 颁发单位 俄羅斯颁授资格俄罗斯国民及世界各民族人民設立時間1994年3月2日[1]首次颁发康斯坦丁·蒂托夫(萨马拉州州长)绶带 优先顺序上等荣誉勋章下等光荣父母�...

 

Questa voce o sezione sull'argomento navi non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Segui i suggerimenti del progetto di riferimento. Île de FranceL'Île de France in una foto degli anni '20Descrizione generale Tipotransatlantico ProprietàCompagnie Générale Transatlantique CantierePenhoët, Saint-Nazaire (Francia) Impostazionemarzo 1924 Varogiu...

Private, all-female school in San Jose, , California, United StatesNotre Dame High SchoolAddress596 South 2nd StreetSan Jose, (Santa Clara County), California 95112United StatesCoordinates37°19′42″N 121°52′57″W / 37.32833°N 121.88250°W / 37.32833; -121.88250InformationTypePrivate, All-FemaleMottoTeach them what they need to know for life.Religious affiliation(s)Roman CatholicEstablished1851; 173 years ago (1851)FounderSisters of Notre Dame...

 

Federal Rural University of PernambucoUniversidade Federal Rural de PernambucoOther namesUFRPEMottoEx semine segesMotto in EnglishFrom a seed, a fieldLocationRecife, Pernambuco, Brazil8°01′S 34°57′W / 8.01°S 34.95°W / -8.01; -34.95 The Federal Rural University of Pernambuco (Portuguese: Universidade Federal Rural de Pernambuco, UFRPE) is a public university in Recife, Pernambuco, Brazil. Specializing in courses in agricultural sciences and other courses re...

 

Citrus fruit and plant Citrus × jambhiri Flower of Citrus × jambhiri Scientific classification Kingdom: Plantae Clade: Tracheophytes Clade: Angiosperms Clade: Eudicots Clade: Rosids Order: Sapindales Family: Rutaceae Genus: Citrus Species: C. × jambhiri Binomial name Citrus × jambhiriLush. Rough lemon Rough lemon (Citrus × jambhiri Lush.) is the fruit and the tree of a citrus hybrid. Like the rangpur, it is a cross between mandarin orange and citron. Rough lemon is a cold-ha...

Spanish anarchist militant (1896–1936) In this Spanish name, the first or paternal surname is Durruti and the second or maternal family name is Dumange. Buenaventura DurrutiDurruti in 1936Birth nameJosé Buenaventura Durruti DumangeBorn(1896-07-14)14 July 1896León, SpainDied20 November 1936(1936-11-20) (aged 40)Madrid, SpainBuriedMontjuïc CemeteryAllegiance CNT-FAIService Los Justicieros (1920–1922) Los Solidarios (1922–1924) Confederal militias (1936)Years of servic...

 

Semi-legendary overthrow of the Roman monarchy and foundation of the republic Overthrow of the Roman monarchyA 16th-century painting by Sandro Botticelli, depicting the rape of Lucretia and the subsequent uprisingDatec. 505 BC (traditionally 509 BC)LocationRomeResult Revolutionary victory End of the Roman Kingdom Establishment of the Roman Republic The overthrow of the Roman monarchy was an event in ancient Rome that took place between the 6th and 5th centuries BC where ...

 

سفارة لوكسمبورغ في فرنسا لوكسمبورغ فرنسا الإحداثيات 48°51′37″N 2°18′04″E / 48.8602°N 2.30099°E / 48.8602; 2.30099 البلد فرنسا  الاختصاص فرنسا،  وموناكو[1]  الموقع الالكتروني الموقع الرسمي تعديل مصدري - تعديل   سفارة لوكسمبورغ في فرنسا هي أرفع تمثيل دبلوماسي[2] لد...

Political party in India For other uses, see All India Forward Bloc (disambiguation). Not to be confused with Marxist Forward Bloc. Indian political party All India Forward Bloc AbbreviationAIFBChairmanNaren Chatterjee[1]General SecretaryG. Devarajan[2]FounderSubhas Chandra BoseFounded22 June 1939 (85 years ago) (1939-06-22)[3]Split fromIndian National CongressHeadquartersNetaji Bhavan, T-2235/2, Ashok Nagar, Faiz Road, Karol Bagh, New Delhi, India-1...

 

Galileo beralih ke halaman ini. Untuk kegunaan lain, lihat Galileo (disambiguasi). Artikel ini membutuhkan rujukan tambahan agar kualitasnya dapat dipastikan. Mohon bantu kami mengembangkan artikel ini dengan cara menambahkan rujukan ke sumber tepercaya. Pernyataan tak bersumber bisa saja dipertentangkan dan dihapus.Cari sumber: Galileo Galilei – berita · surat kabar · buku · cendekiawan · JSTOR Galileo GalileiPotret Galileo Galilei oleh Giusto Susterm...

 

EU's home affairs and justice policies This article is part of a series onPolitics of the European Union Member states (27) Austria Belgium Bulgaria Croatia Cyprus Czech Republic Denmark Estonia Finland France Germany Greece Hungary Ireland Italy Latvia Lithuania Luxembourg Malta Netherlands Poland Portugal Romania Slovakia Slovenia Spain Sweden Candidate coun...

African-American monthly magazine based in Chicago, Illinois Ebony60th anniversary cover with actors Denzel Washington, Halle Berry and Jamie Foxx, November 2005Former editorsTracey FergusonKyra KylesKierna MayoAmy DuBois BarnettBryan MonroeCategoriesLifestyle magazineFrequencyMonthlyTotal circulation(2017)1,333,421[1]FounderJohn H. JohnsonFirst issueNovember 1, 1945; 78 years ago (1945-11-01)[2]CompanyEbony Media Operations, LLC (2016–present)Johnson Publi...

 

Collenchym van selderij. Collenchym bij vaatplanten is een levend weefsel, waarvan de celwanden verdikkingen hebben, bestaande uit laagjes cellulose en protopectine, die elkaar afwisselen. Het geeft stevigheid aan kruidachtige stengels en andere kruidachtige delen, zoals bladstengels en bladschijven. Men onderscheidt hoek- en plaatcollenchym op grond van de plaatsverdeling van de wandverdikkingen van de cellen. De verdikkingen bevinden zich meestal in de hoeken van de cellen, kunnen ook lijst...