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
ERROR :
line 253, in timbral_hardness
segment /= float(max(segment))
ValueError: max() arg is an empty sequence
To confirm I tried to print the values of segment and found out one of the segments is an empty list for this sound. I tried to add a condition to ignore the block if there is an empty sequence but couldn't solve it and not quite sure how to optimise the code for this use case
The text was updated successfully, but these errors were encountered:
Got the following error when I tried to compute timbral_hardness for the following sound. I suspect it's because the sound has too short attack time.
http://freesound.org/people/ShawnyBoy/sounds/165394/
ERROR :
line 253, in timbral_hardness
segment /= float(max(segment))
ValueError: max() arg is an empty
sequence
To confirm I tried to print the values of segment and found out one of the segments is an empty list for this sound. I tried to add a condition to ignore the block if there is an empty sequence but couldn't solve it and not quite sure how to optimise the code for this use case
The text was updated successfully, but these errors were encountered: