Skip to content

Analyse Impulse Response

Analyse Impulse Response icon

Analysis ยท AnalyseIR

Analyse impulse responses (IRs): acoustic parameters such as EDT, T20 and C50, and the time and frequency responses for Plot 2D, of each source-receiver pair chosen. Computed in the compas_acoustics worker.

Analyse Impulse Response on the Grasshopper canvas

Inputs

Name Type Access Default Description
irs ghdoc tree ImpulseResponse object(s), as Simulate gives them. Sources and receivers are numbered over the responses as connected, in the order they come: the n-th distinct source (receiver) is source (receiver) n, so a filtered or reordered list renumbers the pairs.
source_idx int list Index or indices of the source(s) to analyse, counted over the connected responses. Dropdown: All, or 'n: name'. Empty analyses every source. Optional.
receiver_idx int list Index or indices of the receiver(s) to analyse, counted over the connected responses. Dropdown: All, or 'n: name'. Empty analyses every receiver. Optional.

Outputs

Name Description
parameters One branch per source-receiver pair, path {receiver;source}: the list of acoustic parameters: 'EDT', 'T20', 'T30', 'C50', 'C80', 'D50', 'DRR', 'Ts', 'STI' (with its modulation transfer index per band), 'G', 'SPL' and 'LF'. G and SPL (the sound pressure level from the source's level at 1 m, overall A-weighted) only for a simulated response; LF, the early lateral energy fraction, only for an ambisonic one. Each title ends with ' - source to receiver'.
time One branch per source-receiver pair, path {receiver;source}: the impulse response against time, for Plot 2D or a panel: the W channel of an ambisonic response, both ears (left, right) of a binaural one. Right-click the output to choose the scale: dB (default), the level re the peak, floored 100 dB below it, over the whole response; or linear, the amplitude, ending 5 % after the Schroeder curve has fallen 60 dB, below which the amplitude is not visible. The parameters and the frequency output use the whole response.
frequency One branch per source-receiver pair, path {receiver;source}: the frequency response, 1/3-octave smoothed, 20 Hz to 20 kHz in dB re the peak, for Plot 2D or a panel: the W channel of an ambisonic response, both ears (left, right) of a binaural one.

Used in

Python equivalent

compas_acoustics.Analyser