Add JUCE DSP module to Projucer project. Added a sonogram view of the output audio.

This commit is contained in:
xenakios
2019-01-17 18:30:40 +02:00
parent 676ce4a025
commit 57ac702c3f
4 changed files with 133 additions and 22 deletions

View File

@ -173,21 +173,6 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(Pau
};
m_spec_order_ed.ModuleOrderOrEnabledChangedCallback = [this]()
{
/*
const auto& specord = processor.getStretchSource()->getSpectrumProcessOrder();
for (int i = 0; i < specord.size(); ++i)
{
int grtofind = specord[i].m_index;
for (int j = 0; j < m_parcomps.size(); ++j)
{
int gid = m_parcomps[j]->m_group_id;
if (gid == grtofind)
{
m_parcomps[j]->setEnabled(specord[i].m_enabled);
}
}
}
*/
processor.setDirty();
};
@ -244,8 +229,9 @@ 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);
addAndMakeVisible(&m_wavefilter_tab);
m_wavefilter_tab.addTab("Spectrum", Colours::white, &m_sonogram, false);
addAndMakeVisible(&m_wavefilter_tab);
setSize (1200, 320+14*25);
startTimer(1, 100);
startTimer(2, 1000);