Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems running on ultrasonic files #2

Open
emdo1 opened this issue Aug 2, 2019 · 3 comments
Open

Problems running on ultrasonic files #2

emdo1 opened this issue Aug 2, 2019 · 3 comments

Comments

@emdo1
Copy link

emdo1 commented Aug 2, 2019

Had problems running code on files with a sampling rate of 384kHz, struggled to find where to change settings for this. It wouldn't analyse the lower frequencies. However had no issue with 48kHz files.

@mdfirman
Copy link
Owner

mdfirman commented Aug 3, 2019

Thanks for getting in touch about this. What sort of problems did you encounter?

I've never done anything with ultrasonic files – maybe have a look at https://github.com/macaodha/batdetect to see what they do about ultrasonic detection?

Thanks

@emdo1
Copy link
Author

emdo1 commented Aug 21, 2019

I'm comparing the use of different acoustic methods, so I am using the bat_detect code to look at bats, but thought it would be interesting to see if CityNet could be used to infer overall biotic activity.
I keep getting a ValueError: input signal length=0 is too small to resample from 384000->22050 when running without changes. I have tried changing the resampling to 192000 but that results is an error cascade.

@mdfirman
Copy link
Owner

mdfirman commented Sep 6, 2019

Ok, interesting. I don't think I have enough ultrasonic experience here to be able to help you. My default first option would be to try to convert the ultrasonic files into files sampled at 48kHz, but obviously this isn't going to keep any ultrasonic signal.

As the models we have here were all trained on low-frequency files I wouldn't expect any kind of good results when applying them to high-frequency files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants