Remove sonogram for now

This commit is contained in:
xenakios 2019-02-12 14:59:51 +02:00
parent d4a2247679
commit 21a0a6e8e0
3 changed files with 4 additions and 2 deletions

View File

@ -234,7 +234,7 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(Pau
m_wavefilter_tab.addTab("Waveform", Colours::white, m_wave_container, true);
m_wavefilter_tab.addTab("Ratio mixer", Colours::white, &m_ratiomixeditor, false);
m_wavefilter_tab.addTab("Free filter", Colours::white, &m_free_filter_component, false);
m_wavefilter_tab.addTab("Spectrum", Colours::white, &m_sonogram, false);
//m_wavefilter_tab.addTab("Spectrum", Colours::white, &m_sonogram, false);
addAndMakeVisible(&m_wavefilter_tab);
setSize (1200, 320+14*25);

View File

@ -458,7 +458,7 @@ public:
void showRenderDialog();
void executeModalMenuAction(int menuid, int actionid);
SimpleFFTComponent m_sonogram;
//SimpleFFTComponent m_sonogram;
String m_last_err;
private:

View File

@ -891,11 +891,13 @@ void PaulstretchpluginAudioProcessor::processBlock (AudioSampleBuffer& buffer, M
m_adsr.applyEnvelopeToBuffer(buffer, 0, buffer.getNumSamples());
}
}
/*
auto ed = dynamic_cast<PaulstretchpluginAudioProcessorEditor*>(getActiveEditor());
if (ed != nullptr)
{
ed->m_sonogram.addAudioBlock(buffer);
}
*/
}
//==============================================================================