essentia
essentia copied to clipboard
LogSpectrum - Make number of octaves configurable
Hi guys,
I was using LogSpectrum lately. I realize the output spectrum it is limited to 7 or 8 octaves.
Do you know if there is some way to extract the LogSpectrum for all frequencies? It would be nice to cover the whole spectrum without discarding HF content or to providing n_octaves as a parameter.
Thanks in advance
This should be as easy as making _nOctave
a parameter. Right now it is hardcoded. A pull-request is welcome.
yes, that would be nice. I will do a PR next week
Added as parameter and a unittest in https://github.com/MTG/essentia/pull/1203
@xaviliz the PR https://github.com/MTG/essentia/pull/1203 was closed. Any updates on its future?
Thanks! Not so much. It would be nice to assess it as spectral descriptor in different tasks.