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
I get "ValueError: zero-size array to reduction operation minimum which has no identity" error when I try to calculate T60 for impulse response using pyroomacoustics.experimental.rt60.measure_rt60 . The issue arises while calculating i_decay from rt60.py in line 77 of measure_rt60 function .i.e. while executing this line "i_decay = np.min(np.where(-5 - decay_db - energy_db > 0)[0])" . It would be of great help if I get to know how to resolve this issue.
The text was updated successfully, but these errors were encountered:
Hi @nsrao98 , I have seen this issue before. The RT60 computation has a parameter of how much decay to use to estimate the RT60. The default is decay_db=60, which requires a fairly long response.
You could try to set the value to 30 or 20 dB for example.
Ideally, the method should be more robust... 😓
I get "ValueError: zero-size array to reduction operation minimum which has no identity" error when I try to calculate T60 for impulse response using pyroomacoustics.experimental.rt60.measure_rt60 . The issue arises while calculating i_decay from rt60.py in line 77 of measure_rt60 function .i.e. while executing this line "i_decay = np.min(np.where(-5 - decay_db - energy_db > 0)[0])" . It would be of great help if I get to know how to resolve this issue.
The text was updated successfully, but these errors were encountered: