You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Not working when my music is 10 seconds long
Debugging Information
/usr/local/lib/python3.9/site-packages/librosa/util/decorators.py:88: UserWarning: PySoundFile failed. Trying audioread instead.
return f(*args, **kwargs)
INFO: Loaded '常青_7142339610037717768.mp3'. Analyzing...
/usr/local/lib/python3.9/site-packages/librosa/core/convert.py:1332: RuntimeWarning: divide by zero encountered in log10
2 * np.log10(f_sq)
INFO: Detected 61 beats at 123 bpm
INFO: Finished initial audio processing in 0.267s
INFO: Found 0 possible loop points
Traceback (most recent call last):
File "/usr/local/bin/pymusiclooper", line 8, in
sys.exit(cli_main())
File "/usr/local/lib/python3.9/site-packages/pymusiclooper/main.py", line 243, in cli_main
loop_start, loop_end, score = choose_loop_pair(loop_pair_list, args.path)
File "/usr/local/lib/python3.9/site-packages/pymusiclooper/main.py", line 111, in choose_loop_pair
loop_start = loop_pair_list[index]["loop_start"]
IndexError: list index out of range
Desktop (please complete the following information):
OS: iMac macOS Ventura
Is FFmpeg installed and working? (execute ffmpeg --version in the terminal if unsure): ffmpeg version 5.1. YES
Fixed in v2.5.3. However, no loop points were detected with the current algorithm for your provided sample. I'll consider adding a fallback for tracks with less distinct "beats" / loop points with the next major version release.
Describe the bug
Not working when my music is 10 seconds long
Debugging Information
/usr/local/lib/python3.9/site-packages/librosa/util/decorators.py:88: UserWarning: PySoundFile failed. Trying audioread instead.
return f(*args, **kwargs)
INFO: Loaded '常青_7142339610037717768.mp3'. Analyzing...
/usr/local/lib/python3.9/site-packages/librosa/core/convert.py:1332: RuntimeWarning: divide by zero encountered in log10
INFO: Detected 61 beats at 123 bpm
INFO: Finished initial audio processing in 0.267s
INFO: Found 0 possible loop points
Traceback (most recent call last):
File "/usr/local/bin/pymusiclooper", line 8, in
sys.exit(cli_main())
File "/usr/local/lib/python3.9/site-packages/pymusiclooper/main.py", line 243, in cli_main
loop_start, loop_end, score = choose_loop_pair(loop_pair_list, args.path)
File "/usr/local/lib/python3.9/site-packages/pymusiclooper/main.py", line 111, in choose_loop_pair
loop_start = loop_pair_list[index]["loop_start"]
IndexError: list index out of range
Desktop (please complete the following information):
ffmpeg --version
in the terminal if unsure): ffmpeg version 5.1. YESAdditional context
Here is the music
常青_7142339610037717768.mp3.zip
The text was updated successfully, but these errors were encountered: