Audio-to-midi
Audio-to-midi copied to clipboard
Python Error
While exceuting, i get following error: `Audio to midi : Update in 20190503
input_folder: ./input/ output_folder: ./output/ melody_type: Vocal
Songname: train01
Traceback (most recent call last):
File "audio2midi.py", line 305, in
Getting the same error = numpy.float64' object cannot be interpreted as an integer
I created a venv with python 3.6 and problem gone.
pip install numpy==1.16.0 numpy版本太高了
In cfp.py, line 55, add .astype(int)
after np.round(N/2)
.
This works for me. I'm using python 3.9 with the latest numpy.
Could someone note the versions of scipy and pianoroll that were used> As I am getting errors with those too. Would appreciate it a lot!
(fftpack & multitrack)
@interestingLSY thank you that works
@Zulex I ran pip install pypianoroll==0.5.3
and that resolved my issues.