diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-01 02:02:25 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-01 02:02:25 +0200 |
commit | 8fe2a308a58d08785d8d1b91114f0bcbca48419b (patch) | |
tree | 288ec6d0c8dc43e5399c2f2ddb152b676103ad15 /gtk2_ardour/rhythm_ferret.cc | |
parent | 82d1d7ef0bd499868b49d49847a2a320cc088f85 (diff) |
GUI updates for transient rework
Diffstat (limited to 'gtk2_ardour/rhythm_ferret.cc')
-rw-r--r-- | gtk2_ardour/rhythm_ferret.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc index 57e7632e21..7b1ba19782 100644 --- a/gtk2_ardour/rhythm_ferret.cc +++ b/gtk2_ardour/rhythm_ferret.cc @@ -225,7 +225,7 @@ RhythmFerret::run_analysis () break; } - (*i)->region()->set_transients (current_results); + (*i)->region()->set_onsets (current_results); current_results.clear(); } } @@ -360,7 +360,7 @@ RhythmFerret::do_split_action () for (RegionSelection::iterator i = regions.begin(); i != regions.end(); ++i) { AnalysisFeatureList features; - features = (*i)->region()->transients(); + (*i)->region()->transients(features); merged_features.insert (merged_features.end(), features.begin(), features.end()); } @@ -407,7 +407,7 @@ RhythmFerret::clear_transients () current_results.clear (); for (RegionSelection::iterator i = regions_with_transients.begin(); i != regions_with_transients.end(); ++i) { - (*i)->region()->set_transients (current_results); + (*i)->region()->set_onsets (current_results); } regions_with_transients.clear (); |