Migración completa a librería Reggaeton

Cambios realizados:
- server.py: actualiza PROJECT_SAMPLES_DIR a reggaeton
- sample_manager.py: cambia base_dir a reggaeton + agrega género reggaeton
- health_check.py: actualiza paths a reggaeton
- scan_audio.py: actualiza path a reggaeton
- segment_rag_builder.py: actualiza default library a reggaeton
- reference_stem_builder.py: actualiza PROJECT_SAMPLES_DIR a reggaeton
- song_generator.py: agrega GENRE_CONFIG y SECTION_BLUEPRINT para reggaeton
- rebuild_index.py: actualiza para apuntar a reggaeton

Nueva estructura soportada:
- 1. MIDI CHORDS / 2. MIDI ARP (MIDI files)
- 3. ONE SHOTS / 4. DRUM LOOPS
- 5. FX / 6. IMPACT INTRO / 7. FILL
- 8. KICKS / 9. SNARE / 10. PERCS
- 11. VOCALS
- reggaeton 2/ (bass, drumloops, fx, kick, oneshots, perc, snare)
- SentimientoLatino2025/ (drums, vocals, loops, one shots)

Index rebuilt: 508 samples
This commit is contained in:
renato97
2026-03-29 16:41:20 -03:00
parent 5b804dbc8c
commit f5be1309d2
9 changed files with 302 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
"""
rebuild_index.py - Reconstruir índice de embeddings para organized_samples
rebuild_index.py - Reconstruir índice de embeddings para reggaeton
"""
import sys
import logging
@@ -14,8 +14,8 @@ sys.path.insert(0, str(Path(__file__).parent / "MCP_Server"))
from vector_manager import VectorManager
def rebuild_index():
# Ruta correcta - organized_samples está en el root de MIDI Remote Scripts
library_path = Path("C:/ProgramData/Ableton/Live 12 Suite/Resources/MIDI Remote Scripts/librerias/organized_samples")
# Ruta correcta - reggaeton está en el root de MIDI Remote Scripts
library_path = Path("C:/ProgramData/Ableton/Live 12 Suite/Resources/MIDI Remote Scripts/librerias/reggaeton")
logger.info(f"Reconstruyendo indice para: {library_path}")
logger.info(f"La ruta existe: {library_path.exists()}")