comparison data/model/FFTModel.h @ 1186:12a8daa89970 spectrogram-minor-refactor

Mid-refactor to pull out the bulk of paintDrawBuffer into chunks
author Chris Cannam
date Mon, 13 Jun 2016 16:17:44 +0100
parents 444d133b5ab7
children 6d09ad2ab21f
comparison
equal deleted inserted replaced
1185:69c84a66727b 1186:12a8daa89970
99 float getMagnitudeAt(int x, int y) const; 99 float getMagnitudeAt(int x, int y) const;
100 float getMaximumMagnitudeAt(int x) const; 100 float getMaximumMagnitudeAt(int x) const;
101 float getPhaseAt(int x, int y) const; 101 float getPhaseAt(int x, int y) const;
102 void getValuesAt(int x, int y, float &real, float &imaginary) const; 102 void getValuesAt(int x, int y, float &real, float &imaginary) const;
103 bool getMagnitudesAt(int x, float *values, int minbin = 0, int count = 0) const; 103 bool getMagnitudesAt(int x, float *values, int minbin = 0, int count = 0) const;
104 float getNormalizedMagnitudesAt(int x, float *values, int minbin = 0, int count = 0) const; // returns maximum of unnormalized magnitudes
105 bool getPhasesAt(int x, float *values, int minbin = 0, int count = 0) const; 104 bool getPhasesAt(int x, float *values, int minbin = 0, int count = 0) const;
106 bool getValuesAt(int x, float *reals, float *imaginaries, int minbin = 0, int count = 0) const; 105 bool getValuesAt(int x, float *reals, float *imaginaries, int minbin = 0, int count = 0) const;
107 106
108 /** 107 /**
109 * Calculate an estimated frequency for a stable signal in this 108 * Calculate an estimated frequency for a stable signal in this