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
Hi, thank you very much for your work, I recently found the following problems while generating rir using hybrid method:
The distance from the simulated sound source to the mic is about 0.17m, and the subscript of the direct sound (the maximum rir) can be calculated to be about 15 sampling points, and the simulated rir actually has 55 points. May I ask what caused it? When using gpurir, there is no such problem
From the spectrum of the generated rir, the high-frequency gain is obviously larger, and there are vertical bars at the tail, I wonder if it is reasonable?
The following is the code of my experiment. Please help me check whether hybrid method is used correctly. Thank you very much!
====
import pyroomacoustics as pra
import pdb
import numpy as np
import soundfile as sf
Hi, thank you very much for your work, I recently found the following problems while generating rir using hybrid method:
The following is the code of my experiment. Please help me check whether hybrid method is used correctly. Thank you very much!
====
import pyroomacoustics as pra
import pdb
import numpy as np
import soundfile as sf
room_dim = [5.25,11.01,3.09]
mic_locs = np.c_[[2.53,2.35, 1.31]]
rt60 = 1.01
fs=32000
e_absorption, max_order = pra.inverse_sabine(rt60, room_dim)
room = pra.ShoeBox(
room_dim,
fs=fs,
materials=pra.Material(e_absorption),
max_order=3,
ray_tracing=True,
air_absorption=True,
)
room.add_source([2.43, 2.40, 1.43])
room.add_microphone_array(mic_locs)
room.compute_rir()
RIRs = room.rir[0][0]
sf.write('rir.wav',RIRs,fs)
The text was updated successfully, but these errors were encountered: