Merge pull request #187 from MetLee/4.1-Stable

Remove incorrect indentation
This commit is contained in:
YuriHead 2023-05-23 09:37:34 +08:00 committed by GitHub
commit b1064420cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def process(item):
peak = np.abs(wav).max()
if peak > 1.0:
wav = 0.98 * wav / peak
wav2 = librosa.resample(wav, orig_sr=sr, target_sr=args.sr2)
wav2 = librosa.resample(wav, orig_sr=sr, target_sr=args.sr2)
try:
meter = pyln.Meter(args.sr2)
loudness = meter.integrated_loudness(wav2)