basic-pitch icon indicating copy to clipboard operation
basic-pitch copied to clipboard

basic-pitch not working with most of the input audio files

Open VijayIyer opened this issue 2 years ago • 5 comments

I tried basic pitch with 4 input audio files in mp3 format, only 1 of them gave back an ouput, the others showed me the same message as below (Aborted). I then converted one of the files from .mp3 to .wav and tried and it still failed. Is there any limitations on the length or format of the file? image

VijayIyer avatar Jul 19 '22 19:07 VijayIyer

Hi @VijayIyer could you give an example of a file that didn't work and your development environment (OS, what you have installed etc.)?

drubinstein avatar Jul 19 '22 19:07 drubinstein

HI @drubinstein, the OS that I am running this on is Ubuntu LTS 20.04. I am unable to upload the .mp3 file for which I got the error: It is a Beatles song by the name 'In my Life', duration of 146 seconds. I have uploaded the same to this drive location https://drive.google.com/file/d/1eiKDgg0AuMDdgahWxkh6Ifh9h4Z7oEBq/view?usp=sharing.

It does seem like the issue is the length of the file. I used pydub library to segment the .mp3 file into 30 second chunks and I did get the ouput for segments of the same audio file.

VijayIyer avatar Jul 20 '22 04:07 VijayIyer

@VijayIyer I was able to successfully run basic-pitch on your audio file (version 0.1.0). Which version are you running?

rabitt avatar Jul 20 '22 15:07 rabitt

@rabitt I am using the same version (0.1.0).

VijayIyer avatar Jul 22 '22 06:07 VijayIyer

@VijayIyer are you still having the issue? We've just released 0.2.0 which should give you better logging if an error happens.

rabitt avatar Aug 30 '22 21:08 rabitt

Closing this because of inactivity, but feel free to reopen if you're still running into this issue.

rabitt avatar Oct 27 '22 08:10 rabitt