view libmain.cpp @ 5:05c558f1a23b

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 02587f02ef41
children 10dfd77951bf
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;
    }
}