From 732d0ed9809e5521b91680ff3ac8f6f8ee99d2c3 Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Fri, 11 Sep 2020 17:11:03 +0100 Subject: [PATCH] More informative output --- main/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main/main.cpp b/main/main.cpp index 837b5fa..53c865c 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -630,8 +630,10 @@ int main(int argc, char **argv) if (nextFreqFrame <= countIn) { double s = frequencyshift * freqMapItr->second; if (debug > 0) { - cerr << "at latency-adjusted frame " << countIn - << " updating frequency ratio to " << s << endl; + cerr << "at frame " << countIn + << " (requested at " << freqMapItr->first + << " plus latency " << ts.getLatency() + << ") updating frequency ratio to " << s << endl; } ts.setPitchScale(s); ++freqMapItr;