annotate tests/test-jams-writer/expected/instants.json @ 269:39fb206b1153 piper-nopiper

Filter out Xing/LAME info frames, rather than letting them go to the mp3 decoder as if they were audio frames. Fixes the 1152-sample zero pad at start of some decoded mp3 files (distinct from decoder delay). The logic here is based on the madplay code.
author Chris Cannam
date Thu, 24 Nov 2016 13:32:04 +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": "instants",
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: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 }