From 0f1742fbbfa6e6eebe32f1a1fc0b9d470f370515 Mon Sep 17 00:00:00 2001 From: xenakios Date: Mon, 19 Feb 2018 17:39:10 +0200 Subject: [PATCH] Show approximate output duration in info label --- Source/PluginEditor.cpp | 6 ++++-- readme.txt | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index 455a8b4..ba5eac2 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -260,8 +260,10 @@ void PaulstretchpluginAudioProcessorEditor::timerCallback(int id) infotext += String(processor.getStretchSource()->m_param_change_count); infotext += " param changes "; } - infotext += m_last_err + " FFT size " + - String(processor.getStretchSource()->getFFTSize()); + infotext += m_last_err + " [FFT size " + + 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) infotext += " " + String(processor.m_abnormal_output_samples) + " invalid sample values"; if (processor.isNonRealtime()) diff --git a/readme.txt b/readme.txt index 08af890..057ebb6 100644 --- a/readme.txt +++ b/readme.txt @@ -8,6 +8,8 @@ Released under GNU General Public License v.2 license. 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 -Increased maximum number of input channels to 8 -Added zoom/scroll bar for waveform