Mercurial > hg > match-vamp
comparison src/MatchVampPlugin.cpp @ 138:23d47feef955 refactors
Change defaults: no silence threshold, raw output by default
author | Chris Cannam |
---|---|
date | Fri, 19 Dec 2014 11:16:39 +0000 |
parents | a1de1888a96c |
children | cfba9aec7569 |
comparison
equal
deleted
inserted
replaced
137:a1de1888a96c | 138:23d47feef955 |
---|---|
54 m_stepTime(defaultStepTime), | 54 m_stepTime(defaultStepTime), |
55 m_blockSize(2048), | 55 m_blockSize(2048), |
56 m_serialise(false), | 56 m_serialise(false), |
57 m_begin(true), | 57 m_begin(true), |
58 m_locked(false), | 58 m_locked(false), |
59 m_smooth(true), | 59 m_smooth(false), |
60 m_frameNo(0), | 60 m_frameNo(0), |
61 m_params(defaultStepTime), | 61 m_params(defaultStepTime), |
62 m_defaultParams(defaultStepTime), | 62 m_defaultParams(defaultStepTime), |
63 m_feParams(inputSampleRate, m_blockSize), | 63 m_feParams(inputSampleRate, m_blockSize), |
64 m_defaultFeParams(inputSampleRate, m_blockSize), | 64 m_defaultFeParams(inputSampleRate, m_blockSize), |
237 desc.identifier = "diagonalweight"; | 237 desc.identifier = "diagonalweight"; |
238 desc.name = "Diagonal Weight"; | 238 desc.name = "Diagonal Weight"; |
239 desc.description = "Weight applied to cost of diagonal step relative to horizontal or vertical step. The default of 2.0 is good for gross tracking of quite different performances; closer to 1.0 produces a smoother path for performances more similar in tempo"; | 239 desc.description = "Weight applied to cost of diagonal step relative to horizontal or vertical step. The default of 2.0 is good for gross tracking of quite different performances; closer to 1.0 produces a smoother path for performances more similar in tempo"; |
240 desc.minValue = 1.0; | 240 desc.minValue = 1.0; |
241 desc.maxValue = 2.0; | 241 desc.maxValue = 2.0; |
242 desc.defaultValue = 2.0; | 242 desc.defaultValue = (float)m_defaultParams.diagonalWeight; |
243 desc.isQuantized = false; | 243 desc.isQuantized = false; |
244 desc.unit = ""; | 244 desc.unit = ""; |
245 list.push_back(desc); | 245 list.push_back(desc); |
246 | 246 |
247 desc.identifier = "smooth"; | 247 desc.identifier = "smooth"; |
248 desc.name = "Smooth Path"; | 248 desc.name = "Smooth Path"; |
249 desc.description = "Smooth the path by replacing steps with diagonals"; | 249 desc.description = "Smooth the path by replacing steps with diagonals. (This was enabled by default in earlier versions of the MATCH plugin, but the default now is to produce an un-smoothed path.)"; |
250 desc.minValue = 0; | 250 desc.minValue = 0; |
251 desc.maxValue = 1; | 251 desc.maxValue = 1; |
252 desc.defaultValue = 1; | 252 desc.defaultValue = 0; |
253 desc.isQuantized = true; | 253 desc.isQuantized = true; |
254 desc.quantizeStep = 1; | 254 desc.quantizeStep = 1; |
255 desc.unit = ""; | 255 desc.unit = ""; |
256 list.push_back(desc); | 256 list.push_back(desc); |
257 | 257 |