Mercurial > hg > match-vamp
diff src/FeatureConditioner.h @ 130:8e240bbea845 refactors
FeatureConditioner tests
author | Chris Cannam |
---|---|
date | Thu, 11 Dec 2014 13:53:16 +0000 |
parents | eed5f9594268 |
children | 046f51a2ca25 |
line wrap: on
line diff
--- a/src/FeatureConditioner.h Thu Dec 11 12:54:46 2014 +0000 +++ b/src/FeatureConditioner.h Thu Dec 11 13:53:16 2014 +0000 @@ -52,8 +52,9 @@ * feature values. */ OutputRectifiedDerivative, - /** Output the difference between the previous and current - * features instead of the straight feature values. */ + /** Output the absolute difference between the previous and + * current features instead of the straight feature + * values. */ OutputDerivative, }; @@ -74,7 +75,9 @@ /** Silence threshold. If non-zero, any feature whose total * energy (simply the sum of feature values) is below that - * threshold will be rounded down to all zeros. */ + * threshold will be rounded down to all zeros. Note that + * this refers to the energy of the feature, not its + * derivative even if that is what is being returned. */ double silenceThreshold; /** Frame-to-frame decay factor in calculating long-term average */