diff --git a/resample.py b/resample.py index ec08bfc..86cb224 100644 --- a/resample.py +++ b/resample.py @@ -23,7 +23,7 @@ def process(item): wav2 = librosa.resample(wav, orig_sr=sr, target_sr=args.sr2) meter = pyln.Meter(args.sr2) loudness = meter.integrated_loudness(wav2) - wav2 = pyln.normalize.loudness(wav2, loudness, -23.0) + wav2 = pyln.normalize.loudness(wav2, loudness, -12.0) # wav2 /= max(wav2.max(), -wav2.min()) save_name = wav_name save_path2 = os.path.join(args.out_dir2, speaker, save_name)