diff main/MainWindow.h @ 16:3715efc38f95

* substantial enhancements to time stretcher: -- use putInput/getOutput methods to ensure the audio source always feeds it enough input, avoiding underruns due to rounding error -- add a percussion detector and an optional "Sharpen" toggle to the main window, which invokes a very basic variable speed timestretcher
author Chris Cannam
date Wed, 13 Sep 2006 17:17:42 +0000
parents 0dbd08e365ce
children d88d117e0c34
line wrap: on
line diff
--- a/main/MainWindow.h	Wed Sep 13 11:56:44 2006 +0000
+++ b/main/MainWindow.h	Wed Sep 13 17:17:42 2006 +0000
@@ -44,6 +44,7 @@
 class QMenu;
 class AudioDial;
 class QLabel;
+class QCheckBox;
 class PreferencesDialog;
 
 
@@ -139,6 +140,7 @@
     void playLoopToggled();
     void playSelectionToggled();
     void playSpeedChanged(int);
+    void playSharpenToggled();
     void sampleRateMismatch(size_t, size_t, bool);
 
     void outputLevelsChanged(float, float);
@@ -203,6 +205,7 @@
     Panner                  *m_panner;
     Fader                   *m_fader;
     AudioDial               *m_playSpeed;
+    QCheckBox               *m_playSharpen;
     WaveformLayer           *m_panLayer;
     Layer                   *m_timeRulerLayer;