Hi, all,

The reply from Lyra:


The codec has been trained on thousands of hours of speech in more than 70 
languages and tested on many different speakers and accents. It relies only on 
log-mel spectrograms per frame and no long-term speaker id. For some audio 
samples you can check out our blog or generate them yourself using 
encoder_main and decoder_main.




------------------ Original ------------------
From:                                                                           
                                             "freetel-codec2"                   
                                                                 
<da...@rowetel.com&gt;;
Date:&nbsp;Thu, Apr 15, 2021 05:36 AM
To:&nbsp;"freetel-codec2"<freetel-codec2@lists.sourceforge.net&gt;;

Subject:&nbsp;Re: [Freetel-codec2] Codec2 vs Lyra?



                   
Al,
     
My understanding ii that Lyra is currenlty optimised for arm64       
systems.&nbsp; Like LPCNet, it may still need a port of several key       
functions to some sort of x86 SIMD instruction set like AVX.
     
- David&nbsp; 
     
     On 9/4/21 8:34 pm, Al Beard via       Freetel-codec2 wrote:
     
                          Hi all,                
       
       I've loaded this "bazel" build system on           Ubuntu 20.04 LTS on a 
Pentium E5300 box (no AVX/AVX2).
       &nbsp;apt install bazel-4.0.0; ln -s           
/usr/bin/bazel-4.0.0&nbsp;/usr/bin/bazel
       bazel build -c opt :encoder_main
       bazel build -c opt :decoder_main
                
       
       I note the audio samplerate is 16000 whereas           Codec2 and the 
M17 project go with 8000.
       Running their test script:
                  :
           export               PATH=$PATH:/data/downloads/yy4418/lyra/bazel-bin
           bazel-bin/encoder_main --model_path=wavegru               
--output_dir=$HOME/temp               
--input_path=testdata/16khz_sample_000001.wav
           bazel-bin/decoder_main&nbsp; --model_path=wavegru               
--output_dir=$HOME/temp/               
--encoded_path=$HOME/temp/16khz_sample_000001.lyra
                          
             
           output
                        I20210409 20:36:27.839759 178277               
decoder_main_lib.cc:97] Elapsed seconds : 9
             I20210409 20:36:27.839819 178277               
decoder_main_lib.cc:98] Samples per second : 12246.8
             &nbsp;
                            
             
           
         
                  time aplay               
$HOME/temp/16khz_sample_000001_decoded.wav
           Playing WAVE               
'/root/temp/16khz_sample_000001_decoded.wav' : Signed 16               bit 
Little Endian, Rate 16000 Hz, Mono
                          
             
           real 0m8.481s
           user 0m0.195s
           sys  0m0.071s
                        
           
           ============ So from an 8.5             sec test file, when decoded 
takes:
                        real    0m11.183s
             user       0m11.050s
             sys        0m0.105s
                            
             
                            W20210409 20:43:22.203222 178355                 
kernels_generic.h:241] SumVectors: using generic kernel!
               I20210409 20:43:32.897627 178355                 
decoder_main_lib.cc:97] Elapsed seconds : 10
               I20210409 20:43:32.897687 178355                 
decoder_main_lib.cc:98] Samples per second : 11307.7
                                
               
             
                            
             
             ====== Conclusion =====
                            
             
             My Pentium E5300 2.6 GHz is               not powerful enough!
           
         
                               
           
                        
           
           The encode phase is quick, super quick:
                        time encoder_main --model_path=wavegru               
--output_dir=$HOME/temp               
--input_path=testdata/16khz_sample_000001.wav
             WARNING: Logging before InitGoogleLogging() is written             
  to STDERR
             I20210409 20:57:47.317165 178410               
encoder_main_lib.cc:94] Elapsed seconds : 0
             I20210409 20:57:47.317334 178410               
encoder_main_lib.cc:95] Samples per second : 5.12104e+06
                            
             
             real       0m0.049s
             user       0m0.034s
             sys        0m0.012s
                            
             
           
                        
           
           Alan VK2ZIW
                        
           
         
       On Thu, 8 Apr 2021 14:34:12 +0800, Random             wrote           
           &gt; Thanks a lot, David.           
           &gt; 
           &gt; Could you please squeeze Lyra to 2400bps ? Such that we         
  can compare its performance with that of LPCNet.           
           &gt; 
           &gt; Best Regards.           
           &gt; 
           &gt; ------------------&nbsp;ԭʼÓʼþ&nbsp;           
------------------           
           &gt; 
           &gt; ·¢¼þÈË: "freetel-codec2"           <da...@rowetel.com&gt;;      
     
           &gt; ·¢ËÍʱ¼ä:&nbsp;           2021Äê4ÔÂ7ÈÕ(ÐÇÆÚÈý) ÏÂÎç4:25         
  
           &gt; ÊÕ¼þÈË:&nbsp;           
"freetel-codec2"<freetel-codec2@lists.sourceforge.net&gt;;           
           &gt; 
           &gt; Ö÷Ìâ:&nbsp;Re: [Freetel-codec2] Codec2 vs Lyra?           
           &gt; 
           &gt; Hmm, I wonder how quickly I can get this into a FreeDV          
 mode :-)           
           &gt; 
           &gt; 3000 bit/s is a bit high for HF, but nice for VHF.&nbsp; Might  
         be cool for 
           &gt; the m17 project.           
           &gt; 
           &gt; On 7/4/21 5:18 pm, David Rowe wrote:           
           &gt; &gt; Further to this, I've just bee told Google has open        
   source Lyra :-)           
           &gt; &gt;           
           &gt; &gt; 
https://opensource.googleblog.com/2021/04/lyra-enabling-voice-calls-for-next-billion-users.html
           
           &gt; &gt;           
           &gt; &gt;           
           &gt; &gt; - David           
           &gt; &gt;           
           &gt; &gt;           
           &gt; &gt; _______________________________________________           
           &gt; &gt; Freetel-codec2 mailing list           
           &gt; &gt; Freetel-codec2@lists.sourceforge.net           
           &gt; &gt;           
https://lists.sourceforge.net/lists/listinfo/freetel-codec2           
           &gt; 
           &gt; _______________________________________________           
           &gt; Freetel-codec2 mailing list           
           &gt; Freetel-codec2@lists.sourceforge.net           
           &gt;           
https://lists.sourceforge.net/lists/listinfo/freetel-codec2           
           
           
           --------------------------------------------------- 
           Alan VK2ZIW 
           Before the Big Bang, God, Sela. 
           OpenWebMail 2.53, nothing in the cloud. 
           
                
       
              
              _______________________________________________ Freetel-codec2 
mailing list Freetel-codec2@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/freetel-codec2
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to