Commit Graph

18 Commits

Author SHA1 Message Date
Kavi
4282e2ae70 Added AudioPath as an alias for the path definition 2025-05-16 15:13:08 +02:00
Kavi
52570738f2 Renamed load_audio_data to load_audio_and_samplerate 2025-05-16 14:56:35 +02:00
Kavi
54ca555587 Fixed code to support Python3.9 syntax 2025-02-27 13:51:58 +01:00
Kavi
230b6167bc Added load_audio_data() which returns the original sample rate. Changed load_audio() implementation so that it uses load_audio_data but retains its signature. du.process_file() now does not need to call get_samplerate 2025-02-27 08:10:27 +01:00
Kavi
6af7fef316 Fix 'unknown' id by providing a _generate_id() function. 2025-02-26 14:11:11 +01:00
Kavi
66ac7e608f Changed the signature of api.process_file, au.load_audio and du.process_file. This allows users to use the same args for processing data as librosa.load() 2025-02-25 14:24:48 +01:00
mbsantiago
d085b3212c Added weights_only argument to model loading function 2024-11-11 11:46:06 +00:00
mbsantiago
039c002796 Remove unnecessary imports 2024-11-10 22:37:57 +00:00
mbsantiago
9e0ad7fd78 address all linting errors from rule NPY201 2024-11-10 19:13:30 +00:00
Santiago Martinez
860e63dddf fix: implemented a cleaning step to remove detections above the nyquist limit 2023-11-24 15:40:58 +00:00
Santiago Martinez
36d616530a tests: Added test for using the spec_feature flag 2023-08-03 11:46:06 +01:00
Santiago Martinez
04af74228b fix: the case of no detections is now handled better 2023-05-11 13:59:20 +01:00
Santiago Martinez
327f741aa2 feat: added filename to console output in cli 2023-05-01 17:51:18 +01:00
Santiago Martinez
57f2b50239 fix: move tensors to cpu when converting to numpy 2023-04-29 15:30:25 +01:00
Santiago Martinez
c865b53c17 fixed missing get_default_db_config function 2023-04-07 16:26:01 -06:00
Santiago Martinez
b8bbfe8ad4 updated extract spec slices bit 2023-04-07 15:20:15 -06:00
Santiago Martinez
0a22f1798e Checked that returned features is a 2d numpy array 2023-04-07 14:46:38 -06:00
Santiago Martinez
9e79849d6f Changed bat_detect to batdetect2 2023-04-07 11:24:22 -06:00