Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 14:085f34c73939
* IntegerTimeStretcher -> PhaseVocoderTimeStretcher (no longer confined to
integer multiples)
author | Chris Cannam |
---|---|
date | Wed, 13 Sep 2006 11:06:28 +0000 |
parents | ee967635c728 |
children | 3715efc38f95 |
line wrap: on
line diff
--- a/main/MainWindow.cpp Tue Sep 12 19:13:12 2006 +0000 +++ b/main/MainWindow.cpp Wed Sep 13 11:06:28 2006 +0000 @@ -2860,12 +2860,12 @@ // int factor = 11 - speed; if (speed > 10) factor = 1.0 / factor; std::cerr << "factor = " << factor << std::endl; - +/* int iinc = 128; int oinc = lrintf(iinc * factor); factor = (float(oinc) + 0.01) / iinc; std::cerr << "corrected factor = " << factor << std::endl; - +*/ m_playSpeed->setToolTip(tr("Playback speed: %1") .arg(factor != 1 ? QString("1/%1").arg(factor) :