Logo Search packages:      
Sourcecode: vamp-plugin-sdk version File versions  Download package

PercussionOnsetDetector::ParameterList PercussionOnsetDetector::getParameterDescriptors (  )  const [virtual]

Get the controllable parameters of this plugin.

Reimplemented from Vamp::PluginBase.

Definition at line 145 of file PercussionOnsetDetector.cpp.

{
    ParameterList list;

    ParameterDescriptor d;
    d.identifier = "threshold";
    d.name = "Energy rise threshold";
    d.description = "Energy rise within a frequency bin necessary to count toward broadband total";
    d.unit = "dB";
    d.minValue = 0;
    d.maxValue = 20;
    d.defaultValue = 3;
    d.isQuantized = false;
    list.push_back(d);

    d.identifier = "sensitivity";
    d.name = "Sensitivity";
    d.description = "Sensitivity of peak detector applied to broadband detection function";
    d.unit = "%";
    d.minValue = 0;
    d.maxValue = 100;
    d.defaultValue = 40;
    d.isQuantized = false;
    list.push_back(d);

    return list;
}


Generated by  Doxygen 1.6.0   Back to index