Mercurial > hg > sonic-annotator
diff tests/test-jams-writer/expected/curve-fsr.json @ 208:c17b184c16db
Update JAMS output to JAMS v0.2.0. We now (for the first time?!) write actual JAMS schema-compliant output when possible, though it isn't possible for many types of plugin. The output for all tested combinations of transforms is valid JSON even where it isn't schema-compliant.
author | Chris Cannam |
---|---|
date | Wed, 04 Nov 2015 10:07:29 +0000 |
parents | 1f8fef5c6ea2 |
children | ffa60ff17a86 |
line wrap: on
line diff
--- a/tests/test-jams-writer/expected/curve-fsr.json Tue Nov 03 14:31:59 2015 +0000 +++ b/tests/test-jams-writer/expected/curve-fsr.json Wed Nov 04 10:07:29 2015 +0000 @@ -1,9 +1,12 @@ { "file_metadata": { - "filename": "20sec-silence.wav" + "jams_version": "0.2.0", + "identifiers": { "filename": "20sec-silence.wav" }, + "duration": 20.003265306 }, -"unknown": [ -{ +"annotations": [ +{ + "namespace": "unknown", "annotation_metadata": { "annotation_tools": "Sonic Annotator v1.3", "data_source": "Automatic feature extraction", @@ -21,16 +24,16 @@ } }, "data": [ - { "time": { "value": 0.000000000 }, "label": { "value": "1 of 10: 0 at 0" }, "value": [ 0 ] }, - { "time": { "value": 0.400000000 }, "label": { "value": "2 of 10: 0.1 at 0.4" }, "value": [ 0.1 ] }, - { "time": { "value": 0.800000000 }, "label": { "value": "3 of 10: 0.2 at 0.8" }, "value": [ 0.2 ] }, - { "time": { "value": 1.200000000 }, "label": { "value": "4 of 10: 0.3 at 1.2" }, "value": [ 0.3 ] }, - { "time": { "value": 1.600000000 }, "label": { "value": "5 of 10: 0.4 at 1.6" }, "value": [ 0.4 ] }, - { "time": { "value": 2.000000000 }, "label": { "value": "6 of 10: 0.5 at 2" }, "value": [ 0.5 ] }, - { "time": { "value": 2.400000000 }, "label": { "value": "7 of 10: 0.6 at 2.4" }, "value": [ 0.6 ] }, - { "time": { "value": 2.800000000 }, "label": { "value": "8 of 10: 0.7 at 2.8" }, "value": [ 0.7 ] }, - { "time": { "value": 3.200000000 }, "label": { "value": "9 of 10: 0.8 at 3.2" }, "value": [ 0.8 ] }, - { "time": { "value": 3.600000000 }, "label": { "value": "10 of 10: 0.9 at 3.6" }, "value": [ 0.9 ] } + { "time": 0.000000000, "duration": 0.0, "confidence": 1.0, "label": "1 of 10: 0 at 0", "value": 0 }, + { "time": 0.400000000, "duration": 0.0, "confidence": 1.0, "label": "2 of 10: 0.1 at 0.4", "value": 0.1 }, + { "time": 0.800000000, "duration": 0.0, "confidence": 1.0, "label": "3 of 10: 0.2 at 0.8", "value": 0.2 }, + { "time": 1.200000000, "duration": 0.0, "confidence": 1.0, "label": "4 of 10: 0.3 at 1.2", "value": 0.3 }, + { "time": 1.600000000, "duration": 0.0, "confidence": 1.0, "label": "5 of 10: 0.4 at 1.6", "value": 0.4 }, + { "time": 2.000000000, "duration": 0.0, "confidence": 1.0, "label": "6 of 10: 0.5 at 2", "value": 0.5 }, + { "time": 2.400000000, "duration": 0.0, "confidence": 1.0, "label": "7 of 10: 0.6 at 2.4", "value": 0.6 }, + { "time": 2.800000000, "duration": 0.0, "confidence": 1.0, "label": "8 of 10: 0.7 at 2.8", "value": 0.7 }, + { "time": 3.200000000, "duration": 0.0, "confidence": 1.0, "label": "9 of 10: 0.8 at 3.2", "value": 0.8 }, + { "time": 3.600000000, "duration": 0.0, "confidence": 1.0, "label": "10 of 10: 0.9 at 3.6", "value": 0.9 } ] } ]