Commit Graph

162 Commits

Author SHA1 Message Date
mbsantiago
42a838e9f2 Bump version: 1.2.0 → 1.3.0
Some checks failed
Python package / build (3.10) (push) Has been cancelled
Python package / build (3.11) (push) Has been cancelled
Python package / build (3.12) (push) Has been cancelled
Python package / build (3.9) (push) Has been cancelled
2025-05-16 15:02:15 +01:00
Santiago Martinez Balvanera
c10903a646
Merge pull request #44 from kaviecos/http_support
Http support
2025-05-16 15:01:08 +01:00
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
cbd362d6ea Updated docstrings for tests 2025-05-16 14:53:35 +02:00
mbsantiago
4b75e13fa2 Bump version: 1.1.1 → 1.2.0
Some checks failed
Python package / build (3.12) (push) Has been cancelled
Python package / build (3.9) (push) Has been cancelled
Python package / build (3.10) (push) Has been cancelled
Python package / build (3.11) (push) Has been cancelled
2025-03-12 18:03:43 +00:00
Santiago Martinez Balvanera
98bf506634
Merge pull request #45 from macaodha/feat/add-chunk-size-to-cli
Added the chunk_size param to the detect command
2025-03-12 18:01:48 +00:00
mbsantiago
b4c59f7de1 Added the chunk_size param to the detect command 2025-03-12 17:59:18 +00: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
f62bc99ab2 Added api method to process a URL 2025-02-26 14:13:21 +01:00
Kavi
47dbdc79c2 Added tests for api and load_audio 2025-02-26 14:12:42 +01:00
Kavi
e10e270de4 Fix error in get_samplerate when reading io.BytesIO. 2025-02-26 14:12:09 +01:00
Kavi
6af7fef316 Fix 'unknown' id by providing a _generate_id() function. 2025-02-26 14:11:11 +01:00
Kavi
838a1ade0d Updated get_samplerate test to use example data file. 2025-02-25 14:46:40 +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
2100a3e483 Bump version: 1.1.0 → 1.1.1 2024-11-11 13:01:57 +00:00
mbsantiago
1d3cd2e305 Update lock 2024-11-11 13:01:55 +00:00
Santiago Martinez Balvanera
d5753b95bb
Merge pull request #39 from macaodha/fix/handle-empty-files-gracefully
fix: Handle Empty Audio Files Gracefully (GH-20)
2024-11-11 12:59:28 +00:00
mbsantiago
69f59ff559 Added the EOFError to the list of expected errors when processing files 2024-11-11 12:44:21 +00:00
mbsantiago
1a11174bc4 Add a test to validate that empty files are handled gracefully 2024-11-11 12:43:46 +00:00
Santiago Martinez Balvanera
c5c9476e52
Merge pull request #38 from macaodha/test/add_audio_files_provided_by_padpadpadpad_to_test_suite
test: Add failing audio files from GH-29 to contrib test suite
2024-11-11 12:23:03 +00:00
mbsantiago
270b3f212d Created test to verify no errors occurred when running on padpadpadpad recordings 2024-11-11 12:13:00 +00:00
mbsantiago
f61d1d8c72 Add audio files provided by @padpadpadpad to the contrib test files 2024-11-11 12:12:38 +00:00
Santiago Martinez Balvanera
4627ddd739
Merge pull request #37 from macaodha/fix/GH-30-torch-deprecation-warning-weights-only
fix: Address PyTorch Model Loading Deprecation Warning (GH-30)
2024-11-11 12:02:26 +00:00
mbsantiago
3477d7b5b4 Run the same test with example data instead of random audio 2024-11-11 11:57:46 +00:00
mbsantiago
394c66a2ee Added test to validate that changing model loading behaviour did not change model predictions 2024-11-11 11:46:27 +00:00
mbsantiago
d085b3212c Added weights_only argument to model loading function 2024-11-11 11:46:06 +00:00
mbsantiago
c393c5c29b Bump version: 1.0.8 → 1.1.0 2024-11-11 11:18:39 +00:00
mbsantiago
3c22ff28a7 add bump2version config 2024-11-11 11:18:37 +00:00
Santiago Martinez Balvanera
7dc28695b2
Merge pull request #36 from macaodha/fix/GH-31-negative-dimension-are-not-allowed
fix: Resolve detect Command Failure with Specific Audio Files (GH-31)
2024-11-10 22:53:45 +00:00
mbsantiago
505cca2dea Original test now passing. Issue seems to be fixed 2024-11-10 22:41:03 +00:00
mbsantiago
7906842a16 Added test to ensure pad_audio function, and utils, are working as expected 2024-11-10 22:39:30 +00:00
mbsantiago
a4b22d6590 Improve the pad_audio function
This function was the culprit of the error. Broke the function into
other helper functions to make the flow easier to follow
2024-11-10 22:39:10 +00:00
mbsantiago
25e0a53ad1 Add hypothesis to dev dependencies for easier testing 2024-11-10 22:38:13 +00:00
mbsantiago
039c002796 Remove unnecessary imports 2024-11-10 22:37:57 +00:00
mbsantiago
c97a87b2a4 Remove numba debug logging for easier debugging 2024-11-10 22:37:45 +00:00
mbsantiago
d93d8284d0 Added a test that replicates the error 2024-11-10 20:06:58 +00:00
Santiago Martinez Balvanera
697b5dbddb
Merge pull request #35 from macaodha/fix/update-python-version-support
feat: Drop Python 3.8 Support, Add Python 3.12 Support
2024-11-10 19:52:42 +00:00
mbsantiago
d5bf8f5ad8 Drop 3.9 and add 3.12 to python-version matrix in test github workflow 2024-11-10 19:46:12 +00:00
mbsantiago
fcbccbe012 Update uv lock 2024-11-10 19:45:01 +00:00
mbsantiago
4917641e2c Drop support for python 3.8 and add for 3.12 2024-11-10 19:44:57 +00:00
Santiago Martinez Balvanera
39c3918103
Merge pull request #34 from macaodha/feat/migrate-to-numpy-2
Feat/migrate to numpy 2
2024-11-10 19:17:33 +00:00
mbsantiago
1ac3808fee Remove the numpy<2 requirement from the dependencies specification 2024-11-10 19:13:44 +00:00
mbsantiago
9e0ad7fd78 address all linting errors from rule NPY201 2024-11-10 19:13:30 +00:00
mbsantiago
95bb0985e7 Add ruff rule to help migrating to numpy 2.0 2024-11-10 19:13:11 +00:00
Santiago Martinez Balvanera
cb088359ae
Merge pull request #33 from macaodha/feat/migrate-to-uv
Feat/migrate to uv
2024-11-10 19:04:47 +00:00
mbsantiago
c5030123aa Restrict pytorch version for python 3.8 compatibility 2024-11-10 18:59:35 +00:00
mbsantiago
1c1fbd8019 Added dev dependencies and updated github actions to use uv 2024-11-10 18:32:50 +00:00
mbsantiago
c65fe1c9f9 change pyproject metadata to use uv and hatch instead of pdm 2024-11-10 18:20:18 +00:00