don't apply window-function to data as this seems to make things only even worse

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1129 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-06-14 22:25:15 +00:00
parent 1ea2fd25f8
commit a046128a59
3 changed files with 9 additions and 2 deletions

View File

@@ -349,7 +349,7 @@ bool spectrumAnalyzer::processAudioBuffer( sampleFrame * _buf,
}
hanming( m_buffer, BUFFER_SIZE, HAMMING );
// hanming( m_buffer, BUFFER_SIZE, HAMMING );
const sample_rate_t sr = engine::getMixer()->processingSampleRate();
const int LOWEST_FREQ = 0;

View File

@@ -32,7 +32,10 @@ spectrumAnalyzerControls::spectrumAnalyzerControls( spectrumAnalyzer * _eff ) :
m_effect( _eff ),
m_linearSpec( FALSE, this, tr( "Linear spectrum" ) ),
m_linearYAxis( FALSE, this, tr( "Linear Y-axis" ) ),
m_channelMode( spectrumAnalyzer::MergeChannels, spectrumAnalyzer::MergeChannels, spectrumAnalyzer::RightChannel, this, tr( "Channel mode" ) )
m_channelMode( spectrumAnalyzer::MergeChannels,
spectrumAnalyzer::MergeChannels,
spectrumAnalyzer::RightChannel,
this, tr( "Channel mode" ) )
{
}