Classes | Typedefs | Enumerations

spectrogram.hpp File Reference

Definitions for classes used for spectrogram analysis and generation. More...

#include <vector>
#include <QImage>
#include <QPixmap>
#include <QSize>
#include <QThread>
#include <complex>
#include <memory>
#include "soundfile.hpp"
#include "fft.hpp"
#include <QVector>
#include <QRgb>

Go to the source code of this file.

Classes

class  Palette
 Represents a palette used to draw a spectrogram. More...
class  Spectrogram
 This class holds the parameters for a spectrogram and implements its synthesis and generation. More...
class  Filterbank
 Used to divide the frequency domain into suitable intervals. More...
class  LinearFilterbank
 Divides the frequency domain to intervals of constant bandwidth. More...
class  LogFilterbank
 Divides the frequency domain to intervals with variable (logarithmic, constant-Q) bandwidth. More...

Typedefs

typedef std::pair< int, int > intpair

Enumerations

enum  Window { WINDOW_HANN, WINDOW_BLACKMAN, WINDOW_RECTANGULAR, WINDOW_TRIANGULAR }
 

Represents the window function used for spectrogram generation.

More...
enum  AxisScale { SCALE_LINEAR, SCALE_LOGARITHMIC }
 

Represents the linear or logarithmic mode for frequency and intensity axes.

More...
enum  SynthesisType { SYNTHESIS_SINE, SYNTHESIS_NOISE }
 

Represents spectrogram synthesis mode.

More...
enum  BrightCorrection { BRIGHT_NONE, BRIGHT_SQRT }
 

Represents the brightness correction used in spectrogram generation.

More...

Detailed Description

Definitions for classes used for spectrogram analysis and generation.

Definition in file spectrogram.hpp.


Typedef Documentation

typedef std::pair<int,int> intpair

Definition at line 166 of file spectrogram.hpp.


Enumeration Type Documentation

enum AxisScale

Represents the linear or logarithmic mode for frequency and intensity axes.

Enumerator:
SCALE_LINEAR 
SCALE_LOGARITHMIC 

Definition at line 92 of file spectrogram.hpp.

Represents the brightness correction used in spectrogram generation.

Enumerator:
BRIGHT_NONE 
BRIGHT_SQRT 

Definition at line 96 of file spectrogram.hpp.

Represents spectrogram synthesis mode.

Enumerator:
SYNTHESIS_SINE 
SYNTHESIS_NOISE 

Definition at line 94 of file spectrogram.hpp.

enum Window

Represents the window function used for spectrogram generation.

Enumerator:
WINDOW_HANN 

See http://en.wikipedia.org/wiki/Hann_window

WINDOW_BLACKMAN 

See http://en.wikipedia.org/wiki/Window_function#Blackman_windows

WINDOW_RECTANGULAR 

Doesn't do anything.

WINDOW_TRIANGULAR 

http://en.wikipedia.org/wiki/Triangular_window#Triangular_window_.28non-zero_end-points.29

Definition at line 84 of file spectrogram.hpp.