c7c7123068
Concatenates 2-3 reference audio clips (with per-voice duration weights) to create a blended speaker embedding. Merges transcripts for ref_text. Handles mismatched sample rates and mono conversion automatically. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
743 B
Python
20 lines
743 B
Python
from .nodes import OmniVoiceModelLoader, OmniVoiceGenerate, OmniVoiceEpubLoader, OmniVoiceVoicePreset, OmniVoiceMixVoices
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"OmniVoiceModelLoader": OmniVoiceModelLoader,
|
|
"OmniVoiceGenerate": OmniVoiceGenerate,
|
|
"OmniVoiceEpubLoader": OmniVoiceEpubLoader,
|
|
"OmniVoiceVoicePreset": OmniVoiceVoicePreset,
|
|
"OmniVoiceMixVoices": OmniVoiceMixVoices,
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"OmniVoiceModelLoader": "OmniVoice Model Loader",
|
|
"OmniVoiceGenerate": "OmniVoice Generate",
|
|
"OmniVoiceEpubLoader": "OmniVoice EPUB Loader",
|
|
"OmniVoiceVoicePreset": "OmniVoice Voice Preset",
|
|
"OmniVoiceMixVoices": "OmniVoice Mix Voices",
|
|
}
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|