Mercurial > hg > piper-cpp
comparison capnproto/vamp.capnp @ 49:f3f7561233d6
Begin plugin output id / index mapping for use in feature sets
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 16 Sep 2016 14:13:21 +0100 |
parents | 533ca5ca3404 |
children | e90fd30990eb |
comparison
equal
deleted
inserted
replaced
48:ce6cb3308bd7 | 49:f3f7561233d6 |
---|---|
94 values @5 :List(Float32) = []; | 94 values @5 :List(Float32) = []; |
95 } | 95 } |
96 | 96 |
97 struct FeatureSet { | 97 struct FeatureSet { |
98 struct FSPair { | 98 struct FSPair { |
99 output @0 :Int32; | 99 output @0 :Text; |
100 features @1 :List(Feature) = []; | 100 features @1 :List(Feature) = []; |
101 } | 101 } |
102 featurePairs @0 :List(FSPair); | 102 featurePairs @0 :List(FSPair); |
103 } | 103 } |
104 | 104 |
142 struct ProcessRequest { | 142 struct ProcessRequest { |
143 pluginHandle @0 :Int32; | 143 pluginHandle @0 :Int32; |
144 input @1 :ProcessInput; | 144 input @1 :ProcessInput; |
145 } | 145 } |
146 | 146 |
147 struct ProcessResponse { | |
148 pluginHandle @0 :Int32; | |
149 features @1 :FeatureSet; | |
150 } | |
151 | |
147 struct FinishRequest { | 152 struct FinishRequest { |
148 pluginHandle @0 :Int32; | 153 pluginHandle @0 :Int32; |
149 } | |
150 | |
151 struct ProcessResponse { | |
152 features @0 :FeatureSet; | |
153 } | 154 } |
154 | 155 |
155 struct VampRequest { | 156 struct VampRequest { |
156 request :union { | 157 request :union { |
157 list @0 :Void; | 158 list @0 :Void; |