comparison tests/test-jams-writer/expected/instants.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
comparison
equal deleted inserted replaced
207:e8f2f530c091 208:c17b184c16db
1 { 1 {
2 "file_metadata": { 2 "file_metadata": {
3 "filename": "20sec-silence.wav" 3 "jams_version": "0.2.0",
4 "identifiers": { "filename": "20sec-silence.wav" },
5 "duration": 20.003265306
4 }, 6 },
5 "unknown": [ 7 "annotations": [
6 { 8 {
9 "namespace": "unknown",
7 "annotation_metadata": { 10 "annotation_metadata": {
8 "annotation_tools": "Sonic Annotator v1.3", 11 "annotation_tools": "Sonic Annotator v1.3",
9 "data_source": "Automatic feature extraction", 12 "data_source": "Automatic feature extraction",
10 "annotator": { 13 "annotator": {
11 "plugin_id": "vamp:vamp-test-plugin:vamp-test-plugin", 14 "plugin_id": "vamp:vamp-test-plugin:vamp-test-plugin",
19 }, 22 },
20 "transform_id": "vamp:vamp-test-plugin:vamp-test-plugin:instants" 23 "transform_id": "vamp:vamp-test-plugin:vamp-test-plugin:instants"
21 } 24 }
22 }, 25 },
23 "data": [ 26 "data": [
24 { "time": { "value": 0.000000000 }, "label": { "value": "1 of 10 at 0" } }, 27 { "time": 0.000000000, "duration": 0.0, "confidence": 1.0, "value": "1 of 10 at 0" },
25 { "time": { "value": 1.500000000 }, "label": { "value": "2 of 10 at 1.5" } }, 28 { "time": 1.500000000, "duration": 0.0, "confidence": 1.0, "value": "2 of 10 at 1.5" },
26 { "time": { "value": 3.000000000 }, "label": { "value": "3 of 10 at 3" } }, 29 { "time": 3.000000000, "duration": 0.0, "confidence": 1.0, "value": "3 of 10 at 3" },
27 { "time": { "value": 4.500000000 }, "label": { "value": "4 of 10 at 4.5" } }, 30 { "time": 4.500000000, "duration": 0.0, "confidence": 1.0, "value": "4 of 10 at 4.5" },
28 { "time": { "value": 6.000000000 }, "label": { "value": "5 of 10 at 6" } }, 31 { "time": 6.000000000, "duration": 0.0, "confidence": 1.0, "value": "5 of 10 at 6" },
29 { "time": { "value": 7.500000000 }, "label": { "value": "6 of 10 at 7.5" } }, 32 { "time": 7.500000000, "duration": 0.0, "confidence": 1.0, "value": "6 of 10 at 7.5" },
30 { "time": { "value": 9.000000000 }, "label": { "value": "7 of 10 at 9" } }, 33 { "time": 9.000000000, "duration": 0.0, "confidence": 1.0, "value": "7 of 10 at 9" },
31 { "time": { "value": 10.500000000 }, "label": { "value": "8 of 10 at 10.5" } }, 34 { "time": 10.500000000, "duration": 0.0, "confidence": 1.0, "value": "8 of 10 at 10.5" },
32 { "time": { "value": 12.000000000 }, "label": { "value": "9 of 10 at 12" } }, 35 { "time": 12.000000000, "duration": 0.0, "confidence": 1.0, "value": "9 of 10 at 12" },
33 { "time": { "value": 13.500000000 }, "label": { "value": "10 of 10 at 13.5" } } 36 { "time": 13.500000000, "duration": 0.0, "confidence": 1.0, "value": "10 of 10 at 13.5" }
34 ] 37 ]
35 } 38 }
36 ] 39 ]
37 } 40 }