# HG changeset patch # User Chris Cannam # Date 1474985099 -3600 # Node ID 404ddf779c9f952bc9eccc611c4762265a2dab26 # Parent d0ab0cdc787c3abaf1cd9e98c979d93ca3e213de 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 d0ab0cdc787c -r 404ddf779c9f 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 {