File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -710,7 +710,7 @@ def pitch_audio(
710710 pitched_data_path = os .path .join (process_data_paths .cache_folder_path , f"{ pitching_config } .json" )
711711 cache_available = check_file_exists (pitched_data_path )
712712
713- if settings .skip_cache_transcription or not cache_available :
713+ if settings .skip_cache_pitch_detection or not cache_available :
714714 pitched_data = get_pitch_with_file (
715715 process_data_paths .processing_audio_path
716716 )
Original file line number Diff line number Diff line change @@ -66,6 +66,8 @@ def create_ultrastar_txt_from_automation(
6666
6767 ultrastar_txt = UltrastarTxtValue ()
6868 ultrastar_txt .version = format_version .value
69+ if media_info .audio_extension is None :
70+ raise Exception ("Missing Audio extension. It is required to create Ultrastar txt" )
6971 ultrastar_txt .mp3 = basename + "." + media_info .audio_extension
7072 ultrastar_txt .audio = basename + "." + media_info .audio_extension
7173 ultrastar_txt .vocals = basename + " [Vocals]." + media_info .audio_extension
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def create_ultrastar_txt(
5353 gap = midi_segments [0 ].start
5454
5555 if version .parse (ultrastar_class .version ) >= version .parse ("1.0.0" ):
56- file .write (f"#{ UltrastarTxtTag .VERSION .value } :{ ultrastar_class .version } \n " ),
56+ file .write (f"#{ UltrastarTxtTag .VERSION .value } :{ ultrastar_class .version } \n " )
5757 file .write (f"#{ UltrastarTxtTag .ARTIST .value } :{ ultrastar_class .artist } \n " )
5858 file .write (f"#{ UltrastarTxtTag .TITLE .value } :{ ultrastar_class .title } \n " )
5959 if ultrastar_class .year is not None :
You can’t perform that action at this time.
0 commit comments