Mercurial > hg > silvet
comparison src/Silvet.cpp @ 300:ba5f3b084466 livemode
A thresholding "fix"
author | Chris Cannam |
---|---|
date | Fri, 28 Nov 2014 18:15:44 +0000 |
parents | ebe5e0942bb8 |
children | 00fab71b80ec |
comparison
equal
deleted
inserted
replaced
299:a4216826f01c | 300:ba5f3b084466 |
---|---|
660 | 660 |
661 // In HQ mode, the CQ returns 600 bins and we ignore the | 661 // In HQ mode, the CQ returns 600 bins and we ignore the |
662 // lowest 55 of them (assuming binsPerSemitone == 5). | 662 // lowest 55 of them (assuming binsPerSemitone == 5). |
663 // | 663 // |
664 // In draft and live mode the CQ is an octave shorter, | 664 // In draft and live mode the CQ is an octave shorter, |
665 // returning 540 bins, so we instead pad them with an | 665 // returning 540 bins or equivalent, so we instead pad |
666 // additional 5 zeros. | 666 // them with an additional 5 or equivalent zeros. |
667 // | 667 // |
668 // We also need to reverse the column as we go, since the | 668 // We also need to reverse the column as we go, since the |
669 // raw CQ has the high frequencies first and we need it | 669 // raw CQ has the high frequencies first and we need it |
670 // the other way around. | 670 // the other way around. |
671 | 671 |