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:
@@ -1,5 +1,9 @@
|
||||
2008-06-14 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* plugins/spectrum_analyzer/spectrum_analyzer.cpp:
|
||||
don't apply window-function to data as this seems to make things only
|
||||
even worse
|
||||
|
||||
* plugins/spectrum_analyzer/log_x_axis.png:
|
||||
* plugins/spectrum_analyzer/log_y_axis.png:
|
||||
* plugins/spectrum_analyzer/background.png:
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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" ) )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user