diff options
-rw-r--r-- | src/simpl/partial_tracking.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simpl/partial_tracking.cpp b/src/simpl/partial_tracking.cpp index bb22709..f93f1fd 100644 --- a/src/simpl/partial_tracking.cpp +++ b/src/simpl/partial_tracking.cpp @@ -128,6 +128,7 @@ void MQPartialTracking::update_partials(Frame* frame) { MQPeakList* partials = mq_track_peaks(_peak_list, &_mq_params); partials = mq_sort_peaks_by_frequency(partials, num_peaks); + _peak_list = partials; int num_partials = 0; while(partials && partials->peak && (num_partials < _max_partials)) { frame->add_partial(partials->peak->amplitude, |