MTG / essentia

C++ library for audio and music analysis, description and synthesis, including Python bindings
http://essentia.upf.edu
GNU Affero General Public License v3.0
2.82k stars 527 forks source link

Vamp plugin crashes when tweaking the min/max frequency bound as soon as min >= max #358

Open dbogdanov opened 8 years ago

dbogdanov commented 8 years ago

On every parameter tweak in sonic-visualizer interface, Essentia's wrapped algorithm is being reconfigured. As soon as Essentia throws exception due to incorrect parameters, the Vamp plugin crashes.

Tested with MFCCs, GMFCC, SpectralPeaks.

nartes commented 7 years ago

Tested with PitchYIN and PitchYIN Confidence against 4ffd830 commit. The problem still exists. It also craches when max frequency is less than 43 Hz. Whereas aubio estimator works fine.


Input ends.
configure: looking for output: pitchconfidence
Feature extraction plugin "PitchYinFFT" reports preferred block size as 0
size: 1024, increment: 512
terminate called after throwing an instance of 'essentia::EssentiaException'
  what():  PitchYinFFT: maxFrequency is lower than minFrequency, or they are too close, or they are out of the interval of detectable frequencies with respect to the specified frameSize. Minimum detectable frequency is 43.0664 Hz