olivierlar / miningsuite

Comprehensive Matlab framework for signal, audio and music analysis, articulating audio and symbolic approaches
http://olivierlar.github.io/miningsuite/
BSD 3-Clause "New" or "Revised" License
52 stars 10 forks source link

Data length different by 1: mirspectrum(…, ‘Max’, mi) -> sig.spectrum(…, ‘Max’, mi) #11

Closed emoninet2 closed 4 years ago

emoninet2 commented 4 years ago

The data size of that produced by mirspectrum(…, ‘Max’, mi) is more than sig.spectrum(…, ‘Max’, mi) by 1.

When tested with ragtime.wav, the size of the data was as follows:

mirspectrum(…, ‘Max’, mi) -> 596 sig.spectrum(…, ‘Max’, mi) -> 595

olivierlar commented 4 years ago

Bug found in MIRtoolbox. Now corrected.