Fix envelope tilt. Add envelope y scale and tilt as plugin parameters

This commit is contained in:
xenakios
2018-02-28 14:36:13 +02:00
parent f5995807f4
commit 3816194fbf
5 changed files with 15 additions and 3 deletions

View File

@ -257,6 +257,11 @@ void PaulstretchpluginAudioProcessorEditor::resized()
m_parcomps[cpi_freefilter_shiftx]->setBounds(xoffs, yoffs, div - 1, 24);
xoffs += div;
m_parcomps[cpi_freefilter_shifty]->setBounds(xoffs, yoffs, div - 1, 24);
xoffs = 1;
yoffs += 25;
m_parcomps[cpi_freefilter_scaley]->setBounds(xoffs, yoffs, div - 1, 24);
xoffs += div;
m_parcomps[cpi_freefilter_tilty]->setBounds(xoffs, yoffs, div - 1, 24);
yoffs += 25;
int remain_h = getHeight() - 1 - yoffs;
m_spec_order_ed.setBounds(1, yoffs, getWidth() - 2, remain_h / 5 * 1);