Mercurial > hg > qm-dsp
diff dsp/segmentation/cluster_segmenter.c @ 20:8bdbda7fb893
* First cut at properly integrating the segmenter and making it work right
author | cannam |
---|---|
date | Wed, 09 Jan 2008 16:50:04 +0000 |
parents | 8e90a56b4b5f |
children | 6fc20388d29e |
line wrap: on
line diff
--- a/dsp/segmentation/cluster_segmenter.c Wed Jan 09 10:48:08 2008 +0000 +++ b/dsp/segmentation/cluster_segmenter.c Wed Jan 09 16:50:04 2008 +0000 @@ -36,6 +36,7 @@ sum += chroma[t][b]; for (b = 0; b < bins; b++) chroma[t][b] /= sum; + */ /* normalise to unit max - NO this made results much worse! maxchroma = 0; for (b = 0; b < bins; b++)