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

optimize(rmvpe): move mel&stft into rvc

This commit is contained in:
源文雨
2024-06-12 17:29:23 +09:00
parent b4f7bbbe39
commit 22715eab7c
4 changed files with 276 additions and 213 deletions

View File

@@ -1,5 +1,5 @@
import torch
from infer.lib.rmvpe import STFT
from rvc.f0.stft import STFT
from torch.nn.functional import conv1d, conv2d
from typing import Union, Optional
from .utils import linspace, temperature_sigmoid, amp_to_db