Mercurial > hg > cepstral-pitchtracker
view libmain.cpp @ 1:c73b7b595d9c
Change "relative to mean" to "relative to RMS", and add peak-to-RMS output. Add a mean-filter history. Remove essentially useless forward-power method (same as forward-magnitude with 2x factor). Refactor a bit
author | Chris Cannam |
---|---|
date | Mon, 25 Jun 2012 11:45:33 +0100 |
parents | 89c5d5998cda |
children | 9366c8a58778 |
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ #include <vamp/vamp.h> #include <vamp-sdk/PluginAdapter.h> #include "SimpleCepstrum.h" static Vamp::PluginAdapter<SimpleCepstrum> cepPluginAdapter; const VampPluginDescriptor * vampGetPluginDescriptor(unsigned int version, unsigned int index) { if (version < 1) return 0; switch (index) { case 0: return cepPluginAdapter.getDescriptor(); default: return 0; } }