Revision 215:8923b382c055 capnp/piper.capnp
| capnp/piper.capnp | ||
|---|---|---|
| 121 | 121 |
minChannelCount @6 :Int32; # Minimum number of input channels of audio this extractor can accept. |
| 122 | 122 |
maxChannelCount @7 :Int32; # Maximum number of input channels of audio this extractor can accept. |
| 123 | 123 |
parameters @8 :List(ParameterDescriptor); # List of configurable parameter properties for the feature extractor. |
| 124 |
programs @9 :List(Text); # List of predefined programs. For backward-compatibility, not recommended.
|
|
| 124 |
programs @9 :List(Text); # List of predefined programs. |
|
| 125 | 125 |
inputDomain @10 :InputDomain; # Whether the extractor requires time-domain or frequency-domain input audio. |
| 126 | 126 |
basicOutputInfo @11 :List(Basic); # Basic metadata about all of the outputs of the extractor. |
| 127 | 127 |
|
| ... | ... | |
| 252 | 252 |
handle @0 :Int32; # Handle to be used to refer to the loaded feature extractor in future requests. |
| 253 | 253 |
staticData @1 :ExtractorStaticData; # Static data about this feature extractor, identical to that in list response. |
| 254 | 254 |
defaultConfiguration @2 :Configuration; # Extractor's default parameter values and preferred input framing. |
| 255 |
|
|
| 256 |
struct PPPair {
|
|
| 257 |
# A mapping between program name and parameter values for that program. |
|
| 258 |
|
|
| 259 |
program @0 :Text; # Program name, one of those listed in the static data. |
|
| 260 |
parameters @1 :List(Configuration.PVPair); |
|
| 261 |
# Parameter values for all parameters changed from defaults by that program setting. |
|
| 262 |
} |
|
| 263 |
|
|
| 264 |
programParameters @3 :List(PPPair); |
|
| 255 | 265 |
} |
| 256 | 266 |
|
| 257 | 267 |
struct ConfigurationRequest {
|
Also available in: Unified diff