}
string
-Notes::getName() const
+Notes::getIdentifier() const
{
return "aubionotes";
}
string
-Notes::getDescription() const
+Notes::getName() const
{
return "Aubio Note Tracker";
}
string
+Notes::getDescription() const
+{
+ return "Estimate note onset positions, pitches and durations";
+}
+
+string
Notes::getMaker() const
{
return "Paul Brossier (plugin by Chris Cannam)";
ParameterList list;
ParameterDescriptor desc;
- desc.name = "onsettype";
- desc.description = "Onset Detection Function Type";
+ desc.identifier = "onsettype";
+ desc.name = "Onset Detection Function Type";
desc.minValue = 0;
desc.maxValue = 6;
desc.defaultValue = (int)aubio_onset_complex;
list.push_back(desc);
desc = ParameterDescriptor();
- desc.name = "pitchtype";
- desc.description = "Pitch Detection Function Type";
+ desc.identifier = "pitchtype";
+ desc.name = "Pitch Detection Function Type";
desc.minValue = 0;
desc.maxValue = 4;
desc.defaultValue = (int)aubio_pitch_yinfft;
list.push_back(desc);
desc = ParameterDescriptor();
- desc.name = "minpitch";
- desc.description = "Minimum Pitch";
+ desc.identifier = "minpitch";
+ desc.name = "Minimum Pitch";
desc.minValue = 0;
desc.maxValue = 127;
desc.defaultValue = 32;
list.push_back(desc);
desc = ParameterDescriptor();
- desc.name = "maxpitch";
- desc.description = "Maximum Pitch";
+ desc.identifier = "maxpitch";
+ desc.name = "Maximum Pitch";
desc.minValue = 0;
desc.maxValue = 127;
desc.defaultValue = 95;
list.push_back(desc);
desc = ParameterDescriptor();
- desc.name = "wraprange";
- desc.description = "Fold Higher or Lower Notes into Range";
+ desc.identifier = "wraprange";
+ desc.name = "Fold Higher or Lower Notes into Range";
desc.minValue = 0;
desc.maxValue = 1;
desc.defaultValue = 0;
list.push_back(desc);
desc = ParameterDescriptor();
- desc.name = "avoidleaps";
- desc.description = "Avoid Multi-Octave Jumps";
+ desc.identifier = "avoidleaps";
+ desc.name = "Avoid Multi-Octave Jumps";
desc.minValue = 0;
desc.maxValue = 1;
desc.defaultValue = 0;
list.push_back(desc);
desc = ParameterDescriptor();
- desc.name = "peakpickthreshold";
- desc.description = "Peak Picker Threshold";
+ desc.identifier = "peakpickthreshold";
+ desc.name = "Peak Picker Threshold";
desc.minValue = 0;
desc.maxValue = 1;
desc.defaultValue = 0.3;
list.push_back(desc);
desc = ParameterDescriptor();
- desc.name = "silencethreshold";
- desc.description = "Silence Threshold";
+ desc.identifier = "silencethreshold";
+ desc.name = "Silence Threshold";
desc.minValue = -120;
desc.maxValue = 0;
desc.defaultValue = -90;
OutputList list;
OutputDescriptor d;
- d.name = "notes";
+ d.identifier = "notes";
+ d.name = "Notes";
d.unit = "Hz";
- d.description = "Notes";
d.hasFixedBinCount = true;
d.binCount = 2;
d.binNames.push_back("Frequency");
InputDomain getInputDomain() const { return TimeDomain; }
+ std::string getIdentifier() const;
std::string getName() const;
std::string getDescription() const;
std::string getMaker() const;
}
string
-Onset::getName() const
+Onset::getIdentifier() const
{
return "aubioonset";
}
string
-Onset::getDescription() const
+Onset::getName() const
{
return "Aubio Onset Detector";
}
string
+Onset::getDescription() const
+{
+ return "Estimate note onset times";
+}
+
+string
Onset::getMaker() const
{
return "Paul Brossier (plugin by Chris Cannam)";
ParameterList list;
ParameterDescriptor desc;
- desc.name = "onsettype";
- desc.description = "Onset Detection Function Type";
+ desc.identifier = "onsettype";
+ desc.name = "Onset Detection Function Type";
desc.minValue = 0;
desc.maxValue = 6;
desc.defaultValue = (int)aubio_onset_complex;
list.push_back(desc);
desc = ParameterDescriptor();
- desc.name = "peakpickthreshold";
- desc.description = "Peak Picker Threshold";
+ desc.identifier = "peakpickthreshold";
+ desc.name = "Peak Picker Threshold";
desc.minValue = 0;
desc.maxValue = 1;
desc.defaultValue = 0.3;
list.push_back(desc);
desc = ParameterDescriptor();
- desc.name = "silencethreshold";
- desc.description = "Silence Threshold";
+ desc.identifier = "silencethreshold";
+ desc.name = "Silence Threshold";
desc.minValue = -120;
desc.maxValue = 0;
desc.defaultValue = -90;
OutputList list;
OutputDescriptor d;
- d.name = "onsets";
+ d.identifier = "onsets";
+ d.name = "Onsets";
d.unit = "";
- d.description = "Onsets";
d.hasFixedBinCount = true;
d.binCount = 0;
d.sampleType = OutputDescriptor::VariableSampleRate;
list.push_back(d);
d = OutputDescriptor();
- d.name = "detectionfunction";
+ d.identifier = "detectionfunction";
+ d.name = "Onset Detection Function";
d.unit = "";
- d.description = "Onset Detection Function";
d.hasFixedBinCount = true;
d.binCount = m_channelCount;
d.hasKnownExtents = false;
InputDomain getInputDomain() const { return TimeDomain; }
+ std::string getIdentifier() const;
std::string getName() const;
std::string getDescription() const;
std::string getMaker() const;
}
string
-Pitch::getName() const
+Pitch::getIdentifier() const
{
return "aubiopitch";
}
string
-Pitch::getDescription() const
+Pitch::getName() const
{
return "Aubio Pitch Detector";
}
string
+Pitch::getDescription() const
+{
+ return "Track estimated note pitches";
+}
+
+string
Pitch::getMaker() const
{
return "Paul Brossier (plugin by Chris Cannam)";
ParameterList list;
ParameterDescriptor desc;
- desc.name = "pitchtype";
- desc.description = "Pitch Detection Function Type";
+ desc.identifier = "pitchtype";
+ desc.name = "Pitch Detection Function Type";
desc.minValue = 0;
desc.maxValue = 4;
desc.defaultValue = (int)aubio_pitch_yinfft;
OutputList list;
OutputDescriptor d;
- d.name = "frequency";
+ d.identifier = "frequency";
+ d.name = "Frequency";
d.unit = "Hz";
- d.description = "Frequency";
d.hasFixedBinCount = true;
d.binCount = 1;
d.hasKnownExtents = false;
InputDomain getInputDomain() const { return TimeDomain; }
+ std::string getIdentifier() const;
std::string getName() const;
std::string getDescription() const;
std::string getMaker() const;
using std::cerr;
using std::endl;
-//#define HAVE_AUBIO_LOCKED_TEMPO_HACK
+#define HAVE_AUBIO_LOCKED_TEMPO_HACK
Tempo::Tempo(float inputSampleRate) :
Plugin(inputSampleRate),
}
string
-Tempo::getName() const
+Tempo::getIdentifier() const
{
return "aubiotempo";
}
string
-Tempo::getDescription() const
+Tempo::getName() const
{
return "Aubio Tempo Detector";
}
string
+Tempo::getDescription() const
+{
+ return "Estimate the musical tempo by tracking note onset timings";
+}
+
+string
Tempo::getMaker() const
{
- return "Paul Brossier (plugin by Chris Cannam)";
+ return "Paul Brossier (method by Matthew Davies, plugin by Chris Cannam)";
}
int
ParameterList list;
ParameterDescriptor desc;
- desc.name = "onsettype";
- desc.description = "Onset Detection Function Type";
+ desc.identifier = "onsettype";
+ desc.name = "Onset Detection Function Type";
desc.minValue = 0;
desc.maxValue = 6;
desc.defaultValue = (int)aubio_onset_complex;
list.push_back(desc);
desc = ParameterDescriptor();
- desc.name = "peakpickthreshold";
- desc.description = "Peak Picker Threshold";
+ desc.identifier = "peakpickthreshold";
+ desc.name = "Peak Picker Threshold";
desc.minValue = 0;
desc.maxValue = 1;
desc.defaultValue = 0.3;
list.push_back(desc);
desc = ParameterDescriptor();
- desc.name = "silencethreshold";
- desc.description = "Silence Threshold";
+ desc.identifier = "silencethreshold";
+ desc.name = "Silence Threshold";
desc.minValue = -120;
desc.maxValue = 0;
desc.defaultValue = -90;
OutputList list;
OutputDescriptor d;
- d.name = "beats";
+ d.identifier = "beats";
+ d.name = "Beats";
d.unit = "";
- d.description = "Beats";
d.hasFixedBinCount = true;
d.binCount = 0;
d.sampleType = OutputDescriptor::VariableSampleRate;
list.push_back(d);
#ifdef HAVE_AUBIO_LOCKED_TEMPO_HACK
- d.name = "tempo";
+ d.identifier = "tempo";
+ d.name = "Tempo";
d.unit = "bpm";
- d.description = "Tempo";
d.hasFixedBinCount = true;
d.binCount = 1;
d.hasKnownExtents = false;
InputDomain getInputDomain() const { return TimeDomain; }
+ std::string getIdentifier() const;
std::string getName() const;
std::string getDescription() const;
std::string getMaker() const;