Remove sonogram for now
This commit is contained in:
parent
d4a2247679
commit
21a0a6e8e0
@ -234,7 +234,7 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(Pau
|
|||||||
m_wavefilter_tab.addTab("Waveform", Colours::white, m_wave_container, true);
|
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("Ratio mixer", Colours::white, &m_ratiomixeditor, false);
|
||||||
m_wavefilter_tab.addTab("Free filter", Colours::white, &m_free_filter_component, 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);
|
addAndMakeVisible(&m_wavefilter_tab);
|
||||||
setSize (1200, 320+14*25);
|
setSize (1200, 320+14*25);
|
||||||
|
@ -458,7 +458,7 @@ public:
|
|||||||
|
|
||||||
void showRenderDialog();
|
void showRenderDialog();
|
||||||
void executeModalMenuAction(int menuid, int actionid);
|
void executeModalMenuAction(int menuid, int actionid);
|
||||||
SimpleFFTComponent m_sonogram;
|
//SimpleFFTComponent m_sonogram;
|
||||||
String m_last_err;
|
String m_last_err;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -891,11 +891,13 @@ void PaulstretchpluginAudioProcessor::processBlock (AudioSampleBuffer& buffer, M
|
|||||||
m_adsr.applyEnvelopeToBuffer(buffer, 0, buffer.getNumSamples());
|
m_adsr.applyEnvelopeToBuffer(buffer, 0, buffer.getNumSamples());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
auto ed = dynamic_cast<PaulstretchpluginAudioProcessorEditor*>(getActiveEditor());
|
auto ed = dynamic_cast<PaulstretchpluginAudioProcessorEditor*>(getActiveEditor());
|
||||||
if (ed != nullptr)
|
if (ed != nullptr)
|
||||||
{
|
{
|
||||||
ed->m_sonogram.addAudioBlock(buffer);
|
ed->m_sonogram.addAudioBlock(buffer);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user