Joel Mathew Thomas
20f91b9e2c
remove unused pages
2025-03-16 15:41:33 +05:30
SUFIYANJT
8383156b82
add route
2025-03-16 15:37:08 +05:30
karthikeyan-ks
a6ae646250
client change
2025-03-16 15:03:41 +05:30
Karthikeyan-ks
0d7b335b6f
Merge pull request #34 from joelmathewthomas/client/integration
...
Client/integration
2025-03-16 13:20:48 +05:30
Joel Mathew Thomas
38fb2fe42d
update deps
2025-03-16 11:26:06 +05:30
Joel Mathew Thomas
053c358e05
update deps
2025-03-16 11:24:39 +05:30
Joel Mathew Thomas
9dbcbb16cd
integrate backend with client
2025-03-15 14:59:58 +05:30
Joel Mathew Thomas
3c4ac29014
Merge pull request #33 from joelmathewthomas/karthikeyan
...
server change
2025-03-11 00:29:19 +05:30
karthikeyan-ks
26b40c929c
server change
2025-03-11 00:05:10 +05:30
SUFIYANJT
db6749201f
Merge pull request #32 from joelmathewthomas/feature/client
...
Remove old flutter code for React code
2025-02-27 10:55:28 +05:30
SUFIYANJT
2173c27d57
Remove old flutter code for React code
2025-02-27 10:51:35 +05:30
Joel Mathew Thomas
9425357011
Merge pull request #31 from joelmathewthomas/update/docs
...
Update README.md
2025-02-26 22:24:29 +05:30
Joel Mathew Thomas
04df3246d7
Update README.md
2025-02-26 22:23:44 +05:30
Joel Mathew Thomas
3652731862
Merge pull request #30 from joelmathewthomas/bugfix/cleanup_zip
...
bugfix: api/cleanup_zip
2025-02-26 21:25:17 +05:30
Joel Mathew Thomas
ddcbf740ea
bugfix: api/cleanup_zip
...
- Fix error when there are no zip files to delete
2025-02-26 21:23:32 +05:30
Joel Mathew Thomas
7ddb1339fd
Merge pull request #29 from joelmathewthomas/feature/api
...
feature/api: Add endpoints
2025-02-26 20:23:06 +05:30
Joel Mathew Thomas
e1dac18802
endpoint: /api/cleanup_zip/
...
- Add endpoint /api/cleanup_zip/ to cleanup leftover zip files leftover by /api/download/
2025-02-26 20:16:54 +05:30
Joel Mathew Thomas
ee5999da91
endpoint: /api/cleanup
...
- Add new endpoint /api/cleanup, params: file_uuid
- Cleanup leftover files on the server
2025-02-26 20:05:49 +05:30
Joel Mathew Thomas
1a8e4c5f40
code refinement for endpoint /api/download/
2025-02-26 19:55:29 +05:30
Joel Mathew Thomas
6316de3933
endpoint: /api/download
...
- Add endpoint /api/download to download the files
- If single file, download single file
- Else download zip file
2025-02-26 19:53:02 +05:30
Joel Mathew Thomas
4da658d064
Split audio into chunks to prevent OOM issues
2025-02-26 18:45:41 +05:30
Joel Mathew Thomas
1a2737d06f
remove redundant code
2025-02-26 18:01:31 +05:30
Joel Mathew Thomas
668872f175
endpoint /api/noisereduce, params: file_uuid
...
- Add endpoint /api/noisereduce, to reduce background noise.
- TODO: Split audio into chunks to prevent OOM issues.
2025-02-26 17:54:03 +05:30
Joel Mathew Thomas
ed2466218d
update deps
2025-02-26 17:40:37 +05:30
Joel Mathew Thomas
cbf2b022a5
Replace YAMNet model for panns-inference
...
YAMNet model was causing issues, as loading a pytorch framework model, when the tensorflow based YAMNet is loaded in the same environment already, caused segmentation fault
2025-02-26 17:36:27 +05:30
Joel Mathew Thomas
f2011b4408
endpoint : /api/separate
...
- Define new endpoint /api/separate, to separate music using demucs, params: file_uuid
- Replace original file with vocals.wav while retaining original filename
- Move all other files to file_path/sources/
2025-02-26 14:23:08 +05:30
Joel Mathew Thomas
b0939cb5b8
fix bug: return original sample rate
2025-02-26 13:56:59 +05:30
Joel Mathew Thomas
7672817ff3
return sr with response of /api/upload/
2025-02-26 13:37:08 +05:30
Joel Mathew Thomas
a80a851c80
endpoint: /api/resample
...
- Define new endpoint /api/resample, which takes param : file_uuid, and sr.
- Add Exception Handling for celery tasks
- Correct error message for trim_audio_task
2025-02-26 03:05:41 +05:30
Joel Mathew Thomas
8356394b8a
remove redundant code, improve get_audio_file_path()
...
- Check for file_uuid in request within function
- Check for existence of file within function
- Return appropriate status codes
2025-02-26 02:39:27 +05:30
Joel Mathew Thomas
f71d30732f
endpoint: /api/trim
...
- Define new api endpoint /api/trim, params: file_uuid, overwrites exisiting file on server with trimmed audio.
- Remove print messages in freqsplit/postprocessing/audio_writer.export_audio()
- Add new file api/utils.py for commonly used functions
2025-02-26 01:59:33 +05:30
Joel Mathew Thomas
1799713d3b
endpoint: /api/normalize
...
-Add new endpoint /api/normalize, params: file_uuid, overwrites exisisting file on server with normalized audio.
-Remove print statements from src/freqsplit/postprocessing/audio_writer
2025-02-26 00:19:23 +05:30
Joel Mathew Thomas
2256989fda
check file format in /api/upload/
2025-02-25 23:34:54 +05:30
Joel Mathew Thomas
9bc3a90cf9
remove unused imports
2025-02-25 23:00:27 +05:30
Joel Mathew Thomas
4f86f7a94b
/api/upload: synchronously uploads audio, returns file_uuid, classifies audio, returns audio_class
2025-02-25 22:53:49 +05:30
Joel Mathew Thomas
26367e3497
bugfix: use parameter mono only if passed explicitly
...
Caused the tests/test_separation to fail.
2025-02-25 20:53:39 +05:30
Joel Mathew Thomas
3074084ac1
refactor code, use package libraries for freqsplit/preprocessing/classify
...
- add additional params: sr=None and mono=False for freqsplit/input/file_reader/read_audio()
- remove loading audio using librosa in freqsplit/preprocessing/classify/classify_audio()
- add error handling, if the sr is not 16Khz
- raise RuntimeError, if YAMNet model fails
- update tests/test_preprocessing
2025-02-25 20:13:02 +05:30
Joel Mathew Thomas
825da48712
use celery for asynchronous tasks, rename session_uuid -> file_uuid
2025-02-25 19:30:58 +05:30
Joel Mathew Thomas
0d35e4e071
use session id's for uploads, return it as a response
...
also removed classify for api/upload temporarily
2025-02-25 19:07:15 +05:30
Joel Mathew Thomas
b51edcf173
rename package: freq-split-enhance -> freqsplit
2025-02-25 19:05:37 +05:30
Joel Mathew Thomas
9561f973aa
Merge pull request #28 from joelmathewthomas/update/readme
...
Update/readme
2025-02-25 03:46:08 +05:30
Joel Mathew Thomas
404150c834
Update README.md
2025-02-25 03:45:13 +05:30
Joel Mathew Thomas
1943cc006c
Update README.md
2025-02-25 03:44:18 +05:30
Joel Mathew Thomas
4246e3f914
Merge pull request #27 from joelmathewthomas/feature/api
...
Feature/api
2025-02-25 03:36:49 +05:30
Joel Mathew Thomas
e61ae413af
return audio_class with response for api/upload endpoint
2025-02-25 03:23:59 +05:30
Joel Mathew Thomas
fc03a50ab2
update deps
2025-02-25 03:19:21 +05:30
Joel Mathew Thomas
a8edb05d28
update pyproject.toml
2025-02-25 03:15:47 +05:30
Joel Mathew Thomas
0e0e765b6e
install freqsplit as a package
2025-02-25 03:10:44 +05:30
Joel Mathew Thomas
076e3779ef
define new route api/upload to upload audio
2025-02-25 02:24:05 +05:30
Joel Mathew Thomas
c2680bdb9d
Merge pull request #26 from joelmathewthomas/update/deps
...
update deps
2025-02-25 01:46:47 +05:30