renato97
|
5b63d38945
|
Fix library diversity and auto-automation issues
Problem: System was stuck using single all_tracks folder, causing:
- No bucket sampling diversity (all files in 1 folder)
- Repetitive sample selection
- No coherence between sections
- Fades/volumes not auto-applied
Fixes:
1. Changed DEFAULT_LIBRARY from all_tracks to organized_samples
- server.py: Updated SAMPLES_DIR
- sample_manager.py: Updated base_dir
- health_check.py: Added organized_samples as primary paths
2. organized_samples structure enables T013 bucket sampling:
- loops/bass: 34 samples
- loops/synth: 43 samples
- loops/vocal: 24 samples
- oneshots/kick: 20 samples
- oneshots/perc: 35 samples
- Each subfolder < 15 files = perfect for bucket sampling
3. Added auto-automation to generate_song():
- Fade-in 4 bars for kick/bass/hat (intro)
- Build curve: music tracks 0.5 -> 0.9 (32-40 bars)
- Reverb automation: 0% -> 40% -> 0% on atmos/pad/vocal
- apply_automation parameter (default True)
4. Each track now gets diverse samples from different subfolders:
- Bass from loops/bass (34 options)
- Synth from loops/synth (43 options)
- Drums from oneshots/ (kick, perc, snare)
Coverage wheel will now track usage across 20+ subfolders instead of 1.
Diversity memory will work correctly with proper family tracking per folder.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-29 01:22:23 -03:00 |
|
renato97
|
4332ff65da
|
Implement FASE 3, 4, 6 - 15 new MCP tools, 76/110 tasks complete
FASE 3 - Human Feel & Dynamics (10/11 tasks):
- apply_clip_fades() - T041: Fade automation per section
- write_volume_automation() - T042: Curves (linear, exp, s_curve, punch)
- apply_sidechain_pump() - T045: Sidechain by intensity/style
- inject_pattern_fills() - T048: Snare rolls, fills by density
- humanize_set() - T050: Timing + velocity + groove automation
FASE 4 - Key Compatibility & Tonal (9/12 tasks):
- audio_key_compatibility.py: Full KEY_COMPATIBILITY_MATRIX
- analyze_key_compatibility() - T053: Harmonic compatibility scoring
- suggest_key_change() - T054: Circle of fifths modulation
- validate_sample_key() - T055: Sample key validation
- analyze_spectral_fit() - T057/T062: Spectral role matching
FASE 6 - Mastering & QA (8/13 tasks):
- calibrate_gain_staging() - T079: Auto gain by bus targets
- run_mix_quality_check() - T085: LUFS, peaks, L/R balance
- export_stem_mixdown() - T087: 24-bit/44.1kHz stem export
New files:
- audio_key_compatibility.py (T052)
- bus_routing_fix.py (T101-T104)
- validation_system_fix.py (T105-T106)
Total: 76/110 tasks (69%), 71 MCP tools exposed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-29 00:59:24 -03:00 |
|