|
|
2 жил өмнө | |
|---|---|---|
| .. | ||
| README.md | 2 жил өмнө | |
| __init__.py | 2 жил өмнө | |
| audio_to_units.py | 2 жил өмнө | |
Raw audio needs to be converted to units to train UnitY models and vocoders. Units act as supervision for UnitY models, and are the input to the vocoders which synthesize speech from these units.
The unit extraction pipeline comprises the following steps:
audio_to_units is run with the CLI, from the root directory of the repository.
m4t_audio_to_units <path_to_input_audio>
audio_to_units calls for UnitExtractor which provides a predict method to convert an audio to units.
The convenience method resynthesize_audio of UnitExtractor, can be used to resynthesize audio waveforms from units.