Skip to content

Simulate Mono

Simulate Mono icon

Simulation ยท SimMono

Simulate mono room impulse responses with pyroomacoustics: the image source method (ISM), plus ray tracing (RT) by default. Air absorption (ISO 9613-1) is always included, as in Simulate Binaural and Simulate Ambisonics. The reference of Simulate Binaural and Simulate Ambisonics.

Simulate Mono on the Grasshopper canvas

Inputs

Name Type Access Default Description
scene ghdoc item Acoustic scene object.
ism_order int item 3 Highest image source (ISM) order. With ray tracing, the ray tracer takes over after it. Choices: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. Optional.
ray_tracing bool item Add ray tracing after the image sources (default True). Off: image sources only. Materials without scattering coefficients scatter 0.05. Optional.
n_rays int item Number of rays per source. Empty (default): Vorlaender's count for a direction's energy to 1 dB from the room's volume, at least 20000, the count Simulate Binaural and Simulate Ambisonics trace their own reference with. A larger number gives a smoother tail at a longer run. Ray tracing only. Optional.
duration float item Length of the responses in seconds. Default: 1.5 times the longest Eyring reverberation time (0.5 to 12 s), traced again longer while the responses end before 2/3 of their T30, up to 12 s. A given duration is kept and warns when it cuts the decay. Ray tracing only. Optional.
seed int item 42 Seed of the ray tracing, 42 as in the method: the same seed gives the same responses, another number another realisation of the rays. Ray tracing only. 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, to Simulate Binaural and Simulate Ambisonics among others. Optional.

Outputs

Name Description
irs The mono 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, or to the reference of Simulate Binaural and Simulate Ambisonics.

Used in

Python equivalent

compas_acoustics.Mono