More work on free filter
This commit is contained in:
parent
7c61a552c2
commit
e8d134ce48
@ -12,7 +12,7 @@ StretchAudioSource::StretchAudioSource(int initialnumoutchans, AudioFormatManage
|
||||
m_resampler = std::make_unique<WDL_Resampler>();
|
||||
m_resampler_outbuf.resize(1024*1024);
|
||||
m_inputfile = std::make_unique<AInputS>(m_afm);
|
||||
m_specproc_order = { {0,false} , { 1, false} ,{2,true},{3,true},{4,true},{5,false},{6,true},{7,true} };
|
||||
m_specproc_order = { {0,false} , { 1, false} ,{2,true},{3,true},{4,true},{5,false},{6,true},{7,true},{8,false} };
|
||||
setNumOutChannels(initialnumoutchans);
|
||||
m_xfadetask.buffer.setSize(8, 65536);
|
||||
m_xfadetask.buffer.clear();
|
||||
|
@ -914,6 +914,8 @@ void SpectralChainEditor::drawBox(Graphics & g, int index, int x, int y, int w,
|
||||
txt = "Filter";
|
||||
if (m_order[index].m_index == 7)
|
||||
txt = "Compressor";
|
||||
if (m_order[index].m_index == 8)
|
||||
txt = "Free filter";
|
||||
if (index == m_cur_index)
|
||||
{
|
||||
g.setColour(Colours::darkgrey);
|
||||
|
@ -255,6 +255,8 @@ void PaulstretchpluginAudioProcessor::setStateFromTree(ValueTree tree)
|
||||
bool step_enabled = tree.getProperty("specstepenabled" + String(i));
|
||||
order.push_back({ (int)tree.getProperty("specorder" + String(i)), step_enabled });
|
||||
}
|
||||
if (ordersize<m_stretch_source->getSpectrumProcessOrder().size())
|
||||
order.emplace_back(8,false);
|
||||
m_stretch_source->setSpectrumProcessOrder(order);
|
||||
}
|
||||
getFromTreeProperties(tree, "waveviewrange", m_wave_view_range);
|
||||
|
Loading…
Reference in New Issue
Block a user