Commit Graph
14 Commits
Author SHA1 Message Date
diodiogod 41bfffeefe Fix audio analyzer DOM layout and caching 2026-05-25 11:04:02 -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
diodiogodandClaude 14b41a2b69 Add speed reset to reset button and fake data warning
- Reset button now resets speed slider to 1x and restores audio settings
- Add warning banner when fake test data is detected
- Orange warning bar shows when duration=10.79s and empty samples detected

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 21:53:31 -03:00
diodiogodandClaude 4102602e5a Implement region grouping with smart density-responsive labeling
Features:
- Add group_regions_threshold parameter (0.000-3.000s, 1ms precision)
- Smart region grouping logic merges nearby/overlapping regions
- Modularize visualization into focused modules:
  * audio_analyzer_regions.js (188 lines) - region drawing & smart labeling
  * audio_analyzer_drawing.js (214 lines) - basic drawing utilities
  * audio_analyzer_visualization.js (286 lines) - core waveform rendering
- Density-responsive labels: hide when <80px per region, show when zoomed
- Preserve original colors for grouped regions via metadata
- Detailed grouping stats in analysis_info output

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 14:15:27 -03:00
diodiogodandClaude c98c9f544d Clean up debug console messages in Audio Analyzer
Comment out routine operational logs while preserving important error messages:
- Removed setup, positioning, and data loading debug logs
- Kept error handling and user-facing warnings
- Added debug labels for easy re-enabling during development
- Console output now clean with only essential information

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 08:59:06 -03:00
diodiogodandClaude de4e6e4c85 Implement adjustable peak detection with sensitivity controls
- Add peak_threshold, peak_min_distance, peak_region_size controls to Audio Analyzer node
- Fix broken peak detection algorithm: replace flat envelope with proper RMS downsampling
- Change from 20ms to 5ms windows for better peak resolution
- Add blue/cyan color for detected peak regions (vs green manual regions)
- Peak detection now works for percussion, sound effects, and emphasis detection

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 00:32:20 -03:00
diodiogodandClaude 7c8e92dfb1 Add multi-select regions and update tooltips
- Alt+click for additive multi-selection (orange regions)
- Single click for persistent highlighting (green regions)
- Delete works on both selection types
- Rename hoveredRegionIndex → highlightedRegionIndex for clarity
- Update comprehensive tooltips for all new features

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 22:58:17 -03:00
diodiogodandClaude 32cfc8ad1a Add interactive amplitude scaling with out-of-bounds dragging
- Drag amplitude labels (±0.8) on right side to resize waveform vertically
- Global mouse capture allows dragging outside canvas boundaries
- Scale range: 0.05x to 1.5x with real-time visual feedback
- Reset button now also resets amplitude scale to default
- Smooth cursor feedback (↕️) when hovering over amplitude area

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 22:15:07 -03:00
diodiogod 5f42839ac1 audio loops leybord fixed 2025-07-11 13:01:59 -03:00
Claude Code Assistant ccca6abf22 Fix audio playback ended event and animation loops
- Add proper ended event listener to actual audio element in interface
- Fix infinite animation loops after audio ends naturally
- Add multiple safeguards in updatePlayhead() for race conditions
- Stop both playhead and visualization animation loops on audio end
- Ensure play button resets to "Play" when audio finishes
- Copy audio files to ComfyUI input directory for web access

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 09:09:35 -03:00
Claude Code Assistant acfd84dd5c Fix blue waveform zoom behavior and modularize audio analyzer UI
- Refactored audio_analyzer_ui.js into modular components (880 → 174 lines)
- Created separate modules: controls, widgets, layout, visualization
- Fixed blue waveform to respect audio boundaries during zoom operations
- Blue waveform now shrinks and moves left when zooming out past audio duration
- Interface positioning and spacer widget implementation working correctly
- Restored multiline widgets for manual_regions and region_labels

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 07:38:04 -03:00
Claude Code Assistant 6228993509 stil trying to fix audio analyzer node size 2025-07-10 21:58:13 -03:00
Claude Code Assistant cd3c7718f7 feat: complete Audio Analyzer interactive waveform visualization
- Fix waveform data display with real audio (30s duration vs fake 10.79s)
- Implement working cache system using web directory for JS-Python data transfer
- Add green region overlays showing detected silence/speech segments
- Fix RMS line zoom/pan compatibility with different data structures
- Consolidate UI layout with single-row button arrangement
- Reduce container height to fit properly within ComfyUI nodes
- Clean up debug logging for better console output
- Implement robust error handling for visualization rendering

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 19:24:52 -03:00
diodiogod 25db27547c Audio Analizer node, initial, lading, working, but user interactive interface not working 2025-07-09 23:35:05 -03:00