- Moved TTS nodes into a dedicated 'nodes' directory for better organization. - Introduced a base class `NodeTTSBase` to handle common functionality for TTS nodes. - Added new TTS nodes: `TTS_KokoroNode`, `TTS_ChatterboxNode`, `TTS_StyleTTS2Node`, `TTS_KittenTTSNode`, `TTS_F5TTSNode`, and `TTS_GlobalPresetNode`. - Updated the main module to include mappings for new nodes and their display names. - Removed the old `tts_webui_openai_tts.py` file and integrated its functionality into the new structure. - Created utility functions for audio processing and file handling in the `utils` module. - Added unit tests for the `TTS_ChatterboxNode` to ensure functionality and reliability. - Deprecated the `_shared.py` module in favor of explicit per-node payloads and the new base class.
13 lines
289 B
Python
13 lines
289 B
Python
from .paths import get_output_directory
|
|
from .naming import _sanitize
|
|
from .files import _save_wav
|
|
from .audio_io import _wav_to_audio_obj, _wav_metadata
|
|
|
|
__all__ = [
|
|
"get_output_directory",
|
|
"_sanitize",
|
|
"_save_wav",
|
|
"_wav_to_audio_obj",
|
|
"_wav_metadata",
|
|
]
|