Commit Graph
25 Commits
Author SHA1 Message Date
diodiogod 373983993d Move COMFYUI_REGRESSION_FINDINGS.md to proper docs location 2025-09-26 15:44:43 -03:00
diodiogod e129c5314b IndexTTS-2 implementation with modular character parser
MAJOR: IndexTTS-2 TTS engine integration
- Core IndexTTS engine with unified model interface integration
- Auto-downloader for HuggingFace models + GitHub source code
- Engine adapter with emotion support [Alice:angry_bob] syntax
- Cache integration for IndexTTS-2 parameters
- Factory registration for proper model management

MAJOR: Character parser modularization (930 → 300 lines each)
- Split into base_parser.py, language_resolver.py, segment_processor.py, validation.py
- Added emotion support with backward compatibility
- New split_by_character_with_emotions() method for advanced engines
- Flexible tag parsing: [de:Alice:angry_bob] support
- Language disambiguation to avoid Alice vs language code conflicts
- Full backward compatibility maintained

FEATURES:
- IndexTTS-2 emotion disentanglement (speaker vs emotion separation)
- Duration control and precise voice cloning
- Multi-modal emotion control (audio refs, text, vectors)
- Character switching with emotion references
- All official IndexTTS-2 parameters exposed

DOCS: Implementation plan and architectural TODO items added
2025-09-11 20:26:51 -03:00
diodiogod d01e5cb807 Refactor comfyui_model_wrapper.py into modular architecture
- Split 970-line monolith into focused modules following 500-600 line policy
- Created utils/models/comfyui_model_wrapper/ directory structure:
  - base_wrapper.py (302 lines): Core ComfyUIModelWrapper class
  - model_manager.py (318 lines): ComfyUITTSModelManager class
  - cache_utils.py (28 lines): Cache invalidation utilities
  - engine_handlers/: Engine-specific memory management
    - higgs_audio_handler.py: CUDA graph management and unload blocking
    - vibevoice_handler.py: RAM cleanup and complete deletion logic
    - generic_handler.py: Standard CPU migration for other engines
- Fixed engine routing bug where stateless_tts wrappers weren't using HiggsAudioHandler
- Maintained full backward compatibility with existing imports
- All engine-specific behaviors preserved (VibeVoice deletion, Higgs CUDA graphs)
- Updated PROJECT_INDEX.md to reflect modular structure
2025-09-11 14:57:52 -03:00
diodiogod 127f46e0ee Fix ChatterBox Official 23-Lang SRT processing implementation
- Complete SRT processor following Higgs Audio modular pattern
- Fixed cache system to recognize chatterbox_official_23lang engine type
- Corrected timing engine parameter format and method calls
- Fixed audio assembly to use assemble_smart_natural method
- Added key mapping for report generator compatibility
- Removed debug output for clean production logs
- Added comprehensive TODO.md documenting architectural inconsistencies
2025-09-05 11:35:16 -03:00
diodiogod 1ae879d134 Version 4.6.24
Update VibeVoice 7B to official Microsoft repository

Technical details:
- Change repo from WestZhang/VibeVoice-Large-pt to microsoft/VibeVoice-Large
- Update documentation and downloader references
- Maintain backward compatibility with existing installations
2025-09-01 10:44:16 -03:00
diodiogod 57330f9621 Version 4.5.30
Fix F5-TTS model name case sensitivity issue

- Fix uppercase V1 being rejected in model validation
- Add regex normalization for version numbers (V1 -> v1)
- Ensure backward compatibility with saved workflows
2025-08-28 23:31:52 -03:00
diodiogod b371c11b95 Version 4.5.27
Fix Higgs Audio model management with CUDA Graph compatibility toggle

Technical implementation:
- Add enable_cuda_graphs parameter to resolve CUDA Graph vs model unloading conflict
- Implement DynamicCache support for safe memory management mode
- Fix DynamicCache compatibility issues (reset, seq_length, copying)
- Add conditional cache creation and cleanup logic
- Update tooltip with accurate performance trade-offs (12 vs 55+ tok/s)
2025-08-28 17:41:42 -03:00
diodiogod 4197e73bb0 Improve version bump system with better dry-run and documentation
Technical improvements:
- Refactor version_utils.py to extract changelog generation logic
- Add preview_changelog_entry method for dry-run testing
- Enhance dry-run to show actual categorized changelog preview
- Fix code duplication by using shared content generation method

Documentation improvements:
- Consolidate version bump documentation in BUMP_SCRIPT_INSTRUCTIONS.md
- Add comprehensive multiline examples and auto-increment usage
- Add auto-categorization keyword explanations and writing tips
- Add troubleshooting section with common issues and solutions
- Remove redundant CLAUDE_VERSION_MANAGEMENT_GUIDE.md file
2025-08-27 20:19:47 -03:00
diodiogod f6a6cfb2f0 Fix Higgs Audio 2 engine integration issues
- Fix HiggsAudioEngineNode return type from HIGGS_AUDIO_ENGINE to TTS_ENGINE for unified node compatibility
- Remove duplicated parameters: seed, enable_cache, enable_chunking, max_tokens_per_chunk, silence_between_chunks_ms
- Keep engine-specific parameters: max_new_tokens (generation limit), voice_preset, audio_priority, system_prompt
- Update TTS Text node to pass max_chars_per_chunk to Higgs Audio adapter
- Maintain character-based chunking via ImprovedChatterBoxChunker with token-to-char conversion
- Preserve clean separation: universal parameters in TTS Text, engine-specific in Engine nodes

The Higgs Audio Engine Node now properly connects to unified TTS Text and TTS SRT nodes
while maintaining engine-specific generation parameters that other engines don't have.
2025-08-18 18:37:59 -03:00
diodiogod a8cddffd2b Clean up unused code and update PROJECT_INDEX.md with accurate architecture documentation
- Remove unused processor imports (adaptive_processor, continuous_worker_processor) from ChatterBox TTS engine
- Add genuinely used missing files to PROJECT_INDEX.md (smart_loader.py, audio_hash.py)
- Correct misleading parallel processing performance claims in architecture overview
- Add comprehensive POST_V4.2.3_DEVELOPMENT_REVIEW.md documenting 45 commits of architectural changes
- Clarify that sequential processing (batch_size=0) remains optimal despite streaming infrastructure
2025-08-12 22:42:34 -03:00
diodiogod 565a525121 Implement stateless ChatterBox wrapper for thread-safe parallel processing
- Created StatelessChatterBoxWrapper to eliminate shared state corruption
- Wrapper calculates conditions fresh for each generation (no self.conds)
- Updated streaming processor to use stateless wrapper with batch_size control
- Modified streaming model manager to provide stateless wrappers
- Updated SRT nodes to use stateless generation in streaming mode
- Added comprehensive tensor detaching to prevent autograd issues
- Initial testing shows parallel generation working without immediate crashes

Note: Requires extensive testing to confirm stability with high worker counts
2025-08-11 22:52:15 -03:00
diodiogod 5308ba8d5a Implement universal streaming system architecture
- Create universal streaming module in utils/streaming/
- Implement StreamingCoordinator to replace all format-specific routers
- Create universal StreamingSegment data structure (no more format conversions)
- Implement UniversalWorkQueueProcessor for engine-agnostic parallel processing
- Add ChatterBox streaming adapter preserving all existing functionality
- Add F5-TTS streaming adapter with language model switching support
- Document complete streaming integration plan in F5TTS_STREAMING_INTEGRATION_PLAN.md

This creates the foundation for eliminating the current spaghetti code where
each node type needs its own router and format conversions. The universal
system works with any engine through adapters while preserving all existing
functionality.
2025-08-10 11:30:44 -03:00
diodiogod 8a00983418 Remove unused dynamic_worker_manager.py and update streaming architecture docs
- Remove orphaned dynamic_worker_manager.py (never imported/used)
- Update PROJECT_INDEX.md to reflect file removal
- Enhance STREAMING_ARCHITECTURE.md with feasibility analysis for F5-TTS
- Document that StreamingWorkQueueProcessor is the active implementation
- Confirm streaming architecture is engine-extensible via adapter pattern
2025-08-10 02:40:29 -03:00
diodiogod ab8355ef83 Reorganize documentation files into Dev reports folder 2025-08-08 14:54:50 -03:00
diodiogod b83f718475 Enhance version bump script with separate commit/changelog descriptions and auto-increment
- Make separate commit/changelog descriptions the default (no more broken auto-categorization)
- Add auto-increment support: use 'patch', 'minor', 'major' instead of manual version numbers
- Fix categorization algorithm that was misclassifying bug fixes as Added items
- Add simple mode to bypass automatic categorization entirely
- Fix manual changelog entry for v3.4.2 (was previously miscategorized)
- Update documentation with new recommended usage patterns
2025-08-05 00:26:24 -03:00
diodiogod 29a3a1e513 Fix version bump script multiline parsing and update documentation
- Enhanced keyword matching with domain-specific terms for better categorization
- Added context-aware parsing for emoji section headers
- Fixed title skipping to prevent main description from being categorized
- Changed default from 'Fixed' to 'Added' for feature releases
- Corrected v3.4.0 changelog formatting manually
- Updated version management guide with script improvements and lessons learned
2025-08-02 15:29:31 -03:00
diodiogod 1f3fdc4d10 Version 3.0.7
Improve F5-TTS Edit parameter organization and fix RMS normalization
Move target_rms to advanced options as post_rms_normalization for clarity
Fix RMS normalization to preserve original segments volume
Remove non-functional speed parameter from edit mode
Add comprehensive parameter migration checklist documentation
2025-07-15 13:52:13 -03:00
diodiogod 1465084d69 Version 3.0.4: Fix ChatterBox import detection to find bundled packages 2025-07-14 22:11:41 -03:00
diodiogod 46a4373495 Fix Advanced Usage Examples in SRT_IMPLEMENTATION.md
- Replace confusing Python code snippets with actual ComfyUI usage instructions
- Convert Video Dubbing, Presentation Audio, and Voice Cloning examples to ComfyUI parameter settings
- Add clear 'Best for' descriptions and use cases for each timing mode
- Maintain Python code in Technical Implementation and API sections (appropriate for developers)
- Improve user experience by showing actual workflow steps instead of code
2025-07-14 12:18:37 -03:00
diodiogod 0534388094 Fix formatting issue in SRT_IMPLEMENTATION.md Basic Usage section
- Replace multi-line string with explicit newline characters in code example
- Prevents markdown rendering issues with nested quotes in code blocks
- Improves code clarity and cross-platform compatibility
2025-07-14 12:15:50 -03:00
diodiogod ee0d4aa6bd Complete restructure of SRT_IMPLEMENTATION.md documentation
Improvements:
- Fix code block formatting and typos (high-quality??, Lowesr quality, timming)
- Add comprehensive table of contents with anchor links
- Reorganize structure: Quick Start → Quick Reference → Usage → Technical Details
- Move examples and quick start to top for better user experience
- Add professional quick reference tables for timing modes and parameters
- Enhance API reference section with better code examples
- Improve troubleshooting section with clear problem/solution format
- Polish language and maintain professional tone throughout
- Add visual hierarchy with emojis and better formatting
- Backup original file as SRT_IMPLEMENTATION_OLD.md

The document now serves both as quick reference for experienced users and comprehensive guide for newcomers.
2025-07-14 12:04:30 -03:00
diodiogod c88b223144 Major README.md redesign and version management automation
README.md improvements:
- Remove template boilerplate and unused badge references
- Reorganize content with clear 'What's New' section highlighting v3.0+ features
- Add 5-minute Quick Start guide for immediate setup
- Replace text workflow examples with real downloadable files
- Add workflow placeholders for Audio Wave Analyzer + F5 Speech Edit workflows
- Fix SRT_IMPLEMENTATION.md path reference
- Better visual hierarchy and professional structure

Version management automation:
- Add automated version bumping scripts with multiline support
- Create comprehensive version management guide
- Support interactive mode, file input, and detailed changelog generation
- Automatic categorization of changelog entries (Added/Fixed/Changed/Removed)
- Rollback protection and validation
- Update CLAUDE.md to reference external documentation (token optimization)
2025-07-14 11:09:33 -03:00
diodiogod c0e565db9c Release v3.0.0: Complete F5-TTS and Audio Analyzer implementation
- Finalized F5-TTS integration with full node implementation
- Completed Audio Wave Analyzer with interactive waveform visualization
- Enhanced documentation and user guides
- Version bump to 3.0.0 reflecting major feature additions
2025-07-13 11:32:26 -03:00
diodiogod 7b44654250 Rename Audio Analyzer to Audio Wave Analyzer and fix F5-TTS nfe_step bug
- Renamed '🎵 Audio Analyzer' to '🌊 Audio Wave Analyzer' throughout project
- Updated all node display names, tooltips, documentation, and web interface
- Preserved class names and internal identifiers for ComfyUI compatibility
- Fixed nfe_step bug in F5-TTS nodes: limited max value to 71 to prevent ODE solver issues
- Added validation clamping and warning messages in F5-TTS Node and F5-TTS Edit Node
- Updated tooltips to warn about ODE solver issues above 71
2025-07-13 01:02:08 -03:00
diodiogod 232d423381 update files 2025-07-12 23:42:45 -03:00