mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-11-20 13:07:52 +09:00
fix: remove numba dependency and adjust BPM extraction for non-ultrastar files
This commit is contained in:
1 parent
1a0c84a892
commit
a5f9500323
2 files changed
+2
-2
No files matched your search
@@ -17,7 +17,6 @@ dependencies = [
|
||||
"language_data",
|
||||
"packaging",
|
||||
"librosa",
|
||||
"numba>=0.59.0",
|
||||
"swift-f0",
|
||||
"pydub",
|
||||
"demucs",
|
||||
|
||||
+2
-1
@@ -172,7 +172,8 @@ def run() -> tuple[str, Score, Score]:
|
||||
process_data.process_data_paths.processing_audio_path = CreateProcessAudio(process_data)
|
||||
|
||||
# Get BPM from wav file
|
||||
process_data.media_info.bpm = get_bpm_from_file(process_data.process_data_paths.processing_audio_path)
|
||||
if not settings.input_file_is_ultrastar_txt:
|
||||
process_data.media_info.bpm = get_bpm_from_file(process_data.process_data_paths.processing_audio_path)
|
||||
|
||||
# Detect key
|
||||
detected_key, detected_mode = detect_key_from_audio(process_data.process_data_paths.processing_audio_path)
|
||||
|
||||
Reference in new issue
Block a user