mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 21:45:00 +03:00
d5561c2212
- Add Crepe Full/Tiny (onnx) - remove test connect for local Refactor: - RVC: comment out module importer
13 lines
269 B
Python
13 lines
269 B
Python
from typing import Protocol
|
|
|
|
|
|
class PitchExtractor(Protocol):
|
|
|
|
def extract(self, audio, f0_up_key, sr, window, silence_front=0):
|
|
...
|
|
|
|
def getPitchExtractorInfo(self):
|
|
return {
|
|
"pitchExtractorType": self.pitchExtractorType,
|
|
}
|