Show approximate output duration in info label

This commit is contained in:
xenakios 2018-02-19 17:39:10 +02:00
parent d1cf25782a
commit 0f1742fbbf
2 changed files with 6 additions and 2 deletions

View File

@ -260,8 +260,10 @@ void PaulstretchpluginAudioProcessorEditor::timerCallback(int id)
infotext += String(processor.getStretchSource()->m_param_change_count); infotext += String(processor.getStretchSource()->m_param_change_count);
infotext += " param changes "; infotext += " param changes ";
} }
infotext += m_last_err + " FFT size " + infotext += m_last_err + " [FFT size " +
String(processor.getStretchSource()->getFFTSize()); String(processor.getStretchSource()->getFFTSize())+"]";
double outlen = processor.getStretchSource()->getOutputDurationSecondsForRange(processor.getStretchSource()->getPlayRange(), processor.getStretchSource()->getFFTSize());
infotext += " [Output length " + secondsToString2(outlen)+"]";
if (processor.m_abnormal_output_samples > 0) if (processor.m_abnormal_output_samples > 0)
infotext += " " + String(processor.m_abnormal_output_samples) + " invalid sample values"; infotext += " " + String(processor.m_abnormal_output_samples) + " invalid sample values";
if (processor.isNonRealtime()) if (processor.isNonRealtime())

View File

@ -8,6 +8,8 @@ Released under GNU General Public License v.2 license.
History : History :
02-19-2018 1.0.2
-Show approximate stretched output duration in info label (only valid if the stretch amount is not automated in the host)
02-16-2018 1.0.1 02-16-2018 1.0.1
-Increased maximum number of input channels to 8 -Increased maximum number of input channels to 8
-Added zoom/scroll bar for waveform -Added zoom/scroll bar for waveform