3 #include "abstractspectrograph.h"
9 #include <QAudioBuffer>
20 #define MIN_BARWIDTH 30
56 QVector<int> spectrum, delay;
58 int leftLevel, rightLevel;
61 QLinearGradient gradient;
62 QBrush gradientBrush, backgroundBrush,
63 transparentBrush, decayBrush;
65 float barSpacing, barWidth, widgetHeight;
70 #endif // SPECTROGRAM_H
void paintEvent(QPaintEvent *e)
Definition: spectrograph.cpp:68
void loadLevels(double left, double right)
Definition: spectrograph.cpp:61
Definition: spectrograph.h:24
void resizeEvent(QResizeEvent *e)
Definition: spectrograph.cpp:39
Definition: abstractspectrograph.h:8
void loadSamples(QVector< double > &_spectrum)
Definition: spectrograph.cpp:113
void timerEvent(QTimerEvent *e)
Definition: spectrograph.cpp:97