Esempio n. 1
0
const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int vampApiVersion,
                                                    unsigned int index)
{
    if (vampApiVersion < 2) return 0;

    switch (index) {
    case  0: return onsetAdapter.getDescriptor();
    case  1: return pitchAdapter.getDescriptor();
    case  2: return notesAdapter.getDescriptor();
    case  3: return tempoAdapter.getDescriptor();
    case  4: return silenceAdapter.getDescriptor();
    default: return 0;
    }
}
Esempio n. 2
0
const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int version,
                                                    unsigned int index)
{
    if (version < 1) return 0;

    switch (index) {
    case  0: return SNRZFindPulseAdapater.getDescriptor();
    case  1: return findPulseFDBatchAdapter.getDescriptor();
    case  2: return findPulseFDAdapter.getDescriptor();
    case  3: return findPulseTDBatchAdapter.getDescriptor();
    case  4: return findPulseTDAdapter.getDescriptor();
    default: return 0;
    }
}
Esempio n. 3
0
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 OnsetsUAPluginAdapter.getDescriptor();
    case  1: return mf0UAPluginAdapter.getDescriptor();
    default: return 0;
    }
}
const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int version,
                                                    unsigned int index)
{
    if (version < 1) return 0;

    switch (index) {
    case  0: return ZeroCrossingAdapter.getDescriptor();
    case  1: return MarsyasBExtractZeroCrossingsAdapter.getDescriptor();
    case  2: return MarsyasBExtractCentroidAdapter.getDescriptor();
    case  3: return MarsyasBExtractLPCCAdapter.getDescriptor();
    case  4: return MarsyasBExtractLSPAdapter.getDescriptor();
    case  5: return MarsyasBExtractMFCCAdapter.getDescriptor();
    case  6: return MarsyasBExtractRolloffAdapter.getDescriptor();
    case  7: return MarsyasBExtractSCFAdapter.getDescriptor();
    case  8: return MarsyasBExtractSFMAdapter.getDescriptor();
	case  9: return MarsyasIBT.getDescriptor();
    default: return 0;
    }
}
Esempio n. 5
0
const VampPluginDescriptor *
vampGetPluginDescriptor(unsigned int version, unsigned int index)
{
    if (version < 1) return 0;

    switch (index) {
    case  0: return mbpmPluginAdapter.getDescriptor();
    default: return 0;
    }
}
Esempio n. 6
0
const VampPluginDescriptor *
vampGetPluginDescriptor(unsigned int version, unsigned int index)
{
    if (version < 1) return 0;

    switch (index) {
    case  0: return hzAdapter.getDescriptor();
    case  1: return midiAdapter.getDescriptor();
    case  2: return chromaAdapter.getDescriptor();
    default: return 0;
    }
}
Esempio n. 7
0
const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int version,
                                                    unsigned int index)
{
    if (version < 1) return 0;

    switch (index) {
    case  0: return zeroCrossingAdapter.getDescriptor();
    case  1: return spectralCentroidAdapter.getDescriptor();
    case  2: return percussionOnsetAdapter.getDescriptor();
    case  3: return amplitudeAdapter.getDescriptor();
    case  4: return onsetDetectorAdapter.getDescriptor();
    case  5: return VampEBUr128Adapter.getDescriptor();
    case  6: return VampTruePeakAdapter.getDescriptor();
#ifdef HAVE_AUBIO
    case  7: return onsetAdapter.getDescriptor();
#endif
    default: return 0;
    }
}