You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there are zero values in the spectrogram array (the intensity is null) the np.log10 raises an Error (because log10(0) = -inf). Because the log10 is used to reduce the range of the values, when a value is zero, zero should be returned.
olivecha
added a commit
to olivecha/timbral_models
that referenced
this issue
Aug 20, 2021
When there are zero values in the spectrogram array (the intensity is null) the np.log10 raises an Error (because log10(0) = -inf). Because the log10 is used to reduce the range of the values, when a value is zero, zero should be returned.
The error occurs when there is a zero in the array :
a working fix is replacing the line 217 with :
The text was updated successfully, but these errors were encountered: