Batch
✏ Nouveau batch…
Scope
output/batches/batch_20260606/

🔀 Étape 10 — Merge catalogue

Les 9 premières étapes sont terminées. Veux-tu appliquer le merge dans le catalogue ?

📡
Scan bibliothèque NAS
scan_music_library_parallel.py — analyse BPM, énergie, potentiel boucle
Scanne \\NasMaison\music en parallèle. Produit library_scan_*.csv dans output/. Durée estimée : ~20 min pour 3000 fichiers avec 16 workers.
✓ terminé (exit 0)
==================================================================================================== DropMix Reborn - Scan parall?le avec reprise ==================================================================================================== R?pertoire : \\NasMaison\music\metallica Workers CPU : 16 Deep loop check : False Mode reprise : False Fichier reprise : C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\resume___NasMaison_music_metallica.jsonl Autosave tous les : 25 nouveaux fichiers 33 fichier(s) audio trouv?(s). Fichiers d?j? trait?s saut?s : 0 Fichiers restant ? analyser : 33 [1/33] new=1/33 v2=0.454 old=0.6488 tempo=151.999 action=skip_for_now 01. The Ecstasy Of Gold [Live].mp3 | 0.02 nouveaux fichiers/s | ETA 27.0 min [2/33] new=2/33 v2=0.6699 old=0.7393 tempo=129.199 action=manual_review_later 03. For Whom The Bell Tolls [Live].mp3 | 0.03 nouveaux fichiers/s | ETA 14.9 min [3/33] new=3/33 v2=0.7119 old=0.7744 tempo=99.384 action=manual_review_later 10 My Apocalypse.mp3 | 0.05 nouveaux fichiers/s | ETA 10.0 min [4/33] new=4/33 v2=0.596 old=0.6819 tempo=80.75 action=skip_for_now 05. The Memory Remains [Live].mp3 | 0.06 nouveaux fichiers/s | ETA 7.6 min [5/33] new=5/33 v2=0.7009 old=0.7657 tempo=123.047 action=manual_review_later 03 Broken, Beat & Scarred.mp3 | 0.08 nouveaux fichiers/s | ETA 6.2 min [6/33] new=6/33 v2=0.7054 old=0.7708 tempo=129.199 action=manual_review_later 06 Cyanide.mp3 | 0.09 nouveaux fichiers/s | ETA 5.0 min [7/33] new=7/33 v2=0.6872 old=0.7549 tempo=129.199 action=manual_review_later 06. Confusion [Live].mp3 | 0.10 nouveaux fichiers/s | ETA 4.2 min [8/33] new=8/33 v2=0.6876 old=0.7596 tempo=95.703 action=manual_review_later 01 That Was Just Your Life.mp3 | 0.12 nouveaux fichiers/s | ETA 3.6 min [9/33] new=9/33 v2=0.6954 old=0.6766 tempo=135.999 action=manual_review_later 03. Intro To The Iron Foundry [Live].mp3 | 0.13 nouveaux fichiers/s | ETA 3.2 min [10/33] new=10/33 v2=0.6082 old=0.7335 tempo=123.047 action=skip_for_now 07 The Unforgiven III.mp3 | 0.14 nouveaux fichiers/s | ETA 2.8 min [11/33] new=11/33 v2=0.6865 old=0.7605 tempo=103.359 action=manual_review_later 02 The End Of The Line.mp3 | 0.15 nouveaux fichiers/s | ETA 2.4 min [12/33] new=12/33 v2=0.6725 old=0.7509 tempo=129.199 action=manual_review_later 04 The Day That Never Comes.mp3 | 0.16 nouveaux fichiers/s | ETA 2.1 min [13/33] new=13/33 v2=0.6924 old=0.5779 tempo=184.57 action=manual_review_later 05 All Nightmare Long.mp3 | 0.18 nouveaux fichiers/s | ETA 1.9 min [14/33] new=14/33 v2=0.6677 old=0.7074 tempo=89.103 action=manual_review_later 08 The Judas Kiss.mp3 | 0.19 nouveaux fichiers/s | ETA 1.7 min [15/33] new=15/33 v2=0.6868 old=0.6918 tempo=92.285 action=manual_review_later 07. Moth Into Flame [Live].mp3 | 0.20 nouveaux fichiers/s | ETA 1.5 min [16/33] new=16/33 v2=0.6419 old=0.6786 tempo=135.999 action=skip_for_now 04. The Day That Never Comes [Live].mp3 | 0.21 nouveaux fichiers/s | ETA 1.3 min [17/33] new=17/33 v2=0.5899 old=0.6682 tempo=135.999 action=skip_for_now 02. The Call Of Ktulu [Live].mp3 | 0.22 nouveaux fichiers/s | ETA 1.2 min [18/33] new=18/33 v2=0.5974 old=0.6175 tempo=161.499 action=skip_for_now 09 Suicide & Redemption.mp3 | 0.22 nouveaux fichiers/s | ETA 1.1 min [19/33] new=19/33 v2=0.6227 old=0.7389 tempo=117.454 action=skip_for_now 02. Prokofiev Scythian Suite, Op. 20 II The Enemy God And The Dance Of The Dark Spirits [Live].mp3 | 0.23 nouveaux fichiers/s | ETA 1.0 min [20/33] new=20/33 v2=0.4875 old=0.675 tempo=151.999 action=skip_for_now 09. No Leaf Clover [Live].mp3 | 0.24 nouveaux fichiers/s | ETA 0.9 min [21/33] new=21/33 v2=0.6357 old=0.7497 tempo=129.199 action=skip_for_now 04. Mosolov The Iron Foundry, Op. 19 [Live].mp3 | 0.24 nouveaux fichiers/s | ETA 0.8 min [22/33] new=22/33 v2=0.6825 old=0.753 tempo=117.454 action=manual_review_later 01. Intro To Scythian Suite [Live].mp3 | 0.25 nouveaux fichiers/s | ETA 0.7 min [23/33] new=23/33 v2=0.6148 old=0.7328 tempo=117.454 action=skip_for_now 06. All Within My Hands [Live].mp3 | 0.24 nouveaux fichiers/s | ETA 0.7 min [24/33] new=24/33 v2=0.6404 old=0.677 tempo=135.999 action=skip_for_now 10. Halo On Fire [Live].mp3 | 0.25 nouveaux fichiers/s | ETA 0.6 min [25/33] new=25/33 v2=0.6784 old=0.7116 tempo=89.103 action=manual_review_later Sad but True.mp3 | 0.26 nouveaux fichiers/s | ETA 0.5 min >>> Autosave : 25 lignes | C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\resume___NasMaison_music_metallica_autosave.csv | C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\resume___NasMaison_music_metallica_autosave.json [26/33] new=26/33 v2=0.5618 old=0.746 tempo=129.199 action=skip_for_now 08. The Outlaw Torn [Live].mp3 | 0.27 nouveaux fichiers/s | ETA 0.4 min [27/33] new=27/33 v2=0.6483 old=0.6776 tempo=135.999 action=skip_for_now 08. Wherever I May Roam [Live].mp3 | 0.28 nouveaux fichiers/s | ETA 0.4 min [28/33] new=28/33 v2=0.4679 old=0.6615 tempo=151.999 action=skip_for_now 11. Nothing Else Matters [Live].mp3 | 0.28 nouveaux fichiers/s | ETA 0.3 min [29/33] new=29/33 v2=0.6007 old=0.7241 tempo=103.359 action=skip_for_now 07. (Anesthesia) Pulling Teeth [Live].mp3 | 0.29 nouveaux fichiers/s | ETA 0.2 min [30/33] new=30/33 v2=0.5906 old=0.7193 tempo=123.047 action=skip_for_now 05. The Unforgiven III [Live].mp3 | 0.30 nouveaux fichiers/s | ETA 0.2 min [31/33] new=31/33 v2=0.6565 old=0.7364 tempo=112.347 action=skip_for_now 10. Master Of Puppets [Live].mp3 | 0.30 nouveaux fichiers/s | ETA 0.1 min [32/33] new=32/33 v2=0.6692 old=0.7459 tempo=129.199 action=manual_review_later 12. Enter Sandman [Live].mp3 | 0.31 nouveaux fichiers/s | ETA 0.1 min [33/33] new=33/33 v2=0.612 old=0.7333 tempo=123.047 action=skip_for_now 09. One [Live].mp3 | 0.31 nouveaux fichiers/s | ETA 0.0 min ?criture des sorties finales/autosave ? partir des r?sultats disponibles... ==================================================================================================== R?sum? scan ==================================================================================================== Total fichiers trouv?s : 33 Total r?sultats disponibles : 33 Nouveaux fichiers ce run : 33 Dur?e de ce run : 1.76 min Fichier reprise JSONL : C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\resume___NasMaison_music_metallica.jsonl CSV autosave : C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\resume___NasMaison_music_metallica_autosave.csv JSON autosave : C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\resume___NasMaison_music_metallica_autosave.json Scan complet termin?. CSV final : C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\library_scan_20260606_231855.csv JSON final : C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\library_scan_20260606_231855.json Top 20 DropMix candidates V2 : 01. v2=0.7119 old=0.7744 tempo=99.384 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Death Magnetic\10 My Apocalypse.mp3 02. v2=0.7054 old=0.7708 tempo=129.199 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Death Magnetic\06 Cyanide.mp3 03. v2=0.7009 old=0.7657 tempo=123.047 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Death Magnetic\03 Broken, Beat & Scarred.mp3 04. v2=0.6954 old=0.6766 tempo=135.999 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Metallica & The San Francisco Symphony - S&M2 (2020)\CD 2\03. Intro To The Iron Foundry [Live].mp3 05. v2=0.6924 old=0.5779 tempo=184.57 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Death Magnetic\05 All Nightmare Long.mp3 06. v2=0.6876 old=0.7596 tempo=95.703 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Death Magnetic\01 That Was Just Your Life.mp3 07. v2=0.6872 old=0.7549 tempo=129.199 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Metallica & The San Francisco Symphony - S&M2 (2020)\CD 1\06. Confusion [Live].mp3 08. v2=0.6868 old=0.6918 tempo=92.285 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Metallica & The San Francisco Symphony - S&M2 (2020)\CD 1\07. Moth Into Flame [Live].mp3 09. v2=0.6865 old=0.7605 tempo=103.359 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Death Magnetic\02 The End Of The Line.mp3 10. v2=0.6825 old=0.753 tempo=117.454 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Metallica & The San Francisco Symphony - S&M2 (2020)\CD 2\01. Intro To Scythian Suite [Live].mp3 11. v2=0.6784 old=0.7116 tempo=89.103 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Unknown Album\Sad but True.mp3 12. v2=0.6725 old=0.7509 tempo=129.199 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Death Magnetic\04 The Day That Never Comes.mp3 13. v2=0.6699 old=0.7393 tempo=129.199 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Metallica & The San Francisco Symphony - S&M2 (2020)\CD 1\03. For Whom The Bell Tolls [Live].mp3 14. v2=0.6692 old=0.7459 tempo=129.199 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Metallica & The San Francisco Symphony - S&M2 (2020)\CD 2\12. Enter Sandman [Live].mp3 15. v2=0.6677 old=0.7074 tempo=89.103 action=manual_review_later hint=manual_listen \\NasMaison\music\metallica\Death Magnetic\08 The Judas Kiss.mp3 16. v2=0.6565 old=0.7364 tempo=112.347 action=skip_for_now hint=manual_listen \\NasMaison\music\metallica\Metallica & The San Francisco Symphony - S&M2 (2020)\CD 2\10. Master Of Puppets [Live].mp3 17. v2=0.6483 old=0.6776 tempo=135.999 action=skip_for_now hint=manual_listen \\NasMaison\music\metallica\Metallica & The San Francisco Symphony - S&M2 (2020)\CD 2\08. Wherever I May Roam [Live].mp3 18. v2=0.6419 old=0.6786 tempo=135.999 action=skip_for_now hint=manual_listen \\NasMaison\music\metallica\Metallica & The San Francisco Symphony - S&M2 (2020)\CD 1\04. The Day That Never Comes [Live].mp3 19. v2=0.6404 old=0.677 tempo=135.999 action=skip_for_now hint=manual_listen \\NasMaison\music\metallica\Metallica & The San Francisco Symphony - S&M2 (2020)\CD 1\10. Halo On Fire [Live].mp3 20. v2=0.6357 old=0.7497 tempo=129.199 action=skip_for_now hint=green_vocal_or_yellow_melodic_manual \\NasMaison\music\metallica\Metallica & The San Francisco Symphony - S&M2 (2020)\CD 2\04. Mosolov The Iron Foundry, Op. 19 [Live].mp3
⚖️
Recalibrage des scores V2
recalibrate_scan_csv.py — scoring plus musical, corrige tempo half/double
Prend le CSV du scan, applique le scoring dropmix_score_v2 (pondération boucle + tempo + onset) et corrige les tempos détectés en half/double-time. Produit *_recalibrated_v2.csv.
✓ terminé (exit 0)
C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\scripts\recalibrate_scan_csv.py:5: SyntaxWarning: invalid escape sequence '\l' """ Recalibrage termin?. CSV : C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\batches\metallica\library_scan_20260606_231855_recalibrated_v2.csv JSON : C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\batches\metallica\library_scan_20260606_231855_recalibrated_v2.json TXT : C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\batches\metallica\library_scan_20260606_231855_recalibrated_v2_summary.txt R?partition V2 : - manual_review_later: 15 - skip_for_now: 18 Top 15 V2 : 01. v2=0.7119 old=0.7744 10 My Apocalypse.mp3 02. v2=0.7054 old=0.7708 06 Cyanide.mp3 03. v2=0.7009 old=0.7657 03 Broken, Beat & Scarred.mp3 04. v2=0.6954 old=0.6766 03. Intro To The Iron Foundry [Live].mp3 05. v2=0.6924 old=0.5779 05 All Nightmare Long.mp3 06. v2=0.6876 old=0.7596 01 That Was Just Your Life.mp3 07. v2=0.6872 old=0.7549 06. Confusion [Live].mp3 08. v2=0.6868 old=0.6918 07. Moth Into Flame [Live].mp3 09. v2=0.6865 old=0.7605 02 The End Of The Line.mp3 10. v2=0.6825 old=0.753 01. Intro To Scythian Suite [Live].mp3 11. v2=0.6784 old=0.7116 Sad but True.mp3 12. v2=0.6725 old=0.7509 04 The Day That Never Comes.mp3 13. v2=0.6699 old=0.7393 03. For Whom The Bell Tolls [Live].mp3 14. v2=0.6692 old=0.7459 12. Enter Sandman [Live].mp3 15. v2=0.6677 old=0.7074 08 The Judas Kiss.mp3
🎯
Sélection top candidats
select_top_candidates.py — filtre par score minimum
✓ terminé (exit 0)
Source : C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\batches\metallica\library_scan_20260606_231855_recalibrated_v2.csv Morceaux lus : 33 Morceaux avec score >= 0.56 : 30 Top export? : 30 CSV : C:\Users\pmaro\PycharmProjects\PythonProject\DropMixv2026\output\batches\metallica\top_candidates.csv Top candidats : 01. v2=0.7119 tempo=99.384 action=manual_review_later 10 My Apocalypse.mp3 02. v2=0.7054 tempo=129.199 action=manual_review_later 06 Cyanide.mp3 03. v2=0.7009 tempo=123.047 action=manual_review_later 03 Broken, Beat & Scarred.mp3 04. v2=0.6954 tempo=135.999 action=manual_review_later 03. Intro To The Iron Foundry [Live].mp3 05. v2=0.6924 tempo=184.57 action=manual_review_later 05 All Nightmare Long.mp3 06. v2=0.6876 tempo=95.703 action=manual_review_later 01 That Was Just Your Life.mp3 07. v2=0.6872 tempo=129.199 action=manual_review_later 06. Confusion [Live].mp3 08. v2=0.6868 tempo=92.285 action=manual_review_later 07. Moth Into Flame [Live].mp3 09. v2=0.6865 tempo=103.359 action=manual_review_later 02 The End Of The Line.mp3 10. v2=0.6825 tempo=117.454 action=manual_review_later 01. Intro To Scythian Suite [Live].mp3 11. v2=0.6784 tempo=89.103 action=manual_review_later Sad but True.mp3 12. v2=0.6725 tempo=129.199 action=manual_review_later 04 The Day That Never Comes.mp3 13. v2=0.6699 tempo=129.199 action=manual_review_later 03. For Whom The Bell Tolls [Live].mp3 14. v2=0.6692 tempo=129.199 action=manual_review_later 12. Enter Sandman [Live].mp3 15. v2=0.6677 tempo=89.103 action=manual_review_later 08 The Judas Kiss.mp3 16. v2=0.6565 tempo=112.347 action=skip_for_now 10. Master Of Puppets [Live].mp3 17. v2=0.6483 tempo=135.999 action=skip_for_now 08. Wherever I May Roam [Live].mp3 18. v2=0.6419 tempo=135.999 action=skip_for_now 04. The Day That Never Comes [Live].mp3 19. v2=0.6404 tempo=135.999 action=skip_for_now 10. Halo On Fire [Live].mp3 20. v2=0.6357 tempo=129.199 action=skip_for_now 04. Mosolov The Iron Foundry, Op. 19 [Live].mp3 21. v2=0.6227 tempo=117.454 action=skip_for_now 02. Prokofiev Scythian Suite, Op. 20 II The Enemy God And The Dance Of The Dark Spirits [Live].mp3 22. v2=0.6148 tempo=117.454 action=skip_for_now 06. All Within My Hands [Live].mp3 23. v2=0.612 tempo=123.047 action=skip_for_now 09. One [Live].mp3 24. v2=0.6082 tempo=123.047 action=skip_for_now 07 The Unforgiven III.mp3 25. v2=0.6007 tempo=103.359 action=skip_for_now 07. (Anesthesia) Pulling Teeth [Live].mp3 26. v2=0.5974 tempo=161.499 action=skip_for_now 09 Suicide & Redemption.mp3 27. v2=0.596 tempo=80.75 action=skip_for_now 05. The Memory Remains [Live].mp3 28. v2=0.5906 tempo=123.047 action=skip_for_now 05. The Unforgiven III [Live].mp3 29. v2=0.5899 tempo=135.999 action=skip_for_now 02. The Call Of Ktulu [Live].mp3 30. v2=0.5618 tempo=129.199 action=skip_for_now 08. The Outlaw Torn [Live].mp3
📦
Batch détection (build_production_batch)
build_production_batch.py — génère les commandes detect par morceau
Génère batch30_detect_loop_commands.ps1 et les CSV de sélection. Le .ps1 contient une commande detect_loop_candidates par morceau.
🔍
Détection de boucles
detect_loop_candidates.py — extrait les meilleures boucles d'un morceau
Auto-Refine parallèle
auto_refine_loop_candidates_parallel.py — affine les points de coupe
🎵
Score musical V2
score_refined_loops_v2.py — répétabilité, pulse, stabilité, attaque
Produit refined_musical_score_v2_report.csv et .json dans output/. Les recommandations : validate_first ≥0.82 · validate_later ≥0.74 · manual_review ≥0.66.
🚀
Validation auto + Demucs GPU
auto_validate_best_loops_and_demucs.py — copie les meilleures + séparation stems
Lit output/best_refined_per_song.csv, copie les WAV dans output/validated_loops/ et lance Demucs GPU (RTX 5090). Durée ~2 min/morceau en htdemucs_6s.
🥁
Analyse Beatgrid
analyze_validated_beatgrid_offsets.py — détecte l'offset rythmique de chaque boucle
Analyse les boucles validées dans output/validated_loops/. Priorité audio : drums → bass → other. Recommande correction si |offset| ≥ 15ms et confiance ≥ 0.45.
🔀
Merge dans le catalogue
merge_batch_to_catalog.py — fusion non-destructive avec vérification des doublons
Fusionne output/batches/{batch}/validated_loops/ dans output/validated_loops/. Détection automatique des doublons par song_folder + loop_id. Backup automatique du catalogue avant toute modification. Dry-run par défaut — coche Appliquer pour écrire.
Ajoute les cartes dans cards_html_game.json (3080 Ti local)