Songpack-Import: singtrainer songpack wandelt ein Songpack v1.0 in ein Chart (#1076)

Liest manifest, meta, tempo, vocals, chords und den Strumming-Track (unbekannte Felder überlesen, höhere Hauptversion
abgelehnt). Silben werden zu Noten, Akkorde werden mit der vollen Tempo-Karte umgerechnet, das Raster nimmt bei
Tempo-Wechsel den längsten Abschnitt und meldet das. Testdaten: JSON des Beispielpakets von unmix (MIT).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-02 14:12:37 +01:00
parent 4154c0d17a
commit 795b353674
10 changed files with 1389 additions and 0 deletions

View File

@ -0,0 +1,58 @@
{
"schema_version": "1.0",
"generated_by": null,
"name": "guitar",
"instrument": "guitar",
"kind": "strumming",
"stem": "instrumental",
"events": [
{
"id": "e_0001",
"source": "auto",
"confidence": 0.85,
"locked": false,
"beat": 0.0,
"direction": "down",
"strength": 0.9
},
{
"id": "e_0002",
"source": "auto",
"confidence": 0.8,
"locked": false,
"beat": 0.5,
"direction": "up",
"strength": 0.7
},
{
"id": "e_0003",
"source": "auto",
"confidence": 0.85,
"locked": false,
"beat": 1.0,
"direction": "down",
"strength": 0.85
},
{
"id": "e_0004",
"source": "auto",
"confidence": 0.82,
"locked": false,
"beat": 1.5,
"direction": "up",
"strength": 0.75
}
],
"patterns": [
{
"id": "p_0001",
"source": "auto",
"confidence": null,
"locked": false,
"start_beat": 0.0,
"end_beat": 4.0,
"grid": "8th",
"pattern": "D U D U"
}
]
}