Compare commits
No commits in common. "1453e1d6394b3442c9490174e4b6c7c5b359fdc2" and "177a8658f08b6cce6d782e1bc78201dba4d687ed" have entirely different histories.
1453e1d639
...
177a8658f0
2
main.py
2
main.py
|
@ -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, bpm, offset0=offset, n_iter_2=-1)
|
data = sound_process.process_song(beatmap.audio_filename, int(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]
|
||||||
|
|
||||||
|
|
|
@ -873,4 +873,4 @@ def filter_n_percent(song_name, offset, length, threshold, reduce, show):
|
||||||
plt.show()
|
plt.show()
|
||||||
|
|
||||||
return song_data
|
return song_data
|
||||||
'''
|
'''
|
Loading…
Reference in New Issue