diff 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
line wrap: on
line diff
--- a/tests/test-jams-writer/expected/notes-regions.json	Tue Nov 03 14:31:59 2015 +0000
+++ b/tests/test-jams-writer/expected/notes-regions.json	Wed Nov 04 10:07:29 2015 +0000
@@ -1,9 +1,12 @@
 {
 "file_metadata": {
-  "filename": "20sec-silence.wav"
+  "jams_version": "0.2.0",
+  "identifiers": { "filename": "20sec-silence.wav" },
+  "duration": 20.003265306
 },
-"unknown": [
-{ 
+"annotations": [
+{
+  "namespace": "unknown",
   "annotation_metadata": {
     "annotation_tools": "Sonic Annotator v1.3",
     "data_source": "Automatic feature extraction",
@@ -21,16 +24,16 @@
     }
   },
   "data": [
-    { "start": { "value": 0.000000000 }, "end": { "value": 1.750000000 }, "label": { "value": "1 of 10: 0 at 0 dur. 1.75" }, "value": [ 0 ] },
-    { "start": { "value": 1.000000000 }, "end": { "value": 1.500000000 }, "label": { "value": "2 of 10: 0.1 at 1 dur. 0.5" }, "value": [ 0.1 ] },
-    { "start": { "value": 2.000000000 }, "end": { "value": 3.750000000 }, "label": { "value": "3 of 10: 0.2 at 2 dur. 1.75" }, "value": [ 0.2 ] },
-    { "start": { "value": 3.000000000 }, "end": { "value": 3.500000000 }, "label": { "value": "4 of 10: 0.3 at 3 dur. 0.5" }, "value": [ 0.3 ] },
-    { "start": { "value": 4.000000000 }, "end": { "value": 5.750000000 }, "label": { "value": "5 of 10: 0.4 at 4 dur. 1.75" }, "value": [ 0.4 ] },
-    { "start": { "value": 5.000000000 }, "end": { "value": 5.500000000 }, "label": { "value": "6 of 10: 0.5 at 5 dur. 0.5" }, "value": [ 0.5 ] },
-    { "start": { "value": 6.000000000 }, "end": { "value": 7.750000000 }, "label": { "value": "7 of 10: 0.6 at 6 dur. 1.75" }, "value": [ 0.6 ] },
-    { "start": { "value": 7.000000000 }, "end": { "value": 7.500000000 }, "label": { "value": "8 of 10: 0.7 at 7 dur. 0.5" }, "value": [ 0.7 ] },
-    { "start": { "value": 8.000000000 }, "end": { "value": 9.750000000 }, "label": { "value": "9 of 10: 0.8 at 8 dur. 1.75" }, "value": [ 0.8 ] },
-    { "start": { "value": 9.000000000 }, "end": { "value": 9.500000000 }, "label": { "value": "10 of 10: 0.9 at 9 dur. 0.5" }, "value": [ 0.9 ] }
+    { "time": 0.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "1 of 10: 0 at 0 dur. 1.75", "value": 0 },
+    { "time": 1.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "2 of 10: 0.1 at 1 dur. 0.5", "value": 0.1 },
+    { "time": 2.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "3 of 10: 0.2 at 2 dur. 1.75", "value": 0.2 },
+    { "time": 3.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "4 of 10: 0.3 at 3 dur. 0.5", "value": 0.3 },
+    { "time": 4.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "5 of 10: 0.4 at 4 dur. 1.75", "value": 0.4 },
+    { "time": 5.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "6 of 10: 0.5 at 5 dur. 0.5", "value": 0.5 },
+    { "time": 6.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "7 of 10: 0.6 at 6 dur. 1.75", "value": 0.6 },
+    { "time": 7.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "8 of 10: 0.7 at 7 dur. 0.5", "value": 0.7 },
+    { "time": 8.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "9 of 10: 0.8 at 8 dur. 1.75", "value": 0.8 },
+    { "time": 9.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "10 of 10: 0.9 at 9 dur. 0.5", "value": 0.9 }
   ]
 }
 ]