forked from wlkns-dev/stimmwerk
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:
56
tests/fixtures/songpack-demo/vocals.json
vendored
Normal file
56
tests/fixtures/songpack-demo/vocals.json
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
{
|
||||
"schema_version": "1.0",
|
||||
"generated_by": null,
|
||||
"lines": [
|
||||
{
|
||||
"id": "l_0001",
|
||||
"source": "auto",
|
||||
"confidence": null,
|
||||
"locked": false,
|
||||
"voice": 0,
|
||||
"start": 0.5,
|
||||
"end": 2.5,
|
||||
"syllables": [
|
||||
{
|
||||
"id": "s_0001",
|
||||
"source": "auto",
|
||||
"confidence": 0.95,
|
||||
"locked": false,
|
||||
"text": "Hel",
|
||||
"start": 0.5,
|
||||
"end": 1.0,
|
||||
"midi": 57.0,
|
||||
"type": "normal",
|
||||
"word_end": false,
|
||||
"golden": false
|
||||
},
|
||||
{
|
||||
"id": "s_0002",
|
||||
"source": "auto",
|
||||
"confidence": 0.92,
|
||||
"locked": false,
|
||||
"text": "lo",
|
||||
"start": 1.0,
|
||||
"end": 1.5,
|
||||
"midi": 57.0,
|
||||
"type": "normal",
|
||||
"word_end": true,
|
||||
"golden": false
|
||||
},
|
||||
{
|
||||
"id": "s_0003",
|
||||
"source": "auto",
|
||||
"confidence": 0.98,
|
||||
"locked": false,
|
||||
"text": "world",
|
||||
"start": 1.5,
|
||||
"end": 2.5,
|
||||
"midi": 60.0,
|
||||
"type": "normal",
|
||||
"word_end": true,
|
||||
"golden": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user