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
For multiple source-receiver combinations (in this case, multiple-source and single-receiver), you need the same number (let's say M) of impulse responses. Those have to be computed individually, which mean you will have 'M' set of impulse responses (waveforms and shifts).
Now we have the all impulse responses we need for the simulation. The next step is simulating the microphone signal which captures the sound waves emitted by all sources. The microphone signal is the superposition of the contributions from the individual sources. First, you have to simulate M signals corresponding to the sources using the impulse responses (or the waveform and shift from above). Then, add them up, which is now the captured signal. Keep in mind that the excitation signal differs for each source.
how can I get the Static impulse response from multiple sources.
#######################Static impulse respones########################
waveform, shift, _ = fractional_delay(delay, Lf, fs=fs, type='lagrange')
h, , = construct_ir_matrix(waveform * weight[:, np.newaxis], shift, N)
h = h.T
denom = denominator(h, Phi)# denominator of formula
#######################End of Static response######################
this is the code to calculate Static impulse response.
if mic num is two, distance is also two.
then can not calculate the waveform and shift and so on.
The text was updated successfully, but these errors were encountered: