fourMs / MGT-python

Musical Gestures Toolbox for Python
https://www.uio.no/ritmo/english/research/labs/fourms/downloads/software/musicalgesturestoolbox/mgt-python/index.html
GNU General Public License v3.0
52 stars 11 forks source link

Index out of range in audio object #300

Closed alexarje closed 1 year ago

alexarje commented 1 year ago

I get an index error for an audio file. Is there a boundary problem? Screenshot from 2023-08-07 09-14-13

joachimpoutaraud commented 1 year ago

Thanks for reporting the issue! It was just a try and except issue, where the except was associated to a specific error only (KeyError). I have removed it so that the function returns now the waveform without any errors in any kind of situation.