Simulate Ambisonics¶
![]()
Simulation ยท SimAmbi
Simulate ambisonic room impulse responses (ACN, SN3D): image sources, optional edge diffraction around obstacles and at the edges of the room's boundary that open wider than 180 deg, and a directional feedback delay network tail. Choose the ambisonic order on the body: 1 (default) to 7. Needs the worker (Python >= 3.11) and a closed room.

Inputs¶
| Name | Type | Access | Default | Description |
|---|---|---|---|---|
scene |
ghdoc | item | Acoustic scene object. | |
tail |
str | item | Decay target of the tail: ray_tracing (default; its own ray-traced reference), reference (the connected reference), eyring or sabine (predicted, no simulation). A connected reference needs Tail Reference, and Tail Reference needs a reference. Optional. | |
reference |
ghdoc | list | Optional reference for the tail: connect the irs output of Simulate Mono, simulated for the same scene (a reference Simulate Mono kept from an earlier model is refused: rerun it first), one response per source and receiver (the wire also makes Grasshopper run the ray tracing first). Set Tail to Reference with it; any other tail is an error. Optional. | |
ism_order |
int | item | 3 |
Highest image source order in the early field. Choices: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. Optional. |
diffraction |
str | item | Edge diffraction around obstacles and at the edges of the room's boundary that open wider than 180 deg: none (default), udfa, or btms (slow). Optional. | |
late_envelope |
str | item | How the late field follows the reference: omni (default; its level per band to the reference's late energy), directional (as omni, and each delay line to its direction's share of the ray-traced energy), or off. An Eyring or Sabine tail has no reference to follow: the dropdown rests and the late envelope is off. Optional. | |
n_rays |
int | item | Number of rays per source of the rays the method traces itself: the reference of a ray_tracing tail, or the directional histograms of a given reference. Empty (default): Vorlaender's count for a direction's energy to 1 dB from the room's volume, at least 20000, as Simulate Mono takes by default. A larger number gives a smoother tail at a longer run. Not used, with a remark, when the method traces no rays (an Eyring or Sabine tail, or a given reference without a directional late envelope). Optional. | |
seed |
int | item | 42 |
Seed of the feedback matrices, the delay jitter and the rays the method traces, 42 as in the method: the same seed gives the same responses, and Simulate Binaural and Simulate Ambisonics up to Ambisonic order 3 the same late field; another number gives another realisation. Optional. |
run |
bool | item | Simulate when true: the body's Run button, or a Button or Boolean Toggle wired here. The simulation takes seconds to minutes and Grasshopper recomputes on every change of the inputs, so it starts only on a press; otherwise the responses of the last run are passed on until the next one, and the message says "model changed, rerun the simulation" when the scene differs from the run's. Optional. |
Outputs¶
| Name | Description |
|---|---|
irs |
The ambisonic impulse responses, one per source and receiver in scene order (receiver by receiver, sources within each). Connect them to Analyse Impulse Response, Audio Player or Auralise; decode them elsewhere. |