Mercurial > hg > sonic-annotator
comparison tests/test-jams-writer/expected/notes-regions.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:notes-regions" | 23 "transform_id": "vamp:vamp-test-plugin:vamp-test-plugin:notes-regions" |
21 } | 24 } |
22 }, | 25 }, |
23 "data": [ | 26 "data": [ |
24 { "start": { "value": 0.000000000 }, "end": { "value": 1.750000000 }, "label": { "value": "1 of 10: 0 at 0 dur. 1.75" }, "value": [ 0 ] }, | 27 { "time": 0.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "1 of 10: 0 at 0 dur. 1.75", "value": 0 }, |
25 { "start": { "value": 1.000000000 }, "end": { "value": 1.500000000 }, "label": { "value": "2 of 10: 0.1 at 1 dur. 0.5" }, "value": [ 0.1 ] }, | 28 { "time": 1.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "2 of 10: 0.1 at 1 dur. 0.5", "value": 0.1 }, |
26 { "start": { "value": 2.000000000 }, "end": { "value": 3.750000000 }, "label": { "value": "3 of 10: 0.2 at 2 dur. 1.75" }, "value": [ 0.2 ] }, | 29 { "time": 2.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "3 of 10: 0.2 at 2 dur. 1.75", "value": 0.2 }, |
27 { "start": { "value": 3.000000000 }, "end": { "value": 3.500000000 }, "label": { "value": "4 of 10: 0.3 at 3 dur. 0.5" }, "value": [ 0.3 ] }, | 30 { "time": 3.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "4 of 10: 0.3 at 3 dur. 0.5", "value": 0.3 }, |
28 { "start": { "value": 4.000000000 }, "end": { "value": 5.750000000 }, "label": { "value": "5 of 10: 0.4 at 4 dur. 1.75" }, "value": [ 0.4 ] }, | 31 { "time": 4.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "5 of 10: 0.4 at 4 dur. 1.75", "value": 0.4 }, |
29 { "start": { "value": 5.000000000 }, "end": { "value": 5.500000000 }, "label": { "value": "6 of 10: 0.5 at 5 dur. 0.5" }, "value": [ 0.5 ] }, | 32 { "time": 5.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "6 of 10: 0.5 at 5 dur. 0.5", "value": 0.5 }, |
30 { "start": { "value": 6.000000000 }, "end": { "value": 7.750000000 }, "label": { "value": "7 of 10: 0.6 at 6 dur. 1.75" }, "value": [ 0.6 ] }, | 33 { "time": 6.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "7 of 10: 0.6 at 6 dur. 1.75", "value": 0.6 }, |
31 { "start": { "value": 7.000000000 }, "end": { "value": 7.500000000 }, "label": { "value": "8 of 10: 0.7 at 7 dur. 0.5" }, "value": [ 0.7 ] }, | 34 { "time": 7.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "8 of 10: 0.7 at 7 dur. 0.5", "value": 0.7 }, |
32 { "start": { "value": 8.000000000 }, "end": { "value": 9.750000000 }, "label": { "value": "9 of 10: 0.8 at 8 dur. 1.75" }, "value": [ 0.8 ] }, | 35 { "time": 8.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "9 of 10: 0.8 at 8 dur. 1.75", "value": 0.8 }, |
33 { "start": { "value": 9.000000000 }, "end": { "value": 9.500000000 }, "label": { "value": "10 of 10: 0.9 at 9 dur. 0.5" }, "value": [ 0.9 ] } | 36 { "time": 9.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "10 of 10: 0.9 at 9 dur. 0.5", "value": 0.9 } |
34 ] | 37 ] |
35 } | 38 } |
36 ] | 39 ] |
37 } | 40 } |