mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 18:46:34 +01:00
windows compatible paths for analysis
This commit is contained in:
parent
ef169ce2ff
commit
014f8a582f
2 changed files with 2 additions and 17 deletions
|
|
@ -28,19 +28,12 @@ using namespace std;
|
||||||
|
|
||||||
/* need a static initializer function for this */
|
/* need a static initializer function for this */
|
||||||
|
|
||||||
string OnsetDetector::_op_id = X_("libardourvampplugins:aubioonset:2");
|
string OnsetDetector::_op_id = X_("aubio-onset");
|
||||||
|
|
||||||
OnsetDetector::OnsetDetector (float sr)
|
OnsetDetector::OnsetDetector (float sr)
|
||||||
: AudioAnalyser (sr, X_("libardourvampplugins:aubioonset"))
|
: AudioAnalyser (sr, X_("libardourvampplugins:aubioonset"))
|
||||||
, current_results (0)
|
, current_results (0)
|
||||||
{
|
{
|
||||||
/* update the op_id */
|
|
||||||
|
|
||||||
_op_id = X_("libardourvampplugins:aubioonset");
|
|
||||||
|
|
||||||
// XXX this should load the above-named plugin and get the current version
|
|
||||||
|
|
||||||
_op_id += ":2";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
OnsetDetector::~OnsetDetector()
|
OnsetDetector::~OnsetDetector()
|
||||||
|
|
|
||||||
|
|
@ -30,19 +30,11 @@ using namespace std;
|
||||||
|
|
||||||
/* need a static initializer function for this */
|
/* need a static initializer function for this */
|
||||||
|
|
||||||
string TransientDetector::_op_id = X_("libardourvampplugins:qm-onsetdetector:2");
|
string TransientDetector::_op_id = X_("qm-onset");
|
||||||
|
|
||||||
TransientDetector::TransientDetector (float sr)
|
TransientDetector::TransientDetector (float sr)
|
||||||
: AudioAnalyser (sr, X_("libardourvampplugins:qm-onsetdetector"))
|
: AudioAnalyser (sr, X_("libardourvampplugins:qm-onsetdetector"))
|
||||||
{
|
{
|
||||||
/* update the op_id */
|
|
||||||
|
|
||||||
_op_id = X_("libardourvampplugins:qm-onsetdetector");
|
|
||||||
|
|
||||||
// XXX this should load the above-named plugin and get the current version
|
|
||||||
|
|
||||||
_op_id += ":2";
|
|
||||||
|
|
||||||
threshold = 0.00;
|
threshold = 0.00;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue