Compare commits

...

3 Commits

Author SHA1 Message Date
Thibaud 1453e1d639 Merge with the 'oops' fix 2024-06-03 11:43:07 +02:00
Thibaud 03156d2154 Oops 2024-06-01 16:30:18 +02:00
Thibaud ad5049d1ca Make new snapping plot more similar to osu editor 2024-06-01 12:23:07 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ def main():
offset = timing.offset.total_seconds() * 1000 offset = timing.offset.total_seconds() * 1000
print(beatmap.audio_filename) 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 # 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] timings, amplitudes, freqs = [x[0] for x in data], [x[1] for x in data], [x[2] for x in data]