# HG changeset patch # User Chris Cannam # Date 1417198544 0 # Node ID ba5f3b08446692f033432a4de146c8814bf1436c # Parent a4216826f01c9a8f8ea0f72e0e4b3889b160364c A thresholding "fix" diff -r a4216826f01c -r ba5f3b084466 src/LiveInstruments.cpp --- a/src/LiveInstruments.cpp Fri Nov 28 10:31:59 2014 +0000 +++ b/src/LiveInstruments.cpp Fri Nov 28 18:15:44 2014 +0000 @@ -61,7 +61,7 @@ live.maxPolyphony = original.maxPolyphony; live.pitchSparsity = original.pitchSparsity; live.sourceSparsity = original.sourceSparsity; - live.levelThreshold = original.levelThreshold; + live.levelThreshold = original.levelThreshold/10; //!!! but why? return live; } diff -r a4216826f01c -r ba5f3b084466 src/Silvet.cpp --- a/src/Silvet.cpp Fri Nov 28 10:31:59 2014 +0000 +++ b/src/Silvet.cpp Fri Nov 28 18:15:44 2014 +0000 @@ -662,8 +662,8 @@ // lowest 55 of them (assuming binsPerSemitone == 5). // // In draft and live mode the CQ is an octave shorter, - // returning 540 bins, so we instead pad them with an - // additional 5 zeros. + // returning 540 bins or equivalent, so we instead pad + // them with an additional 5 or equivalent zeros. // // We also need to reverse the column as we go, since the // raw CQ has the high frequencies first and we need it