changeset 163:404ddf779c9f

Instead of using separate values and b64values entries in JSON serialisations, allow numeric arrays to be replaced by b64 variants wherever they appear (discriminating by type). Also rename values to featureValues in feature throughout, as values turns out to be a hazardous name in a JS context. Finally use Array instead of Text for array encoding (seems clearer).
author Chris Cannam <c.cannam@qmul.ac.uk>
date Tue, 27 Sep 2016 15:04:59 +0100
parents d0ab0cdc787c
children e39fc7a02219 72e600934548
files capnproto/vamp.capnp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/capnproto/vamp.capnp	Fri Sep 23 14:23:10 2016 +0100
+++ b/capnproto/vamp.capnp	Tue Sep 27 15:04:59 2016 +0100
@@ -95,7 +95,7 @@
     hasDuration        @2  :Bool        = false;
     duration           @3  :RealTime;
     label              @4  :Text;
-    values             @5  :List(Float32) = [];
+    featureValues      @5  :List(Float32) = [];
 }
 
 struct FeatureSet {