Skip to content

Commit 534b057

Browse files
committed
remove unused variable
1 parent 37401fa commit 534b057

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

matchmaker/io/audio.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ def run_offline(self) -> None:
245245
audio_y = librosa.resample(y=audio_y, orig_sr=sr, target_sr=self.target_sr)
246246
sr = self.target_sr
247247

248-
duration = float(librosa.get_duration(y=audio_y, sr=sr))
249248
time_interval = self.hop_length / float(sr)
250249
# Pad to next hop_length boundary so no trailing samples are lost
251250
remainder = len(audio_y) % self.hop_length

0 commit comments

Comments
 (0)