Initial commit: AbletonMCP-AI complete system

- MCP Server with audio fallback, sample management
- Song generator with bus routing
- Reference listener and audio resampler
- Vector-based sample search
- Master chain with limiter and calibration
- Fix: Audio fallback now works without M4L
- Fix: Full song detection in sample loader

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
renato97
2026-03-28 22:53:10 -03:00
commit 6ec8663954
120 changed files with 59101 additions and 0 deletions

View File

@@ -0,0 +1,401 @@
{
"benchmark_info": {
"library_dir": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks",
"top_n": 3,
"roles": [
"kick",
"snare",
"hat",
"bass_loop",
"vocal_loop",
"top_loop"
],
"timestamp": "2026-03-20T16:36:16",
"device": "directml"
},
"references": [
{
"file_name": "Mr. Pauer, Goyo - Química (Video Oficial).mp3",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\sample\\Mr. Pauer, Goyo - Química (Video Oficial).mp3",
"analysis_time_seconds": 3.09,
"reference_info": {
"tempo": 123.047,
"key": "Cm",
"duration": 145.31,
"rms_mean": 0.17201,
"onset_mean": 1.956218,
"spectral_centroid": 2465.478
},
"sections": [
{
"kind": "verse",
"start": 0.0,
"end": 14.954,
"bars": 8
},
{
"kind": "build",
"start": 14.954,
"end": 37.779,
"bars": 12
},
{
"kind": "verse",
"start": 37.779,
"end": 46.811,
"bars": 5
},
{
"kind": "verse",
"start": 46.811,
"end": 54.822,
"bars": 4
},
{
"kind": "drop",
"start": 54.822,
"end": 62.833,
"bars": 4
},
{
"kind": "build",
"start": 62.833,
"end": 70.844,
"bars": 4
},
{
"kind": "verse",
"start": 70.844,
"end": 92.415,
"bars": 11
},
{
"kind": "build",
"start": 92.415,
"end": 101.03,
"bars": 4
},
{
"kind": "verse",
"start": 101.03,
"end": 109.041,
"bars": 4
},
{
"kind": "build",
"start": 109.041,
"end": 117.098,
"bars": 4
},
{
"kind": "outro",
"start": 117.098,
"end": 125.109,
"bars": 4
},
{
"kind": "outro",
"start": 125.109,
"end": 133.422,
"bars": 4
},
{
"kind": "outro",
"start": 133.422,
"end": 141.433,
"bars": 4
}
],
"role_candidates": {
"kick": {
"total_available": 16,
"top_candidates": [
{
"rank": 1,
"file_name": "BBH - Primer Impacto - Kick 5.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\BBH - Primer Impacto - Kick 5.wav",
"score": 0.658173,
"cosine": 0.677478,
"segment_score": 0.807539,
"catalog_score": 0.540981,
"tempo": 117.454,
"key": "Gm",
"duration": 0.5
},
{
"rank": 2,
"file_name": "BBH - Primer Impacto - Kick 1.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\BBH - Primer Impacto - Kick 1.wav",
"score": 0.650067,
"cosine": 0.633787,
"segment_score": 0.771427,
"catalog_score": 0.540981,
"tempo": 117.454,
"key": "Am",
"duration": 0.5
},
{
"rank": 3,
"file_name": "BBH - Primer Impacto - Kick 8.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\BBH - Primer Impacto - Kick 8.wav",
"score": 0.642297,
"cosine": 0.689128,
"segment_score": 0.809562,
"catalog_score": 0.5,
"tempo": 258.398,
"key": "Fm",
"duration": 0.484
}
]
},
"snare": {
"total_available": 28,
"top_candidates": [
{
"rank": 1,
"file_name": "MT Clap & Snare Hit 05.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\MT Clap & Snare Hit 05.wav",
"score": 0.642515,
"cosine": 0.742869,
"segment_score": 0.87862,
"catalog_score": 0.529168,
"tempo": 258.398,
"key": "Dm",
"duration": 0.72
},
{
"rank": 2,
"file_name": "MT Clap & Snare Hit 15.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\MT Clap & Snare Hit 15.wav",
"score": 0.623005,
"cosine": 0.754711,
"segment_score": 0.800798,
"catalog_score": 0.518602,
"tempo": 234.908,
"key": "Dm",
"duration": 0.642
},
{
"rank": 3,
"file_name": "BBH - Primer Impacto - Clap 1.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\BBH - Primer Impacto - Clap 1.wav",
"score": 0.621014,
"cosine": 0.780775,
"segment_score": 0.805699,
"catalog_score": 0.528549,
"tempo": 117.454,
"key": "A#m",
"duration": 0.545
}
]
},
"hat": {
"total_available": 32,
"top_candidates": [
{
"rank": 1,
"file_name": "BBH - Primer Impacto - Open Hat 2.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\BBH - Primer Impacto - Open Hat 2.wav",
"score": 0.602448,
"cosine": 0.750913,
"segment_score": 0.789455,
"catalog_score": 0.539635,
"tempo": 258.398,
"key": "Cm",
"duration": 0.625
},
{
"rank": 2,
"file_name": "BBH - Primer Impacto - Open Hat 9.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\BBH - Primer Impacto - Open Hat 9.wav",
"score": 0.592739,
"cosine": 0.764186,
"segment_score": 0.682635,
"catalog_score": 0.5,
"tempo": 258.398,
"key": "Gm",
"duration": 0.38
},
{
"rank": 3,
"file_name": "MT Hat Hit 04.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\MT Hat Hit 04.wav",
"score": 0.55811,
"cosine": 0.747485,
"segment_score": 0.747228,
"catalog_score": 0.5,
"tempo": 135.999,
"key": "G",
"duration": 0.233
}
]
},
"bass_loop": {
"total_available": 37,
"top_candidates": [
{
"rank": 1,
"file_name": "Bass_Loop_03_G#m_125.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\Bass_Loop_03_G#m_125.wav",
"score": 0.877488,
"cosine": 0.803278,
"segment_score": 0.883592,
"catalog_score": 0.617711,
"tempo": 123.047,
"key": "Cm",
"duration": 7.68
},
{
"rank": 2,
"file_name": "BBH - Primer Impacto - Bass Loop 06 Dmin.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\BBH - Primer Impacto - Bass Loop 06 Dmin.wav",
"score": 0.82587,
"cosine": 0.698374,
"segment_score": 0.799662,
"catalog_score": 0.890835,
"tempo": 123.047,
"key": "Dm",
"duration": 3.84
},
{
"rank": 3,
"file_name": "Bass_Loop_05_Cm_125.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\Bass_Loop_05_Cm_125.wav",
"score": 0.818811,
"cosine": 0.695605,
"segment_score": 0.883218,
"catalog_score": 0.617711,
"tempo": 63.024,
"key": "C",
"duration": 7.68
}
]
},
"vocal_loop": {
"total_available": 24,
"top_candidates": [
{
"rank": 1,
"file_name": "MT Vocal Loop 12 125.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\MT Vocal Loop 12 125.wav",
"score": 0.932334,
"cosine": 0.827361,
"segment_score": 0.923902,
"catalog_score": 0.999437,
"tempo": 123.047,
"key": "D#",
"duration": 1.92
},
{
"rank": 2,
"file_name": "MT Vocal Loop 11 125.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\MT Vocal Loop 11 125.wav",
"score": 0.921701,
"cosine": 0.832834,
"segment_score": 0.920162,
"catalog_score": 0.948909,
"tempo": 123.047,
"key": "D#m",
"duration": 1.92
},
{
"rank": 3,
"file_name": "MT Vocal Loop 02 128.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\MT Vocal Loop 02 128.wav",
"score": 0.862394,
"cosine": 0.845787,
"segment_score": 0.954025,
"catalog_score": 0.882953,
"tempo": 123.047,
"key": "G#m",
"duration": 3.75
}
]
},
"top_loop": {
"total_available": 144,
"top_candidates": [
{
"rank": 1,
"file_name": "Top_Loop_11_Any_125.wav",
"path": "C:\\ProgramData\\Ableton\\Live 12 Suite\\Resources\\MIDI Remote Scripts\\librerias\\all_tracks\\Top_Loop_11_Any_125.wav",
"score": 0.906089,
"cosine": 0.752537,
"segment_score": 0.768995,
"catalog_score": 0.859437,
"tempo": 123.047,
"key": "Cm",
"duration": 7.68
},
{
"rank": 2,
"file_name": "drum_loop_21_am_125.wav",
"path": "c:\\programdata\\ableton\\live 12 suite\\resources\\midi remote scripts\\librerias\\all_tracks\\drum_loop_21_am_125.wav",
"score": 0.893566,
"cosine": 0.813975,
"segment_score": 0.954219,
"catalog_score": 0.799711,
"tempo": 123.047,
"key": "A#m",
"duration": 7.68
},
{
"rank": 3,
"file_name": "drum_loop_23_am_125.wav",
"path": "c:\\programdata\\ableton\\live 12 suite\\resources\\midi remote scripts\\librerias\\all_tracks\\drum_loop_23_am_125.wav",
"score": 0.887869,
"cosine": 0.822104,
"segment_score": 0.94301,
"catalog_score": 0.799711,
"tempo": 123.047,
"key": "A#m",
"duration": 7.68
}
]
}
}
}
],
"contamination_analysis": {
"cross_role_files": [],
"potential_mismatches": [],
"role_score_stats": {
"kick": {
"min": 0.6423,
"max": 0.6582,
"avg": 0.6502,
"count": 3
},
"snare": {
"min": 0.621,
"max": 0.6425,
"avg": 0.6288,
"count": 3
},
"hat": {
"min": 0.5581,
"max": 0.6024,
"avg": 0.5844,
"count": 3
},
"bass_loop": {
"min": 0.8188,
"max": 0.8775,
"avg": 0.8407,
"count": 3
},
"vocal_loop": {
"min": 0.8624,
"max": 0.9323,
"avg": 0.9055,
"count": 3
},
"top_loop": {
"min": 0.8879,
"max": 0.9061,
"avg": 0.8958,
"count": 3
}
}
}
}