-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Trying to play an 8 bit file, got a crash.
Here is the traceback:
Traceback (most recent call last):
File "/home/carloratm/prj/SampleBrowse/samplebrowsesrc/__init__.py", line 1272, in setCurrentWave
self.drawWave(fileIndex)
File "/home/carloratm/prj/SampleBrowse/samplebrowsesrc/__init__.py", line 1284, in drawWave
self.waveView.drawWave(waveData)
File "/home/carloratm/prj/SampleBrowse/samplebrowsesrc/widgets/waveview.py", line 189, in drawWave
self.waveScene.drawWave(waveData, self.viewport().rect().width())
File "/home/carloratm/prj/SampleBrowse/samplebrowsesrc/widgets/waveview.py", line 76, in drawWave
leftMin = np.amin(np.pad(leftData, (0, step - leftData.size % step), mode='constant', constant_values=0).reshape(-1, step), axis=1)
ZeroDivisionError: integer division or modulo by zero
Please find attached the sample I am trying to play:
Metadata
Metadata
Assignees
Labels
No labels