Mercurial > hg > vamp-simple-cepstrum
diff SimpleCepstrum.cpp @ 39:59701cbc4b93
Remove the pitch-tracker; it's now in a separate project (cepstral-pitchtracker)
author | Chris Cannam |
---|---|
date | Thu, 19 Jul 2012 17:51:57 +0100 |
parents | c70ebf24b419 |
children | d6acf12f0a8e |
line wrap: on
line diff
--- a/SimpleCepstrum.cpp Thu Jul 19 13:09:17 2012 +0100 +++ b/SimpleCepstrum.cpp Thu Jul 19 17:51:57 2012 +0100 @@ -442,7 +442,7 @@ // average according to the vertical filter length for (int j = -m_vflen/2; j <= m_vflen/2; ++j) { int ix = i + m_binFrom + j; - if (ix >= 0 && ix < m_blockSize) { + if (ix >= 0 && ix < (int)m_blockSize) { v += cep[ix]; ++n; }