annotate tests/test-jams-writer/expected/instants.json @ 366:9f7297c47850

Update plugin handling to follow the smart pointers used in the svcore library. This is awkward in our context, and the outcome isn't a very nice one - but it does look as if we had the potential for use-after-free in cases where a plugin was both used "bare" and wrapped in an auto-deleting adapter; those should be fixed now
author Chris Cannam
date Thu, 23 Apr 2020 15:51:55 +0100
parents 5e17f44b2e74
children
rev   line source
Chris@204 1 {
Chris@204 2 "file_metadata": {
Chris@208 3 "jams_version": "0.2.0",
Chris@208 4 "identifiers": { "filename": "20sec-silence.wav" },
Chris@208 5 "duration": 20.003265306
Chris@204 6 },
Chris@208 7 "annotations": [
Chris@208 8 {
Chris@208 9 "namespace": "unknown",
Chris@204 10 "annotation_metadata": {
Chris@204 11 "annotation_tools": "Sonic Annotator v1.3",
Chris@204 12 "data_source": "Automatic feature extraction",
Chris@204 13 "annotator": {
Chris@204 14 "plugin_id": "vamp:vamp-test-plugin:vamp-test-plugin",
Chris@204 15 "output_id": "instants",
Chris@365 16 "plugin_version": "5",
Chris@204 17 "step_size": 1024,
Chris@204 18 "block_size": 1024,
Chris@204 19 "sample_rate": 44100,
Chris@204 20 "parameters": {
Chris@204 21 "produce_output": 1
Chris@204 22 },
Chris@204 23 "transform_id": "vamp:vamp-test-plugin:vamp-test-plugin:instants"
Chris@204 24 }
Chris@204 25 },
Chris@204 26 "data": [
Chris@208 27 { "time": 0.000000000, "duration": 0.0, "confidence": 1.0, "value": "1 of 10 at 0" },
Chris@208 28 { "time": 1.500000000, "duration": 0.0, "confidence": 1.0, "value": "2 of 10 at 1.5" },
Chris@208 29 { "time": 3.000000000, "duration": 0.0, "confidence": 1.0, "value": "3 of 10 at 3" },
Chris@208 30 { "time": 4.500000000, "duration": 0.0, "confidence": 1.0, "value": "4 of 10 at 4.5" },
Chris@208 31 { "time": 6.000000000, "duration": 0.0, "confidence": 1.0, "value": "5 of 10 at 6" },
Chris@208 32 { "time": 7.500000000, "duration": 0.0, "confidence": 1.0, "value": "6 of 10 at 7.5" },
Chris@208 33 { "time": 9.000000000, "duration": 0.0, "confidence": 1.0, "value": "7 of 10 at 9" },
Chris@208 34 { "time": 10.500000000, "duration": 0.0, "confidence": 1.0, "value": "8 of 10 at 10.5" },
Chris@208 35 { "time": 12.000000000, "duration": 0.0, "confidence": 1.0, "value": "9 of 10 at 12" },
Chris@208 36 { "time": 13.500000000, "duration": 0.0, "confidence": 1.0, "value": "10 of 10 at 13.5" }
Chris@204 37 ]
Chris@204 38 }
Chris@204 39 ]
Chris@204 40 }