Awell00 commited on
Commit
d9895bb
1 Parent(s): b08d5fa

fix: change the sound of instrumental

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -348,7 +348,7 @@ def combine_stems_for_all(input_dir, output_format="mp3"):
348
  # Load and combine stems
349
  stems = {name: AudioSegment.from_file(path) for name, path in stem_paths.items()}
350
 
351
- stems["instrumental"] = stems["instrumental"].apply_gain(-15)
352
  combined = stems["vocals"].overlay(stems["bass"]).overlay(stems["others"]).overlay(stems["instrumental"])
353
 
354
  # Trim silence at the end
 
348
  # Load and combine stems
349
  stems = {name: AudioSegment.from_file(path) for name, path in stem_paths.items()}
350
 
351
+ stems["instrumental"] = stems["instrumental"].apply_gain(-20)
352
  combined = stems["vocals"].overlay(stems["bass"]).overlay(stems["others"]).overlay(stems["instrumental"])
353
 
354
  # Trim silence at the end