How akazdayo/autoyukkuri works
Key Components to Include:
Input/Output Processing Layer
• Input: Raw voice commentary video files (MP4)
• Output: YMM4 project files
• Sample directory connection
Core Processing Pipeline
• Voice Recognition Module (using Whisper AI)
• Text Processing Module
• YMM4 Project Generation Module
Configuration Management
• Default settings storage (default directory)
• Project configuration (project.json)
• Character configuration (chara.json)
• Items configuration (items.json)
Utility Components
• GUI/Popup interface (utils/popup.py)
• Testing framework (src/tests)
Main Flow (Top to Bottom)
• [Input Video] → [Voice Recognition] → [Text Processing] → [YMM4 Project Generation] → [Output Project]
Component Relationships
• Blue: Input/Output components
• Green: Processing components
• Yellow: Configuration components
• Gray: Utility components
Specific Implementation Details
• Relationship between src/app.py (main application) and other modules
• Clustering.py component for voice processing
• Generate.py module for project generation
• How hatsuon.py integrates for pronunciation processing
• Player.py's role in media handling
Technical Stack Indicators
• Python 3.8-3.11 runtime environment
• FFmpeg dependency
• Whisper AI integration
• GPU acceleration support (optional)
Configuration Flow
• [Default Configs] → [Runtime Settings] → [Processing Pipeline]
Key Architectural Considerations:
Modular Design
• Clear separation between core processing modules
• Configuration injection points
• Test coverage scope
Processing Pipeline
• Linear transformation flow
• Error handling paths
• Where user intervention points exist
Resource Management
• GPU/CPU processing paths
• Cache storage locations
• Temporary file handling
Use the following symbols:
• Rectangles: Processing modules
• Hexagons: Input/Output points
• Diamonds: Decision points
• Clouds: External services/dependencies
Remember to:
• Keep the main processing flow clear and central
• Configuration dependencies on the side
• Version information for critical dependencies
• Optional components (like GPU support)