| 20 | |
| 21 | |
| 22 | class BaseVocoder: |
| 23 | def spec2wav(self, mel): |
| 24 | """ |
| 25 | |
| 26 | :param mel: [T, 80] |
| 27 | :return: wav: [T'] |
| 28 | """ |
| 29 | |
| 30 | raise NotImplementedError |
| 31 | |
| 32 | @staticmethod |
| 33 | def wav2spec(wav_fn): |
| 34 | """ |
| 35 | |
| 36 | :param wav_fn: str |
| 37 | :return: wav, mel: [T, 80] |
| 38 | """ |
| 39 | raise NotImplementedError |
nothing calls this directly
no outgoing calls
no test coverage detected