Mercurial > hg > vamp-simple-cepstrum
comparison SimpleCepstrum.cpp @ 44:f021dc97da29
Oops, mixed up unit and description fields
author | Chris Cannam |
---|---|
date | Fri, 28 Nov 2014 15:35:50 +0000 |
parents | fcb6562b43f7 |
children |
comparison
equal
deleted
inserted
replaced
43:fcb6562b43f7 | 44:f021dc97da29 |
---|---|
184 d.quantizeStep = 2; | 184 d.quantizeStep = 2; |
185 list.push_back(d); | 185 list.push_back(d); |
186 | 186 |
187 d.identifier = "method"; | 187 d.identifier = "method"; |
188 d.name = "Cepstrum transform method"; | 188 d.name = "Cepstrum transform method"; |
189 d.unit = "Method to use for calculating cepstrum, starting from the complex short-time Fourier transform of the input audio.\nInverse symmetric - Real part of inverse FFT of log magnitude spectrum, with frequencies above Nyquist reflecting those below it.\nInverse asymmetric - Real part of inverse FFT of log magnitude spectrum, with frequencies above Nyquist set to zero.\nInverse complex - Real part of inverse FFT of complex log spectrum.\nForward magnitude - Magnitude of forward FFT of log magnitude spectrum.\nForward difference - Difference between imaginary and real parts of forward FFT of log magnitude spectrum"; | 189 d.description = "Method to use for calculating cepstrum, starting from the complex short-time Fourier transform of the input audio.\nInverse symmetric - Real part of inverse FFT of log magnitude spectrum, with frequencies above Nyquist reflecting those below it.\nInverse asymmetric - Real part of inverse FFT of log magnitude spectrum, with frequencies above Nyquist set to zero.\nInverse complex - Real part of inverse FFT of complex log spectrum.\nForward magnitude - Magnitude of forward FFT of log magnitude spectrum.\nForward difference - Difference between imaginary and real parts of forward FFT of log magnitude spectrum"; |
190 d.unit = ""; | |
190 d.minValue = 0; | 191 d.minValue = 0; |
191 d.maxValue = 4; | 192 d.maxValue = 4; |
192 d.defaultValue = 0; | 193 d.defaultValue = 0; |
193 d.isQuantized = true; | 194 d.isQuantized = true; |
194 d.quantizeStep = 1; | 195 d.quantizeStep = 1; |
199 d.valueNames.push_back("Forward difference"); | 200 d.valueNames.push_back("Forward difference"); |
200 list.push_back(d); | 201 list.push_back(d); |
201 | 202 |
202 d.identifier = "clamp"; | 203 d.identifier = "clamp"; |
203 d.name = "Clamp negative values in cepstrum at zero"; | 204 d.name = "Clamp negative values in cepstrum at zero"; |
204 d.unit = "If set, no negative values will be returned; they will be replaced by zeroes"; | 205 d.description = "If set, no negative values will be returned; they will be replaced by zeroes"; |
206 d.unit = ""; | |
205 d.minValue = 0; | 207 d.minValue = 0; |
206 d.maxValue = 1; | 208 d.maxValue = 1; |
207 d.defaultValue = 0; | 209 d.defaultValue = 0; |
208 d.isQuantized = true; | 210 d.isQuantized = true; |
209 d.quantizeStep = 1; | 211 d.quantizeStep = 1; |