1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 17:20:25 +08:00
Commit Graph

14 Commits

Author SHA1 Message Date
源文雨
e486649a91 optimize(rmvpe): move deepunet&e2e into rvc 2024-06-12 20:51:46 +09:00
Alex Murkoff
1e22d468ea feat(audio): use PyAV instead of ffmpeg (#31)
* feat(audio): use PyAV instead of ffmpeg

replaced usage of ffmpeg in favor of PyAV (`av`)

* refactor(audio): store all of the audio related functions in the `infer.lib.audio`

refactors previous commit to have singular functions for each task, all located in `infer.lib.audio`

* fix(audio): remove downsample_audio from mdxnet.py

it is no longer needed, since it's imported from infer.lib.audio

* docs: remove every ffmpeg mention in the documentation to avoid confusion

* chore(requirements): remove ffmpeg-python and ffmpy from all requirements

* fix(audio): fix loading for UVR

wrapped gathering of META info from the stream into a function

fixes loading for UVR

* fix(audio): use np.frombuffer() instead of direct conversion of the resampled frames

this fixes traceback on preprocessing

* feat(audio): pre-allocate decoded_audio array in the load_audio function

this should improve performance, even if just a little

* Revert "docs: remove every ffmpeg mention in the documentation to avoid confusion"

This reverts commit 1e05bbce03.

* chore(format): run black on dev

* fix(requirements): revert removal of ffmpeg in unitest.yml and Dockerfile

* Revert "fix(requirements): revert removal of ffmpeg in unitest.yml and Dockerfile"

This reverts commit e28a0eebb2.

* feat(audio): pre-allocate numpy array to store the AudioFrame data in ndarray of dtype float32

* chore(format): run black on dev

* fix(audio): fix the decoded_audio size estimation

in estimated_total_samples we multiply by `sr` instead of `container.streams.audio[0].rate` since we want to estimate size of the OUTPUT file, not the input one. - Added dynamic resizing, in case something goes wrong and the size of decoded_audio is estimated incorrectly

Fixed function `load_audio` when the input audio's samplerate does not match the desired samplerate (`sr`)

* chore(format): run black on dev

* refactor(audio): remove `clean_path()` function as it serves no purpose anymore

* docs: remove everything related to ffmpeg

this includes everything except for formats support specification in the training_tips docs, since it has nothing to do with what ffmpeg does/did but rather what audio formats are supported (all the ones that ffmpeg supports!)

* docs: fix order of the steps in preparation in the READMEs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-12 20:13:26 +09:00
github-actions[bot]
da7dee427a chore(format): run black on dev (#30) 2024-06-11 13:11:10 +09:00
Alex Murkoff
9d699b1d99 perf: use hashing to determine the format in infer/lib/audio.py (#26) 2024-06-11 13:02:54 +09:00
Blaise
dc5c6809b3 fix: ValueError: mode must be 'r', 'w', or None, got: wb (#1991) 2024-04-21 21:15:58 +09:00
源文雨
4762e5bc21 feat(all): optimize hierarchy of files 2024-04-20 21:29:25 +09:00
github-actions[bot]
005f097fec chore(format): run black on main 2024-01-26 08:10:04 +00:00
RVC-Boss
d187257944 Update audio.py 2024-01-23 15:15:04 +08:00
github-actions[bot]
1696c5356b chore(sync): merge dev into main (#1399)
* Update mdxnet.py

* Update modules.py

* Rename preprocess.py to vr.py

* Add files via upload

* deps: add av lib (#1391)

* Add files via upload

* chore(format): run black on dev (#1398)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com>
Co-authored-by: Hiroto N <hironow365@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-08 18:54:58 +08:00
github-actions[bot]
a6456f6d46 Format code (#1193)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-14 09:34:30 +09:00
源文雨
94277fd71e optimize(ffmpeg): replace cmdline ffmpeg to pyav
except uvr5
2023-09-03 15:19:19 +08:00
Ftps
58e32b6def format 2023-08-28 16:08:31 +09:00
Ftps
3f3177b5ce load audio with gradio-file 2023-08-27 19:14:01 +09:00
Ftps
6721b81dcf replace lib 2023-08-19 20:00:56 +09:00