File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -28,17 +28,9 @@ def get_bliss_corpus_dict(audio_format: str = "wav", output_prefix: str = "datas
2828    bliss_corpus_dict  =  download_data_dict (output_prefix = output_prefix ).bliss_nist 
2929
3030    audio_format_options  =  {
31-         "wav" : {
32-             "output_format" : "wav" ,
33-             "codec" : "pcm_s16le" ,
34-             "recover_duration" : False ,
35-         },
36-         "ogg" : {"output_format" : "ogg" , "codec" : "libvorbis" , "recover_duration" : False },
37-         "flac" : {
38-             "output_format" : "flac" ,
39-             "codec" : "flac" ,
40-             "recover_duration" : False ,
41-         },
31+         "wav" : {"output_format" : "wav" , "codec" : "pcm_s16le" },
32+         "ogg" : {"output_format" : "ogg" , "codec" : "libvorbis" },
33+         "flac" : {"output_format" : "flac" , "codec" : "flac" },
4234    }
4335
4436    converted_bliss_corpus_dict  =  {}
@@ -47,6 +39,7 @@ def get_bliss_corpus_dict(audio_format: str = "wav", output_prefix: str = "datas
4739            bliss_change_encoding_job  =  BlissChangeEncodingJob (
4840                corpus_file = sph_corpus ,
4941                sample_rate = 16000 ,
42+                 recover_duration = False ,
5043                ** audio_format_options [audio_format ],
5144            )
5245            bliss_change_encoding_job .add_alias (
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments