diff --git a/src/algorithms/tonal/predominantpitchmelodia.cpp b/src/algorithms/tonal/predominantpitchmelodia.cpp index 085ff30be..323b1835d 100644 --- a/src/algorithms/tonal/predominantpitchmelodia.cpp +++ b/src/algorithms/tonal/predominantpitchmelodia.cpp @@ -229,6 +229,8 @@ void PredominantPitchMelodia::compute() { _pitchContoursMelody->output("pitchConfidence").set(pitchConfidence); _pitchContoursMelody->compute(); + + reset(); } PredominantPitchMelodia::~PredominantPitchMelodia() {