Mercurial > hg > vamp-plugin-sdk
comparison examples/AmplitudeFollower.cpp @ 281:c860f892c3d7
* add some missing descriptions (pointed out by vamp-plugin-tester)
author | cannam |
---|---|
date | Wed, 18 Mar 2009 12:20:04 +0000 |
parents | 6b30e064cab7 |
children | a69901aa85d2 |
comparison
equal
deleted
inserted
replaced
280:9b831bd58aa7 | 281:c860f892c3d7 |
---|---|
130 OutputList list; | 130 OutputList list; |
131 | 131 |
132 OutputDescriptor sca; | 132 OutputDescriptor sca; |
133 sca.identifier = "amplitude"; | 133 sca.identifier = "amplitude"; |
134 sca.name = "Amplitude"; | 134 sca.name = "Amplitude"; |
135 sca.description = ""; | 135 sca.description = "The peak tracked amplitude for the current processing block"; |
136 sca.unit = "V"; | 136 sca.unit = "V"; |
137 sca.hasFixedBinCount = true; | 137 sca.hasFixedBinCount = true; |
138 sca.binCount = 1; | 138 sca.binCount = 1; |
139 sca.hasKnownExtents = false; | 139 sca.hasKnownExtents = false; |
140 sca.isQuantized = false; | 140 sca.isQuantized = false; |
150 ParameterList list; | 150 ParameterList list; |
151 | 151 |
152 ParameterDescriptor att; | 152 ParameterDescriptor att; |
153 att.identifier = "attack"; | 153 att.identifier = "attack"; |
154 att.name = "Attack time"; | 154 att.name = "Attack time"; |
155 att.description = ""; | 155 att.description = "The 60dB convergence time for an increase in amplitude"; |
156 att.unit = "s"; | 156 att.unit = "s"; |
157 att.minValue = 0.0f; | 157 att.minValue = 0.0f; |
158 att.maxValue = 1.f; | 158 att.maxValue = 1.f; |
159 att.defaultValue = 0.01f; | 159 att.defaultValue = 0.01f; |
160 att.isQuantized = false; | 160 att.isQuantized = false; |
162 list.push_back(att); | 162 list.push_back(att); |
163 | 163 |
164 ParameterDescriptor dec; | 164 ParameterDescriptor dec; |
165 dec.identifier = "release"; | 165 dec.identifier = "release"; |
166 dec.name = "Release time"; | 166 dec.name = "Release time"; |
167 dec.description = ""; | 167 dec.description = "The 60dB convergence time for a decrease in amplitude"; |
168 dec.unit = "s"; | 168 dec.unit = "s"; |
169 dec.minValue = 0.0f; | 169 dec.minValue = 0.0f; |
170 dec.maxValue = 1.f; | 170 dec.maxValue = 1.f; |
171 dec.defaultValue = 0.01f; | 171 dec.defaultValue = 0.01f; |
172 dec.isQuantized = false; | 172 dec.isQuantized = false; |