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
Hi,
This issue is quite old but as I faced the same problem recently, I'll post my answer:
The file Windows doesn't find is probably the ffmpeg executable, not your audio file. In the 101st line of the script, in the convert_to_wav() function, a subprocess calls ffmpeg to convert the data to a .wav file. Here the argument is litteraly ffmpeg, meaning that the ffmpeg executable must be in your PATH.
From here you have two solutions:
add ffmpeg to your PATH (here is a tutorial on how to do that on Windows),
or modify the first argument of the subprocess function from ffmpeg to /your/path/to/ffmpeg/executable/.
I hope it will help you or anyone having the same issue !
I am using python 3.x and never find the file. I am sure that my file is in the correct directory. what am I doing wrong?
The text was updated successfully, but these errors were encountered: