From 03156d2154d07f113bec282e9215de0a43b6f27f Mon Sep 17 00:00:00 2001 From: Thibaud Date: Sat, 1 Jun 2024 16:30:18 +0200 Subject: [PATCH] Oops --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 6d83827..48e03e4 100644 --- a/main.py +++ b/main.py @@ -13,7 +13,7 @@ def main(): offset = timing.offset.total_seconds() * 1000 print(beatmap.audio_filename) - data = sound_process.process_song(beatmap.audio_filename, int(bpm), offset0=offset, n_iter_2=-1) + data = sound_process.process_song(beatmap.audio_filename, bpm, offset0=offset, n_iter_2=-1) # NOTE : remove n_iter_2 to map the whole music timings, amplitudes, freqs = [x[0] for x in data], [x[1] for x in data], [x[2] for x in data]