Mercurial > hg > constant-q-cpp
changeset 152:6e8f6a212e60
Correct order of min/max
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 10 Jul 2014 18:55:08 +0100 |
parents | 459beada2635 |
children | 5dc56e3b6783 |
files | vamp/CQVamp.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vamp/CQVamp.cpp Thu Jul 10 15:44:19 2014 +0100 +++ b/vamp/CQVamp.cpp Thu Jul 10 18:55:08 2014 +0100 @@ -170,7 +170,7 @@ desc.description = "Lowest frequency to be included in the constant-Q transform. (The actual minimum frequency may be lower, as the range always covers an integral number of octaves below the highest frequency.)"; desc.minValue = 1; desc.maxValue = m_inputSampleRate / 2; - desc.defaultValue = m_inputSampleRate / 3; + desc.defaultValue = m_inputSampleRate / 400; desc.isQuantized = false; list.push_back(desc); @@ -180,7 +180,7 @@ desc.description = "MIDI pitch corresponding to the highest frequency to be included in the constant-Q transform"; desc.minValue = 1; desc.maxValue = m_inputSampleRate / 2; - desc.defaultValue = m_inputSampleRate / 400; + desc.defaultValue = m_inputSampleRate / 3; desc.isQuantized = false; list.push_back(desc); }