diff plugins/ConstantQSpectrogram.cpp @ 50:df7a0bc46592

* Harmonise the Maker and Copyright notices * A bit more documentation
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 25 Jan 2008 17:56:49 +0000
parents ff5a09e45209
children 64e4c8aec287
line wrap: on
line diff
--- a/plugins/ConstantQSpectrogram.cpp	Tue Jan 22 17:27:48 2008 +0000
+++ b/plugins/ConstantQSpectrogram.cpp	Fri Jan 25 17:56:49 2008 +0000
@@ -68,7 +68,7 @@
 string
 ConstantQSpectrogram::getDescription() const
 {
-    return "";
+    return "Extract a constant pitch bin spectrogram from the input audio";
 }
 
 string
@@ -80,13 +80,13 @@
 int
 ConstantQSpectrogram::getPluginVersion() const
 {
-    return 1;
+    return 2;
 }
 
 string
 ConstantQSpectrogram::getCopyright() const
 {
-    return "Copyright (c) 2006 - All Rights Reserved";
+    return "Plugin by Chris Cannam and Christian Landone.  Copyright (c) 2006-2008 QMUL - All Rights Reserved";
 }
 
 ConstantQSpectrogram::ParameterList
@@ -209,7 +209,7 @@
     setupConfig();
 
     m_cq = new ConstantQ(m_config);
-    m_bins = m_cq->getK(); //!!! (int)ceil(m_bpo * log(m_config.max / m_config.min) / log(2.0));
+    m_bins = m_cq->getK();
     m_cq->sparsekernel();
     m_step = m_cq->gethop();
     m_block = m_cq->getfftlength();