Skip to content

RuntimeError running LoopBpmEstimator on very short inputs #1219

Open
@dbogdanov

Description

@dbogdanov

LoopBpmEstimator is not supposed to work on very short inputs. Should it still accept such inputs and provide 0 BPM value?

Currently, it results in this exception with a misleading text:

from essentia.standard import LoopBpmEstimator
LoopBpmEstimator(confidenceThreshold=0.95)([0] * 1000)

results in

RuntimeError: In LoopBpmEstimator.compute: Descriptor name 'lags' of type std::vector<Real> not found

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions