This commit is contained in:
Thibaud 2024-06-01 16:30:18 +02:00
parent ad5049d1ca
commit 03156d2154
1 changed files with 1 additions and 1 deletions

View File

@ -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]