annotate tests/test-jams-writer/expected/curve-fsr.json @ 271:7b3a80021b7c piper-nopiper

Add MAD_BUFFER_GUARD padding at end of mp3 buffer, in order to ensure last frame is decoded successfully (otherwise the decoded audio is truncated). Another thing learned from madplay.
author Chris Cannam
date Thu, 24 Nov 2016 17:06:31 +0000
parents ffa60ff17a86
children 5e17f44b2e74
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": "curve-fsr",
Chris@256 16 "plugin_version": "4",
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:curve-fsr"
Chris@204 24 }
Chris@204 25 },
Chris@204 26 "data": [
Chris@208 27 { "time": 0.000000000, "duration": 0.0, "confidence": 1.0, "label": "1 of 10: 0 at 0", "value": 0 },
Chris@208 28 { "time": 0.400000000, "duration": 0.0, "confidence": 1.0, "label": "2 of 10: 0.1 at 0.4", "value": 0.1 },
Chris@208 29 { "time": 0.800000000, "duration": 0.0, "confidence": 1.0, "label": "3 of 10: 0.2 at 0.8", "value": 0.2 },
Chris@208 30 { "time": 1.200000000, "duration": 0.0, "confidence": 1.0, "label": "4 of 10: 0.3 at 1.2", "value": 0.3 },
Chris@208 31 { "time": 1.600000000, "duration": 0.0, "confidence": 1.0, "label": "5 of 10: 0.4 at 1.6", "value": 0.4 },
Chris@208 32 { "time": 2.000000000, "duration": 0.0, "confidence": 1.0, "label": "6 of 10: 0.5 at 2", "value": 0.5 },
Chris@208 33 { "time": 2.400000000, "duration": 0.0, "confidence": 1.0, "label": "7 of 10: 0.6 at 2.4", "value": 0.6 },
Chris@208 34 { "time": 2.800000000, "duration": 0.0, "confidence": 1.0, "label": "8 of 10: 0.7 at 2.8", "value": 0.7 },
Chris@208 35 { "time": 3.200000000, "duration": 0.0, "confidence": 1.0, "label": "9 of 10: 0.8 at 3.2", "value": 0.8 },
Chris@208 36 { "time": 3.600000000, "duration": 0.0, "confidence": 1.0, "label": "10 of 10: 0.9 at 3.6", "value": 0.9 }
Chris@204 37 ]
Chris@204 38 }
Chris@204 39 ]
Chris@204 40 }