Hello Dylan,
Looking from your traceback, it seems like PySoundFile cannot open your audio data.
This may either be a problem in the audio encoding of the data (likely) or a problem with your PySoundFile installation (less likely).
I don't think this is specifically a BirdVoxDetect problem, but i might be wrong.
I hope this helps!
Sincerely,
Vincent.
--
You received this message because you are subscribed to the Google Groups "birdvox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to birdvox+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/birdvox/5349f982-0546-476f-86fa-56d6aeeae6ddn%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ah, i hadn't seen you were trying to analyze a folder, not a specific file.
process_file can only take paths from files, not folders, at input (as the name implies)
To analyze a folder, i recommend you make your own for loop.
Something like:
data_dir = 'C:/Users/dylano/Desktop/Sound'
dfs = {}
for name in os.listdir(data_dir):
df[name] = bvd.process_file(data_dir + "/" + name)
Or else use the command-line :)
birdvoxdetect path/to/folder
I hope this helps!
Vincent.
To view this discussion on the web visit https://groups.google.com/d/msgid/birdvox/72c72407-2507-473c-805b-b9567077cd2dn%40googlegroups.com.