Mercurial > hg > calciumsiganalyser
view CalciumSignalAnalyser_plugins.cpp @ 1:26c75dbfe61c
Update of the documentation and Readme file
author | mathieub <mathieu.barthet@eecs.qmul.ac.uk> |
---|---|
date | Mon, 20 Jun 2011 22:10:14 +0100 |
parents | cd5e0ac31ff7 |
children | e26a8489c148 |
line wrap: on
line source
/* Calcium Signal Analyser Vamp Plugin Description: Detects and characterises the transients in noisy signals. Authors: Mathieu Barthet. Based on the QM Vamp note onset detector plugin by Christian Landone, Chris Duxbury, and Juan Pablo Bello. Version: 1 Centre for Digital Music, Queen Mary University of London. All rights reserved. */ #include <vamp/vamp.h> #include <vamp-sdk/PluginAdapter.h> #include "CalciumSignalAnalyser.h" // Declare one static adapter here for each plugin class in this library. static Vamp::PluginAdapter<CalciumSignalAnalyser> CalciumSignalAnalyserAdapter; // This is the entry-point for the library, and the only function that // needs to be publicly exported. const VampPluginDescriptor * vampGetPluginDescriptor(unsigned int version, unsigned int index) { if (version < 1) return 0; // Return a different plugin adaptor's descriptor for each index, // and return 0 for the first index after you run out of plugins. // (That's how the host finds out how many plugins are in this // library.) switch (index) { case 0: return CalciumSignalAnalyserAdapter.getDescriptor(); default: return 0; } }