diff layer/SpectrumLayer.cpp @ 195:4a3bdde1ef13

* beginnings of spectrum scales
author Chris Cannam
date Mon, 29 Jan 2007 18:11:20 +0000
parents 57c2350a8c40
children 45e995ed84d9
line wrap: on
line diff
--- a/layer/SpectrumLayer.cpp	Fri Jan 26 17:20:58 2007 +0000
+++ b/layer/SpectrumLayer.cpp	Mon Jan 29 18:11:20 2007 +0000
@@ -5,7 +5,7 @@
     Sonic Visualiser
     An audio file viewer and annotation editor.
     Centre for Digital Music, Queen Mary, University of London.
-    This file copyright 2006 QMUL.
+    This file copyright 2006-2007 QMUL.
     
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License as
@@ -34,6 +34,8 @@
     connect(prefs, SIGNAL(propertyChanged(PropertyContainer::PropertyName)),
             this, SLOT(preferenceChanged(PropertyContainer::PropertyName)));
     setWindowType(prefs->getWindowType());
+
+    setBinScale(LogBins);
 }
 
 SpectrumLayer::~SpectrumLayer()