Watsyn: use fast sinc instead of medium quality (not much diff in this case), increase oversampling to 32 because why not

Graph: optimize graph widget codepaths so that we don't send redundant samplesChanged signals, which in watsyn cause recalculation of the wavetable
This commit is contained in:
Vesa
2014-04-14 14:15:08 +03:00
parent 79120eb0b1
commit 49d05f466d
4 changed files with 38 additions and 29 deletions

View File

@@ -150,7 +150,7 @@ public slots:
void setLength( int _size );
void setSampleAt( int _samplePos, float _value );
void setSampleAt( int x, float val );
void setSamples( const float * _value );
void setWaveToSine();
@@ -172,6 +172,7 @@ signals:
void rangeChanged();
private:
void drawSampleAt( int x, float val );
QVector<float> m_samples;
float m_minValue;