mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-24 14:05:00 +03:00
10 lines
269 B
Python
10 lines
269 B
Python
from typing import Protocol
|
|
from const import EnumPitchExtractorTypes
|
|
|
|
|
|
class PitchExtractor(Protocol):
|
|
pitchExtractorType: EnumPitchExtractorTypes = EnumPitchExtractorTypes.harvest
|
|
|
|
def extract(self, audio, f0_up_key, sr, window, silence_front=0):
|
|
...
|