# HG changeset patch # User Chris Cannam # Date 1474985099 -3600 # Node ID 4a94e8a61d35cb3c009cc86526421d59e7bd6c3c # Parent c2c5aa00f1653268a966fd8ecd3dab9c2ae61a67 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). diff -r c2c5aa00f165 -r 4a94e8a61d35 capnproto/vamp.capnp --- 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 {