🎵 Major Additions: 📁 2000s Pop Project Templates: - Chords & melody patterns - Drum patterns and rhythms - Synth bass configurations - Effects and mixing guides - Complete project structure documentation 🧬 ALS Generation System: - Fixed ALS generator with enhanced capabilities - Setup scripts for easy deployment - Comprehensive README and documentation - Quick start guide for users - Utility commands reference 🎼 Musical Projects: - Salsa project (Hector Lavoe inspired) with full documentation - 2000s Pop project with complete production guide 🔧 Utility Scripts: - generate_salsa_project.py: Salsa-specific generator - generate_versioned_als.py: Versioned project generation - register_project.py: Project registration system This significantly expands MusiaIA's capabilities with pre-built project templates and production-ready examples for multiple genres! Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
87 lines
2.4 KiB
Bash
87 lines
2.4 KiB
Bash
#!/bin/bash
|
|
# Script de instalación y verificación del generador .als
|
|
|
|
echo "================================================================"
|
|
echo " Generador de Archivos .als - Instalación y Verificación"
|
|
echo "================================================================"
|
|
echo ""
|
|
|
|
# Verificar versión de Python
|
|
echo "✓ Verificando Python..."
|
|
python3 --version
|
|
if [ $? -eq 0 ]; then
|
|
echo " ✅ Python 3 encontrado"
|
|
else
|
|
echo " ❌ Python 3 no encontrado"
|
|
exit 1
|
|
fi
|
|
|
|
echo ""
|
|
|
|
# Verificar archivos principales
|
|
echo "✓ Verificando archivos del proyecto..."
|
|
files=("als_generator.py" "als_analyzer.py" "ejemplo_uso.py" "README.md")
|
|
for file in "${files[@]}"; do
|
|
if [ -f "$file" ]; then
|
|
echo " ✅ $file"
|
|
else
|
|
echo " ❌ $file no encontrado"
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
echo ""
|
|
|
|
# Verificar archivo original
|
|
echo "✓ Verificando archivo original..."
|
|
if [ -f "jukeblocks - Pop.als" ]; then
|
|
echo " ✅ jukeblocks - Pop.als"
|
|
else
|
|
echo " ⚠️ jukeblocks - Pop.als no encontrado (opcional)"
|
|
fi
|
|
|
|
echo ""
|
|
|
|
# Ejecutar prueba rápida
|
|
echo "✓ Ejecutando prueba rápida..."
|
|
python3 -c "
|
|
from als_generator import ALSGenerator
|
|
g = ALSGenerator()
|
|
tree = g.create_full_als('Test', 3, 8)
|
|
g.save_als(tree, 'test_generado.als')
|
|
print(' ✅ Prueba de generación exitosa')
|
|
"
|
|
|
|
if [ -f "test_generado.als" ]; then
|
|
echo " ✅ Archivo test_generado.als creado"
|
|
rm test_generado.als
|
|
else
|
|
echo " ❌ Error en la generación"
|
|
exit 1
|
|
fi
|
|
|
|
echo ""
|
|
|
|
# Ejecutar análisis
|
|
echo "✓ Ejecutando prueba de análisis..."
|
|
python3 als_analyzer.py "jukeblocks - Pop.als" info > /dev/null 2>&1
|
|
if [ $? -eq 0 ]; then
|
|
echo " ✅ Prueba de análisis exitosa"
|
|
else
|
|
echo " ⚠️ Prueba de análisis (requiere archivo jukeblocks - Pop.als)"
|
|
fi
|
|
|
|
echo ""
|
|
echo "================================================================"
|
|
echo " ✅ Instalación completa y verificada"
|
|
echo "================================================================"
|
|
echo ""
|
|
echo "Uso básico:"
|
|
echo " • Generar proyecto: python3 als_generator.py"
|
|
echo " • Analizar proyecto: python3 als_analyzer.py archivo.als"
|
|
echo " • Modificar proyecto: python3 als_analyzer.py archivo.als randomize-vel 70 127"
|
|
echo " • Ver ejemplos: python3 ejemplo_uso.py"
|
|
echo ""
|
|
echo "Documentación completa en: README.md"
|
|
echo "================================================================"
|