Skip to content

Deconstruct IR Graph

Deconstruct IR Graph icon

Simulation ยท DeIRGraph

Deconstruct an impulse response graph into ImpulseResponse(s). It reads the responses of the simulation method whose component the graph came from: Simulate Mono gives the mono responses, Simulate Binaural the binaural ones, Simulate Ambisonics the ambisonic ones.

Deconstruct IR Graph on the Grasshopper canvas

Inputs

Name Type Access Default Description
ir_graph ghdoc item Impulse response graph.
source_idx int list Index or indices of the source(s) to keep, in the order of the scene's sources. With receiver_idx it picks a source-receiver pair, e.g. to pass a single impulse response to Analyse Impulse Response. Optional.
receiver_idx int list Index or indices of the receiver(s) to keep, in the order of the scene's receivers. Optional.

Outputs

Name Description
ir ImpulseResponse object(s).
sources Source object(s).
receivers Receiver object(s).
edges Relationships between sources and receivers as Line(s).

Used in

Python equivalent

compas_acoustics.ImpulseResponse