fixed upper frequency-boundary
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1126 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -353,7 +353,7 @@ bool spectrumAnalyzer::processAudioBuffer( sampleFrame * _buf,
|
||||
|
||||
const sample_rate_t sr = engine::getMixer()->processingSampleRate();
|
||||
const int LOWEST_FREQ = 0;
|
||||
const int HIGHEST_FREQ = 10000;//sr / 2;
|
||||
const int HIGHEST_FREQ = sr / 2;
|
||||
|
||||
fftw_execute( m_fftPlan );
|
||||
absspec( m_specBuf, m_absSpecBuf, BUFFER_SIZE+1 );
|
||||
|
||||
Reference in New Issue
Block a user