comparison Tuning.cpp @ 164:3c731acad404

Fix some problems from the plugin tester: zero sample rate with fixed sample type outputs; mismatching parameter id ("spectralshape" in Chordino, "s" in NNLSBase -- changing this in Chordino won't break anything as it would never have worked under that name anyway); some NaN values
author Chris Cannam
date Fri, 04 Sep 2015 16:45:37 +0100
parents 3f104bceac99
children
comparison
equal deleted inserted replaced
163:59b26f52550d 164:3c731acad404
124 d10.hasKnownExtents = true; 124 d10.hasKnownExtents = true;
125 d10.minValue = 427.47; 125 d10.minValue = 427.47;
126 d10.maxValue = 452.89; 126 d10.maxValue = 452.89;
127 d10.isQuantized = false; 127 d10.isQuantized = false;
128 d10.sampleType = OutputDescriptor::FixedSampleRate; 128 d10.sampleType = OutputDescriptor::FixedSampleRate;
129 d10.sampleRate = (m_stepSize == 0) ? m_inputSampleRate/2048 : m_inputSampleRate/m_stepSize;
129 d10.hasDuration = false; 130 d10.hasDuration = false;
130 // d10.sampleRate = (m_stepSize == 0) ? m_inputSampleRate/2048 : m_inputSampleRate/m_stepSize;
131 list.push_back(d10); 131 list.push_back(d10);
132 m_outputLocalTuning = index++; 132 m_outputLocalTuning = index++;
133 133
134 return list; 134 return list;
135 } 135 }