Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

Added

Changed

Removed

[0.2.0] 2026-11-27

Added

  • Added the proxy reference to the virtual coefficient lab: ScatteringSample.as_drawn(mesh, reference=proxy) takes the simplified mesh the room model will carry the lab's s on, so that s measures the share of the detailed object's reflection that the proxy does not reproduce; sample.reference_kind is "flat" or "proxy", and a proxy result is flagged non-ISO.
  • Added the diffusion coefficient to the lab: diffusion_coefficient (ISO 17497-2 eq. 6) and normalised_diffusion, and ScatteringResult.d_angle, d_bands and d_octaves (d_n per source, one-third-octave band and octave, with the same random-incidence weights as s), returned by every method.
  • Added method="geometric" to measure_scattering: a fast heuristic preview (seconds, against minutes for Kirchhoff). n_rays specular rays per source direction reflect off the rigid sample and reference, mounted in a rigid baffle at z = 0, and are binned on the receiver hemisphere; s is the geometric s_max times the depth curve 1 - exp(-(2 pi f h / c)^2), with no phase and no diffraction. Its accuracy against Kirchhoff is recorded in the module docstring of compas_acoustics.lab.geometric. It needs trimesh (and embreex for speed) on Python >= 3.11, which the lab extra now installs.
  • Added compas_acoustics.lab.raycast.RayCaster, the first-hit ray caster (trimesh with the Embree backend) behind the geometric method.
  • The geometric method warns when an object stands a mean height above the mounting plane of more than twice the spread of its relief, which is what a closed mesh on a backing thicker than baseplate looks like: the backing then sets the depth h. GeometricResponse gained height_mean and height_spread. If the backing sits flush on the wall, pass its thickness as baseplate to as_drawn.
  • Added the Grasshopper virtual coefficient lab, three components in a new "Lab" subcategory: Scattering Sample (a mesh, Brep, surface or SubD as a relief to measure, as_drawn or a repeated disc), Scattering Lab (the scattering and diffusion coefficients of a sample by the geometric, kirchhoff or bem method) and Polar Preview (the reflected level of one preview source and octave as a coloured balloon at centre). Scattering Lab's scattering output, the 7 octaves of a material, wires into Construct Material. The geometric method runs when its inputs change; Kirchhoff and BEM take minutes to hours and run only on the Run button. The lab measures an object that lies on the World XY plane facing +Z; Scattering Sample has an optional plane input (the frame argument of make_scattering_sample) for an object that lies elsewhere, and an object whose footprint on XY has no area is a readable error. Scattering Lab keeps its run (or its result) when Scattering Sample is solved again with the same geometry, and says when its outputs are the last run's because the inputs changed.
  • Added the compas_pb messages ArrayData, ScatteringSampleData and ScatteringResultData, and the worker functions make_scattering_sample(mesh, mode, diameter, reference, baseplate, symmetry, period, name, frame), run_scattering_lab(sample, method, preset, band_range, settings), and polar_balloon(result, preview, octave, body, radius, floor_db).
  • run_scattering_lab returns the heuristic note of the geometric method (that s is modelled from the geometry, not computed) as notes and no longer in warnings, and the Scattering Lab component shows it as a Remark instead of a warning; measure_scattering still warns, and a kirchhoff or bem run has no notes.
  • The Polar Preview balloon (polar_balloon) keeps a 3 % minimum radius, so that a sparse geometric result, most of whose cells are empty, still gives a valid mesh instead of one collapsed to the centre.
  • Added the Save RIR button to Auralise and the worker function save_impulse_responses: the impulse responses of the chosen pairs as WAV files, named as Save auralisation names its signals (<name>_mic_<r>_<s>.wav), at the level the body chooses, each with its JSON metadata. ImpulseResponse.to_wav takes a gain on the raw response and records its inverse as the factor from_wav reads back. Auralise's Save button is now Save auralisation.
  • Added a flamenco guitar excerpt (guitar.wav, TH Koeln Audio Group, CC BY-SA 3.0) and a castanets rhythm (castanets.wav, Matthias Frank, IEM Graz, CC0) to anechoic_soundfiles_library, with their sources and licences in its README.
  • Added the worker function room_measures(scene): the volume of a closed room (else None) and the area exposed to the air, as the simulation methods take them, for the Acoustic Scene message.

Changed

  • The Grasshopper plugin is released with the library: its version is the library's, and it requires that release of compas_acoustics (>=X.Y.Z up to the next breaking release). bump-my-version updates both versions in the .csproj, and release.yml publishes the plugin to Yak after the library is on PyPI. publish_yak can still be run by hand.
  • Changed Plot 2D to show a one-sentence description of the chosen parameter right of the Select parameter dropdown (dimmed while the dropdown rests): what the parameter is and its standard, from one table beside PlotSelection.Names.
  • Changed Visualise Energy Map to compute the map when its Run button is pressed (or its new run input is true), not on every change of its inputs: the map takes seconds, and on the one worker it slowed the components that run on every change of the scene, Simulate Mono among them. Until a press the last map stays drawn; changing the band or the range redraws it without a run.
  • Changed Simulate Mono to simulate when its Run button is pressed (or its new run input, its last, is true), as Simulate Binaural and Simulate Ambisonics do, not on every change of its inputs. Until the first press it outputs nothing and says "press Run" (a hybrid with Tail Reference waits for its reference meanwhile). After a run it passes its responses on until the next run, a change of a source's sound included, and says when the settings differ from the run's; Cancel stops a run.
  • Removed the energy_thres input of Simulate Mono: it runs with the method's 1e-7, pyroomacoustics' own (Mono(energy_thres=) stays in Python). A definition saved with another value reads with its inputs in place and remarks that the responses now use 1e-7 until it is saved again.
  • Changed the Grasshopper components to take the descriptions of the installed plugin when a definition is opened: Grasshopper restored those the file was saved with, so a definition from an earlier release showed its tooltips.
  • Changed Simulate Mono, Simulate Binaural and Simulate Ambisonics to take the methods' own seed, 42, when the seed input is left as it is, in place of a new random seed on every run: the components give what Mono(), Binaural() and Ambisonics() give in Python. The seed port shows 42, and the message names the seed the run used.
  • Changed Simulate Mono, Simulate Binaural and Simulate Ambisonics to keep their responses when the model changes, until Run is pressed again, where they output nothing: the message says "model changed, rerun the simulation" and a warning colours the body; a change of the settings says "settings changed, rerun the simulation", for Simulate Binaural and Simulate Ambisonics now every setting and a reference simulated again (they compared only the tail, the orders and diffraction). A recompute that only draws new guids (receivers, objects, materials, sources) leaves the model as it was: the responses hold, carrying the current guids. While their responses hold the message says how many they simulated (simulated 4 responses), no longer the sampling rate (48 kHz, 4 responses). While they run it says simulating and, per response, simulating 2/4: the worker's progress stage of Mono (was image sources or ray tracing, then responses) and of the hybrids' rendering (was rendering). Simulate Binaural and Simulate Ambisonics refuse a reference that Simulate Mono kept from an earlier model, with a warning, and an error on Run: "The reference is from an earlier model: rerun Simulate Mono first."
  • Changed Simulate Mono's body to that of Simulate Binaural and Simulate Ambisonics: the ISM order slider. Ray tracing is an input (default on), no longer a toggle; the Air toggle and its absorb_air input are gone, and Simulate Mono always includes air absorption, as the hybrid components do (Mono(air_absorption=) stays in Python). A definition saved with the former body reads with its inputs in place, shows Ray tracing as an input with its saved value, and, if saved with Air off, remarks that the responses now include air absorption until it is saved again.
  • Changed the ISM order of Simulate Mono, Simulate Binaural and Simulate Ambisonics to a slider of stops, one per order from 0 to 10, labelled under the track, as Polar Preview's octave slider; it shows 3, the methods' default, until moved.
  • Changed the order of Visualise Rays to a slider of stops, one per order from 1 to the traced max_order and All (the default, the empty input: every traced order); beyond 12 orders only every k-th stop is labelled. The stops follow max_order.
  • Changed Visualise Rays to play at a chosen speed and time: a time slider (ms; it scrubs and follows the playback) and a Speed dropdown (0.25x to 4x, a factor of the whole field in 10 s) beside Play and Rewind, with the inputs time and speed. The rays are drawn from Play or a time on. Its max_order and seed inputs hide with the control inputs on a new component ("Show control inputs" shows them). A definition saved before keeps max_order and seed where they were and reads time and speed hidden when it saved its control inputs hidden.
  • Changed Visualise Billiard to trace its own rays from a scene and play them as balls, as Visualise Rays plays its rays: the inputs of Visualise Rays (scene, source_idx, n_balls in place of n_rays, max_order, direction, angle, order, time, speed) without scattering, and the same body (source, order, time, Speed, Play and Rewind). A definition saved with the former Visualise Billiard reads with the inputs of a new one: connect a scene.
  • Changed the step sliders (the ISM order, the Ambisonic order, Polar Preview's octave, Visualise Rays' order) to span the width of the body: the track's ends stand half the end label, the knob's radius and a small margin from its edges.
  • Changed Simulate Ambisonics' SH order dropdown to the Ambisonic order, a slider of stops from 1 to 7 as the ISM order's, still a choice of the component without an input; a definition keeps the order it was saved with.
  • Changed Source's Sound file... button to the Anechoic sound dropdown of Auralise, on a sound input after spl (was sound_file, before spl): a bundled recording (Female speech, Male speech, Viola, Guitar or Castanets) or a file chosen with Load..., none on a new Source. Auralise auralises the pairs of a Source with its sound in place of its own. A definition saved with sound_file, or before Source had a sound, reads without it, sound empty and hidden.
  • Changed Polar Preview to centre the balloon, when centre is not given, on the result's sample as Scattering Sample draws it: the centroid of its footprint in x and y and its top in z, where it was the origin. run_scattering_lab records the centre in the result's generation (sample_centre), and polar_balloon returns it as centre (None for a result without it). A wired centre still wins.
  • Changed the geometric method of the lab to report progress and to stop at the next source when cancelled.
  • Changed the worker to install compas_acoustics[lab] (trimesh, embreex, mesh2scattering): reinstall the worker to use the lab. NumCalc, which bem needs, is a separate setup step. The Grasshopper Install Worker component installs the extra too (it installed compas_acoustics without it, so the geometric method and bem failed in a worker it had set up).
  • Changed the messages of the lab (ScatteringSample, measure_scattering, the Kirchhoff and BEM solvers, the ray caster, and the Scattering Sample and Scattering Lab components) to one short sentence each, about 90 characters, that names what is wrong and the input that fixes it. The octaves filled from a simulated one are one warning, not one each; a run of measure_scattering with bem warns once about unconverged steps (the result's warning, with its octaves, in place of the solver's) and once about a large mesh.
  • Changed Scattering Sample and Scattering Lab to leave out an input the chosen mode or method does not use (reference in disc mode; n_rays and max_bounces with kirchhoff or bem; cache_dir with geometric or kirchhoff) and to name it in a Remark, where they warned and did not run. Such an input no longer makes another run.
  • Changed which messages of the lab components are warnings. A warning now means the outputs may be wrong or are not those of the inputs; a fact about the run is a Remark: the octaves not simulated, bands beyond ISO 17497, the geometric heuristic, Kirchhoff falling back to one process, and on Scattering Sample the ISO 17497-1 depth limit and a proxy reference. run_scattering_lab returns these as notes, leaves out the sample's own warnings (Scattering Sample shows them, so Scattering Lab no longer repeats them) and leaves out how long a run takes and the large-mesh and many-receiver notices, which reach the component only after the run.
  • Changed Scattering Lab's Run button to say what pressing it does while kirchhoff or bem waits for it: "Press Run to start", or "Press Run to update" when the outputs are the last run's. It replaces the Remark "Press Run…" and the "press Run" text under the component.
  • Changed the dropdowns and switches of the Grasshopper components to show an option without its underscores ("as drawn", "ray tracing"); the value the worker gets and a definition saves is unchanged.
  • Removed the fine source preset (864 directions, Heimes and Vorländer's grid) of SourceGrid.preset and measure_scattering, and from Scattering Lab: survey (13) and standard (97) remain.
  • Changed a ScatteringResult to hold the polar levels of every source direction (polar_source_indices lists them all), not only the 13 nearest ISO 17497-2 Table 1, so that Polar Preview offers each direction measured. compas_acoustics.lab.scattering.preview_sources is removed. A standard result of a 1.4 m sample holds about 20 MB of levels (about 60 MB to 8000 Hz).
  • Changed Polar Preview's incidence selection from a dropdown to two dials side by side: a section through the sample for the colatitude θ and a plan for the azimuth φ, with a tick for each direction the result has and an arrow from the chosen one to the sample. Picking a colatitude keeps the azimuth (or the nearest one the ring has); at the normal the azimuth dial is grey. The dials set the same preview input, so saved definitions keep their direction, and a wired preview greys them. The component is at least 176 px wide to fit them. Its octave is a horizontal slider with a stop per octave, 125 Hz to 8 kHz: an octave the result did not simulate (8000 Hz for the ISO range) is grey and the knob does not stop there, and a definition saved at such an octave shows and draws the nearest simulated one. The strip under the component is empty: the dials and the slider show the choice.
  • Changed the strips under Scattering Sample and Scattering Lab to leave out what their dropdowns show: the sample's reads its diameter (d 1.41 m), the result's its range of scattering coefficients (s 0.06–0.94).
  • Changed Polar Preview to name its result by its guid: the worker holds the results it made or was sent (polar_balloon takes a result or the guid of a held one, up to 1 GB of levels, the least recently used let go first), so a change of the direction, octave or body no longer sends the result again. A worker that does not hold it (after a restart) answers with NOT_HELD, and the result is sent once.
  • Changed the preset of Scattering Lab to default to survey (13 source directions), and removed its "Default" option, which took the method's own (standard). measure_scattering keeps standard. A definition saved with "Default" now runs survey, as its dropdown shows.
  • Fixed the Preview switch of Polar Preview, which did not hide the balloon: it shared its name with the preview input (the source index), so a click set that input instead.
  • Removed the name input of Scattering Sample: the name labelled the sample and its result in a panel and nothing else. make_scattering_sample and ScatteringSample keep their name.
  • Added max_bounces to Scattering Lab: the reflections a ray of the geometric method may make before it counts as lost (default 20), the remedy its lost-rays warning names.
  • Changed the default method of measure_scattering to "geometric" (it was "kirchhoff"); pass method="kirchhoff" for the previous behaviour, which needs neither trimesh nor Python >= 3.11. Every method now defaults to the "standard" source preset.
  • Changed the default ray count of Mono from 20000 to room.raytracing.default_rays: the rays at which a direction's energy over one slot of the hybrid's late envelope has a standard deviation of 1 dB on its 96-line grid (Vorlaender 2020, Eq. 11.20), from the room's volume, at least 20000 (MIN_RAYS, formerly the 50000 floor on pyroomacoustics' heuristic, which n_rays=None no longer gives). Binaural and Ambisonics trace their own reference and directional histograms with the same rule, now also at least 20000, so a Mono reference traces what they trace themselves; their responses move in rooms below about 1050 m3. They take n_rays to set those rays, refused when they trace none. In Grasshopper, Simulate Binaural and Simulate Ambisonics have an n_rays input, and Simulate Mono's n_rays port is empty by default (a definition saved with its former 20000 reads empty).
  • Changed the default duration of Mono with ray tracing, and of the reference Binaural and Ambisonics trace themselves, to trace again at 1.5 times the longest T30 read while the responses end before 2/3 of it, up to 12 s, in place of warning: the Eyring-based length cuts the decay of a room whose absorption sits on a few surfaces. A given Mono duration is kept and still warns.
  • Changed late_envelope of Binaural and Ambisonics from on/off to "omni", "directional" or False, and the default with a reference or a ray-tracing tail to "omni": the late field takes the reference's level per band, and its delay lines keep the network's spread over directions, weighted by directional_absorption. "directional" is the former True, with every line given its direction's share of the ray-traced energy per band; it traces the directional histograms, which "omni" does not (generation["histogram_rays"] is then None). A reference the method traces itself takes the ray count of the directions' rule (hybrid.envelope.histogram_rays, a direction's energy to 1 dB) in both modes, so both shape the late field to the same reference. late_envelope=True raises, naming the three values. The Grasshopper components' Late envelope toggle is a dropdown (omni, the default, directional, off), and a definition saved with the toggle keeps its choice (on as directional, off as off); with an Eyring or Sabine tail, which the methods refuse a mode with, the dropdown rests and the late envelope is sent off.
  • Changed Binaural and Ambisonics with a given Mono reference at their image_source_order to take the early field's images from the reference's own image source search (room.reflections.damping_as_searched), as a ray-tracing tail does, in place of a second search of the room; the responses are bit-identical.
  • Changed Binaural and Ambisonics to render the source-receiver pairs on threads, as many as fit in about 4 GB at a pair's peak memory; the responses are bit-identical and in the same order.
  • Changed the hybrid's feedback delay network to filter its lines with the kernel of scipy.signal.sosfilt called directly, without that function's checks of its arguments in every block; the responses are bit-identical, the network about twice as fast.
  • Changed Analyser.plot to label its axes as the Grasshopper plots do, from one table that the worker also serves ("Value (%)" for D50, "Modulation transfer index (0-1)" for the bands of STI).
  • Changed the error for a wrong number of band values of Source.spl and the AcousticMaterial coefficients to one wording.
  • Changed the worker to check the token of a call before registering it, so an unauthorised call leaves a running call with the same id alone; a POST to an unknown route without the token answers 401.
  • Changed room.diffuse.predicted_rt to use pyrato's Sabine and Eyring (pyrato.parametric) where they exist (pyrato >= 1.0, Python >= 3.11), and its own lines in pyrato's order of operations where they do not; on Python < 3.11 a mean absorption at or below 1e-10 now gives a large finite Sabine time, as pyrato does, instead of inf.
  • Changed hybrid.synthesis.prepare to take diffraction as None, "udfa" or "btms" and to require duration_s; Binaural and Ambisonics still take diffraction=True and default to 1.5 times each pair's longest target reverberation time.
  • Changed the allpass cascade of the hybrid's surface scattering (scattering=True) to run block by block, about 28 times faster; the responses agree with the former filter to about 1e-14 of their peak.
  • Changed BTMS diffraction to compute the edge coordinates of the second order once per segment, not once per segment pair, and the diffracting edges once per room geometry: about 1.4 times faster, the responses bit-identical. The edge warnings come once per simulation, not once per source-receiver pair.
  • Changed RoomGeometry to compute its face areas, normals, exposed faces and volume once; the responses are bit-identical.
  • Changed names in the hybrid engine: hybrid.late.render is hybrid.late.run_network; hybrid.diffraction.toolbox_frame and toolbox_cyl are edge_frame and edge_cyl; the Pair argument of the engine's functions and HybridCore.spec are pair; hybrid.diffraction.pair_valid takes the two angles; the first argument of room.pra.directivity_to_pra is directivity.
  • Changed the worker's error for an unknown time_scale to name its options once.
  • Changed the Grasshopper Simulate Mono, Simulate Binaural and Simulate Ambisonics messages to one format (48 kHz, ..., SH order N for the hybrid's spherical harmonic order); a message longer than the strip is cut there, the full text in the tooltip. Corrected component texts: Play reads Pause while playing, Install Worker installs a version range, the hybrid seed also seeds the rays the method traces. Material Library bars use the picker's colours.
  • Changed the hybrid's feedback delay network to fall back to pyFDN's SOSBank when scipy's private sosfilt kernel cannot be imported; the output is the same.
  • Changed Analyser to start every parameter's windows, LF and LFC included, at one onset: pyfar.dsp.find_impulse_response_start on channel 0 (the 20 dB criterion of ISO 3382-1). It replaces the package's own start search and, for LF and LFC, the geometric direct-sound sample; where the direct sound is weak or blocked the parameters move (on the test rooms C50 up to 0.7 dB, D50 up to 2.3 %, DRR up to 11 dB at 125 Hz, Ts up to 3 ms, LF up to 0.06).
  • Changed Analyser.clarity_definition to give C50, C80 and D50 as NaN when the early or late part has no energy, as DRR does, without the 1e-12 offset; print_table and export_csv show the stored values, not values rounded to 2 decimals.
  • Changed the BTMS first-order integrand and its quadrature to be written from the published line integral (Calamia and Svensson 2007, Eqs. (2)-(4)) and the standard adaptive Simpson rule with Richardson extrapolation; the responses are bit-identical.
  • Changed Simulate Mono, Simulate Binaural and Simulate Ambisonics to output irs, the impulse responses in scene order (receiver by receiver, the sources within each), in place of mono_ir_graph, binaural_ir_graph and ambisonic_ir_graph. Connect irs to Analyse Impulse Response, Auralise or the Audio Player directly; the reference of Simulate Binaural and Simulate Ambisonics takes the irs of Simulate Mono, and a reference that lacks a source-receiver pair of the scene is an error that names the pair. A definition saved with the former outputs opens with them named irs. Python's Scene.ir_graph is unchanged.
  • Removed the Normalize toggle of Simulate Mono, Simulate Binaural and Simulate Ambisonics: Grasshopper reads the raw level of the responses (the Audio Player's Normalize and Auralise's level choose the level of what is played or saved). A definition saved with the toggle reads without it.
  • Changed Analyse Impulse Response to take irs (the responses of Simulate, one or many) with a Source and a Receiver dropdown (source_idx and receiver_idx: All, or one by number and name; a wired list of integers chooses several). The n-th distinct source (receiver) among the connected responses, in the order they come, is source (receiver) n. parameters, time and frequency hold one branch per pair, path {receiver;source}, and the chart titles name the pair.
  • Changed Plot 2D to take a select dropdown, Select parameter, beside its data input (T30 until chosen, All, or one parameter by name, each with its title in the opened menu, as T30 (Reverberation Time); its width does not follow the charts'), as Deconstruct Parameter did, and to read its data as a tree: one chart per parameter over every branch. The time and frequency responses are charted whichever parameter is chosen; with only them connected the dropdown rests, dimmed, and keeps its choice.
  • Changed Auralise to take irs, the Source and Receiver dropdowns of Analyse Impulse Response and one sound: choose it on the Anechoic sound dropdown, a bundled recording (Female speech, Male speech, Viola, Guitar or Castanets; none is chosen on a new Auralise, which warns until one is) or a file chosen with its last entry, Load..., which the dropdown then lists by its name, or wire a File Path (a wired path wins). A definition saved with the former Anechoic sound button reads its file back as the loaded entry, chosen. signals holds one branch per chosen pair, path {receiver;source}. A pair whose Source has its own sound (the same Anechoic sound dropdown on Source) is auralised with it, the others with Auralise's sound; Auralise warns only when a chosen pair has neither. The level relative takes its gain from every connected pair convolved with its sound, not only the chosen ones, so a chosen pair keeps its level difference to the loudest connected one. The level is a dropdown (none, the default, relative or individual) in place of the three-button switch, whose default was relative: a definition saved with a level chosen keeps it, but one saved without choosing a level used to auralise at relative and now opens with none, the raw level, which may clip (the clip warning says so); choose relative to restore the former behaviour. Save auralisation and Save RIR write the chosen pairs as <name>_mic_<r>_<s>.wav, with r and s the receiver and source numbers.
  • Changed the Audio Player to take no Source: the responses it plays come from Simulate directly.
  • Changed Analyse Impulse Response to note a binaural or ambisonic response analysed on its first channel as a Remark, not a Warning: the worker's analysis returns that message in notes (analyser.CHANNEL_NOTE).
  • Changed the Audio Player to say why it cannot play a signal (more than two channels, or a playback error) only in its warning: the body keeps its header line.
  • Changed Analyse Impulse Response and Plot 2D in Grasshopper to no longer show LFC (the worker's analysis does not return it); Analyser still computes it.
  • Changed the Plot 2D Select parameter dropdown to list All and the parameters connected, in place of every parameter (no LF for a response that is not ambisonic); with nothing connected it lists every parameter. A parameter chosen or saved that is not in the connected data stays shown and gives a warning, which for LF says it needs an ambisonic response (Simulate Ambisonics).
  • Changed the worker functions of the plugin's interface: analysis(irs, ...), auralise(irs, sound, chosen, labels, ...) and save_impulse_responses(irs, chosen, labels, ...) take the responses and the chosen pairs; auralise takes a bundled recording by its name (female_speech, male_speech, viola, guitar, castanets) or a file's path, or None, and auralises each response with the sound_file of its source where that has one; make_source takes sound_file the same way, a bundled recording by its name or a file's path. A plugin and a worker of different builds do not work together: use Install Worker again after updating.
  • Changed Grasshopper's Simulate Binaural and Simulate Ambisonics to default Tail to Ray tracing and to drop the Auto option: they always send an explicit tail to the worker, and a connected reference needs Tail Reference (any other tail is an error before the worker is called). A definition saved with Auto reads as Reference when a reference is connected and as Ray tracing otherwise. The Python API is unchanged.
  • Changed the test suite to drop the tests whose assertions other tests already make (160 Python tests and 60 C# test cases), to merge tests that make the same call into one, and to drop the tests left from development: tests that only check that a removed component, input or argument is gone, tests that copy a constant or a formula of the code, and tests of code nothing calls any more; and to drop the tests of the BEM solver and NumCalc (tests/lab/test_bem.py, the BEM convergence and cache-directory cases of the scattering lab and its component, and the validation against the Zenodo 15673498 results). CI runs the tests marked slow once, in a slow job on Python 3.12, in place of every 3.11 and 3.12 job of the matrix; the hybrid-simulation-test job, which repeated tests the matrix runs, is removed; a new push to a pull request cancels its running checks.

Fixed

  • Fixed Rhino closing on macOS when the worker reset a progress request of a running simulation: .NET there throws the connection's SocketException unwrapped, which the plugin's once-a-second progress timer did not catch.
  • Fixed Binaural and Ambisonics to render a path a source radiates into the negative lobe of its pattern (behind a 'supercardioid', 'hypercardioid' or 'bidirectional' source) in antiphase, as Mono does; such paths were silent, in the direct sound, the reflections and the late field's drive, which left the late level of a 'bidirectional' source about 3 dB low. Responses of 'omnidirectional' and 'cardioid' sources are bit-identical.
  • Fixed ImpulseResponse.from_wav to read the source's direction from the JSON metadata; the source faced +x whatever was written.
  • Fixed RayField.from_scene to raise for a source whose directivity is not one of the five patterns, as a simulation does; it traced the source as omnidirectional.
  • Fixed the hybrid's late envelope at sample rates between 22.6 and 31.7 kHz, where pyfar's filter bank has no 16 kHz band and the omnidirectional shaping summed a band that was never written; the band count follows the bank. 44.1 and 48 kHz are unchanged.
  • Fixed EnergyMap to bin on the ray tracer's grid (4 ms in whole samples, 3.991 ms at 44.1 kHz); bin_size said 4 ms, the image sources were binned on another grid than the rays, and the last ray bins were dropped. 48 kHz is unchanged.
  • Fixed Binaural and Ambisonics to check a reference's length against the longest predicted Eyring reverberation time, no longer held within 0.5 to 12 s, and only when there is a reference: an Eyring or Sabine tail no longer warns that ray tracing will be slow.
  • Fixed Grasshopper Simulate Binaural to use the HRTF set chosen with its HRTF... button while the input is hidden (the default layout); the set was ignored and the default rendered.
  • Fixed the Grasshopper source preview to draw the supercardioid the simulation uses (0.37), and the Acoustic Scene message to show the volume and area of the room geometry the simulation uses, from the worker and only when the scene changes (the preview's area alone for an open room or an older worker).

Removed

  • Removed the ray_field and play inputs of Visualise Billiard, which traces its rays itself: a definition saved with them reads without them, and their wires and those of its former time and speed inputs are disconnected. The reflections of Visualise Reflections no longer play in Visualise Billiard.
  • Removed Source.omni and the voice presets Source.voice_normal, voice_raised, voice_loud and voice_shouting; set Source.spl instead.
  • Removed AcousticMaterial.scattering_coefficients_from_depth and AcousticMaterial.add_to_library.
  • Removed the impulse_response argument of the Analyser methods and of Analyser.analyse: one Analyser per response. Removed the Analyser.frequency_bands setter, with which other bands could not be analysed, and the result properties Analyser.T30, T20, C50, C80, D50, DRR, STI, Ts, G, EDT and their _overall forms: read analysis_data.
  • Removed ImpulseResponse.resampled and the speed_of_sound argument of ImpulseResponse.direct_sound_index.
  • Removed id from Scene, Source, Receiver and AcousticObject (use guid); Scene.number_of_acoustic_objects, number_of_sources, number_of_receivers, acoustic_materials (use scene_materials), print_scene_materials, display_materials_in_viewer, clear_ir_edges and simulation_methods(); AcousticObject.visualisation_geometry and AcousticObject.add_source.
  • Removed the name and description arguments of Auraliser, now Auraliser(impulse_responses, anechoic_sounds=None, ...), and Auraliser.get_impulse_response_count, get_anechoic_sounds_count, check_number_of_impulse_responses_vs_anechoic_sounds and longest_impulse_response_length; Auraliser.import_anechoic_sound reads at the auraliser's sampling_rate.
  • Removed python -m compas_acoustics, which did nothing.
  • Removed RoomGeometry.without_obstacles, the RoomGeometry.mergeable_faces field, RoomGeometry.to_pra(enclosure_only=), the weld_tolerance argument of RoomGeometry.from_scene and from_mesh (welding stays at 1 mm) and SurfaceMaterial.impedance.
  • Removed room.air.speed_of_sound (use air_or_default(air).speed_of_sound), the speed_of_sound argument of room.raytracing.default_duration (it comes from air), the weighting argument of room.diffuse.mean_absorption and predicted_rt (always area-weighted), room.pra.scene_to_pra_room (use RoomGeometry.from_scene(scene).to_pra(...)), room.pra.receivers_to_pra_mic_array (use pra.MicrophoneArray) and the tol argument of room.pra.vector_to_pra. room.pra.source_to_pra no longer reads the source's sound file.
  • Removed generation["valid_range_hz"], which was always None.
  • Removed from the hybrid engine's functions the arguments no method passed: design_fdn(matrix, dc_factor, nyquist_factor), directional_delays(spread), ambisonic_output_matrix(normalization, max_leakage), default_num_delays(minimum), encode(normalization), prepare(drive_gain), RoomTarget.from_room(weighting, air_absorption), RoomTarget.geq_bands(dc_factor, nyquist_factor), the n_scan argument and hybrid.directional.scan_directions, hybrid.bands.BAND_EDGES and BANDWIDTHS, the default of Pair.speed_of_sound, and 1-D signals in shape_late. RoomTarget.level is None for one slope.
  • Removed Edge.contains, along_plane and Occluders.on_enclosure from hybrid.diffraction; hybrid.btms.wedge1st_ir returns the response and its singular flag only.
  • Removed RayField.particles, RayField.duration_ms and Ray.is_in_cone, and the reading of ray-field data with sound_speed, specular paths with wall_names and specular reflections under "paths"; SpecularReflections takes rays, as RayField does.
  • Removed the Grasshopper plugin's reading of documents saved by development builds before 0.1.0 (the old preview default, inputs matched by name, a material saved by name only); documents of 0.1.0 and later open as before, and a Late envelope toggle saved by 0.1.x keeps its choice.
  • Removed from the worker what no caller read: make_receiver(frame=), info()'s "python" and "compas_pb", auralise's per-signal "suffix", the results of play, stop, pause and resume, playback_status's "paused" and "duration", energy_map's "bands" and "inside", specular_reflections' "orders", worker.api.METHODS, the service's --no-autoreload and start_service(host=), and install(hybrid=) with the "hybrid" key of worker.json.
  • Removed the Grasshopper components Deconstruct IR Graph, Deconstruct Parameter and Check Channel: Simulate's irs go to Analyse Impulse Response, whose dropdowns pick the pair, and Plot 2D's select picks the parameter. A definition that used them opens with the components missing: wire Simulate to Analyse Impulse Response and Plot 2D instead.
  • Removed the mix_sources and anechoic_sounds inputs of Auralise: each chosen pair is auralised and saved on its own (Auraliser(mix_sources=) and Auraliser(anechoic_sounds=) stay in Python). A definition saved with them reads without them; a sound wired to anechoic_sounds is not carried over: choose it again on the Anechoic sound dropdown or wire a File Path to sound.
  • Removed the worker function sound_info.
  • Removed the sampling_rate output of Auralise: each signal on signals carries its rate, which a panel shows and the Audio Player reads. A definition saved with the output reads without it.

[0.1.1] 2026-11-18

Added

  • Added invoke yakerize and invoke publish-yak, and the publish_yak workflow: the Grasshopper plugin as a Yak package, published to the Yak test server.
  • Added the Install Worker component, which creates the worker with the newest compas_acoustics on PyPI that the plugin works with: from the .csproj's CompasAcousticsVersion up to its next breaking release. The plugin's version is its own, and bumpversion no longer changes it.

Changed

  • Changed the default HRTF set of Binaural to the Neumann KU 100 of TH Koeln (KU100_HRIR_L2702.sofa, 2702 directions over the full sphere), replacing the SONICOM KEMAR, which covers elevations from -45 to 90 degrees only; hrtf="kemar" is now hrtf="ku100".
  • Changed the API reference to a section with a page per package; the table of contents stops at the classes and functions.
  • Changed the docs workflow to only build the docs; release.yml deploys them.
  • Changed the hybrid's directional late envelope to give every octave band of the delay lines that band's distribution of the ray-traced energy over directions, in place of the distribution summed over the bands, which the bands carrying most of the late energy dominated (hybrid.envelope.directional_shares takes one band and its histogram row; shape_late takes histogram= and replaces shape_late_directional). Each band keeps its total, 16 kHz included; a band's shares are held once its own rays have decayed 60 dB; a histogram on other bands is refused. Against exact image-source shoeboxes with direction- and frequency-dependent absorption the per-direction late level error falls from up to 10 dB to 0.2-1.2 dB per band. The shaping takes about five times as long (one share computation per band). The directional histograms trace as many rays as give a direction's energy over one smoothing window a standard deviation of 1 dB (hybrid.envelope.histogram_rays, after Vorlaender 2020, Eq. 11.20: proportional to the room volume and the number of lines); at Mono's 20000 the per-band late directions of a 2300 m3 open-plan office were mostly ray noise. That office takes 44147 rays, a 640 m3 office 12051, a 320 m3 room about 6000. The count is recorded as generation["histogram_rays"].
  • Changed the requirement to pyroomacoustics >=0.10.1, <0.11: the responses are composed from functions of its 0.10 simulation module.
  • Changed the hybrid's ray-tracing tail to one image source search and one ray trace: its reference, Mono(ray_tracing=True), is traced with a copy of every receiver that sorts the same rays by direction, so the directional histograms are no second trace, and the reference's search gives the early field's images, whose damping without the specular factor, or the scattered parts of scattering=True, are read from it (room.reflections.damping_as_searched: every image's walls are traced back from a receiver and kept where the search's own mirroring, visibility test and float32 product give that image bit for bit, so the other build's product along them is its search's; where they leave that damping open, as with two images at one position whose products differ only in the other build, that room is searched). The reference now takes the method's image_source_order and seed, the histogram's ray count with the late envelope, and duration where that is longer than the mono default, in place of the mono defaults (order 3, seed 42, 20000 rays): with the late envelope off and at those defaults the responses are unchanged; with a duration the histograms take the reference's rays, traced to its length. scattering=True no longer searches a second room. room.raytracing.ray_traced_run returns the room, the responses and, with directions, the histograms (RayTracedRun), and replaces ray_traced_rirs; hybrid.early.image_sources takes damping= and scattered= arrays in place of scattered_room.
  • Changed to pyFDN 0.7 (fdn_dss_gallery, decay_to_graphic_eq, gain_to_graphic_eq, dss_to_td), from 0.5, whose API 0.6 removed; the responses are unchanged. hybrid.late.design_fdn returns, render takes and HybridCore.builds holds (pyFDN.DSS, filters) pairs in place of pyFDN.FDNBuild; a matrix other than "orthogonal" is seeded by rng and takes pyFDN 0.7's lowercase names.
  • Changed the time smoothing of the hybrid's directional shares to run on all cores, eight delay lines per thread; the responses are bit-identical.

Fixed

  • Fixed Mono and the hybrid's references failing with "zero-size array" when one receiver sees none of the image sources up to the simulated order while another receiver sees the same source, and rendering a blocked direct sound when no receiver sees it: such a pair now has no image part (room.raytracing.image_source_rirs, ray_traced_run).
  • Fixed the hybrid failing with "rt must be positive" on a reference without any energy (image sources alone at a receiver that sees none): it is refused by the names of its source and receiver.

Removed

  • Removed the Grasshopper installer (installer/), invoke installer-bundle and the zip of the releases, replaced by the Yak package and Install Worker.

[0.1.0] 2026-11-05

Migration from the previous main

Nothing is kept under its old name. What replaces what:

Before Now
Simulator(scene).rir_from_ray_tracing(image_source_order=, n_rays=, air_absorption=, random_seed=) scene.simulate(Mono(ray_tracing=True, image_source_order=, n_rays=, air_absorption=, seed=))
Simulator(scene).rir_from_image_source_method(order) scene.simulate(Mono(image_source_order=order, ray_tracing=False))
simulator.sampling_rate = fs Scene(name, sampling_rate=fs) or scene.sampling_rate = fs
simulator.trace_rays(...) RayField.from_scene(scene, ...)
Ray(..., sound_speed=), RayField(..., sound_speed=) removed; travel times are at Defaults().DEFAULT_SPEED_OF_SOUND
compas_acoustics.ray, compas_acoustics.specular compas_acoustics.rays (or the classes from compas_acoustics)
compas_acoustics.acoustic_material, compas_acoustics.materials_library compas_acoustics.materials (or the classes from compas_acoustics)
compas_acoustics.geometry compas_acoustics.acoustic_object (or the classes from compas_acoustics)
compas_acoustics.numerical.fitness compas_acoustics.fitness, or compas_acoustics.regularized_fitness
compas_acoustics.pra_converter compas_acoustics.room.pra (no longer an attribute of compas_acoustics)
JSON with "dtype": "compas_acoustics.<module>/<Class>" "dtype": "compas_acoustics/<Class>"; files saved before do not load
simulator.rirs, simulator.results the responses returned by scene.simulate, or scene.impulse_responses(method_name), scene.get_impulse_response(source, receiver)
Scene(simulation_platform=), ImpulseResponse(simulation_platform=) removed; ir.generation names the method
AcousticObjectsGroup; scene.iter_acoustic_objects() scene.add_acoustic_objects(shoebox_room(...)) (a list); scene.acoustic_objects
scene.acoustic_materials = {...} shoebox_room(materials=...), AcousticObject.from_obj(path, materials=...): a material per object
AcousticAnalyser.compute_rt, compute_clarity_definition, compute_drr, compute_sti, compute_stage_support, compute_strength reverberation_times, clarity_definition, direct_to_reverberant_ratio, speech_transmission_index, stage_support, sound_strength
stage_acoustics.compute_ST1, compute_ST2, compute_G_stage, compute_ITDG Analyser.stage_support()
Auraliser.multiconvolution(), Auraliser.convolve(ir, sound) Auraliser(...).convolve(), in the format of the impulse responses
Auraliser.decode_stereo_simple(), Auraliser.resample_signal() no decoder: binaural responses from Binaural(), ambisonic ones from Ambisonics() saved for a decoder elsewhere; pyfar.dsp.resample
Auraliser(output_format=...) removed: the signal has the format of its impulse responses, Auraliser.format (mono, binaural or ambisonic)
sample_rate (ImpulseResponse, Auraliser, AudioPlayer.play, receivers_to_pra_mic_array) sampling_rate
pra_converter.material_to_pra, mesh_to_pra_wall, acoustic_object_to_pra_walls RoomGeometry.to_pra, compas_acoustics.room.pra.scene_to_pra_room
Tools removed
compas_acoustics.orchestra_layouts; the Orchestra Layout component removed
AcousticAnalyser Analyser
Auraliser, AcousticAnalyser, MaterialsLibrary as Data plain classes: no guid, copy() or compas.json_dumps
Grasshopper: Simulate Ray Tracing, with a sample_rate input Simulate Mono; the rate is the sampling_rate input of Acoustic Scene
Grasshopper: Analyse IR output STI no longer an output, with G: they need pyrato >= 1.0
Source direction default +z; shoebox_room(materials={'left_wall': ..., 'right_wall': ...}) with left_wall at y = 0 direction default +x, as the Grasshopper Source component has it; left_wall is at y = width and right_wall at y = 0, the sides of a receiver at the centre facing +x (swap the two keys to keep a room)
scene.simulate(hybrid), then hybrid.binaural(hrtf) scene.simulate(Binaural(hrtf=...)), stored under 'binaural'
Hybrid() returning ambisonic responses Ambisonics(sh_order=...), stored under 'ambisonics'; the same seed gives both methods the same late field
synthesize(...), binaural_rir(result, hrtf, filters) core = prepare(...), then render_ambisonics(core, sh_order, normalization) or render_binaural(core, hrtf): each delay line through its own HRIR
ir.generation["output"] ir.format ('mono', 'binaural' or 'ambisonic'), read from the channels
shape_late(late, early, reference, fs) shape_late(signals, early_w, late_w, reference, fs)
Grasshopper: Simulate Ray Tracing output ir_graph Simulate Mono output mono_ir_graph
compas_acoustics.worker.proxy(), a compas.rpc server with COMPAS JSON and WAV files in temporary folders compas_acoustics.worker.client(), an HTTP service with compas_pb payloads
Grasshopper: the hybrid's reference given as a method name on the scene the mono_ir_graph wire of Simulate Mono only
Installer input worker (hybrid) not used: the installer always sets up the worker
Grasshopper: Simulate Hybrid output ir_graph (ambisonic) Simulate Binaural (hrtf, output binaural_ir_graph) and Simulate Ambisonics (the SH order dropdown, output ambisonic_ir_graph)
Grasshopper: Plot 2D with plane, x_size, y_size, settings and text, point and polyline outputs Plot 2D draws its charts on the canvas: input data (a list), no outputs
Grasshopper: Plot 2D Settings removed, with Plot 2D's geometry
Grasshopper: Material Library's nested right-click menu a picker dialog with search and a chart, opened from the body or "Choose material..."
Grasshopper: value lists and buttons placed next to new components controls drawn on the component body
Grasshopper: Analyse IR input time_scale right-click the time output: Time scale dB or linear
Grasshopper: Auralise input level, Acoustic Object input role, Deconstruct Parameter input select the switch on the body only
Grasshopper: Room Scene Acoustic Scene (nickname Scene), the same inputs and output
Grasshopper: Receiver input plane removed: position and direction, the receiver upright (+z up)
Grasshopper: Auralise inputs save, save_file_path, save_file_name the Save button on its body: a dialog chooses the folder and the name
Grasshopper: the Directivity component; Source input directivity the directivity dropdown on Source
Grasshopper: Audio Player input normalize (default True) the Norm toggle on its body, off by default
Grasshopper: Audio Player inputs play, stop; Visualise Billiard output t the Play, Pause and Stop buttons on the body; removed
Grasshopper: Audio Player input sampling_rate (unused) removed: a signal carries its rate
Grasshopper: Visualise Billiard input speed in ms of sound per second a factor of the default (the whole field in 10 s), the Speed dropdown 0.25x to 4x
Grasshopper: Visualise Energy Map Play and Rewind removed: the map shows the levels
Grasshopper: ism_order value list 0 to 6 the ISM order slider, 0 to 10
Grasshopper: Simulate Ambisonics input sh_order (1 to 3) the SH order dropdown on its body, 1 to 7
Grasshopper: Acoustic Scene input sampling_rate the Sampling rate dropdown on its body (44.1, 48, 96 kHz)
Grasshopper: Simulate Mono input time_thres duration, the length of the responses, as Mono(duration=) names it
RayField.from_scene(time_thres=) RayField.from_scene(duration=)
Grasshopper: Visualise Energy Map inputs n_rays, image_source_order, seed fixed: the rays from the room's volume, order 1, seed 42; the input spacing meshes the surface given

The Grasshopper components are now a compiled plugin (CompasAcoustics.gha) instead of CPython script components: a definition saved with the old components does not open with the new ones. Delete the old components in it and place the new ones from the toolbar; they have the same names, inputs and outputs.

Added

  • Added Scene.simulate(method) as the one way to simulate, with the methods Mono(image_source_order=3, ray_tracing=True, ...), Binaural(...) and Ambisonics(...) in compas_acoustics.simulation_methods.
  • Added Scene.sampling_rate (default 48000, serialised with the scene), the rate at which every method runs; the Acoustic Scene component has the input.
  • Added Binaural and Ambisonics, binaural and ambisonic room impulse responses from one hybrid engine: image sources, optional edge diffraction (diffraction="udfa" or "btms") and a directional feedback delay network tail; needs Python >= 3.11. Binaural(hrtf=None) takes "kemar" (the default) or a SOFA file and records it in generation["hrtf"]; Ambisonics(sh_order=1, normalization="SN3D") gives ACN channels. Responses are stored under 'binaural' and 'ambisonics'.
  • Added tail=... to Binaural and Ambisonics, with a reference response, the method's own ray-traced reference, or an Eyring or Sabine prediction as decay target.
  • Added edge diffraction at the edges of the room's own boundary (re-entrant corners) to the hybrid engine.
  • Added scattering=False to Binaural and Ambisonics, surface scattering after Ewert et al. (2025): each image's specular part, the product of sqrt(1 - s) over its reflections, stays in the early field, and its scattered part, the product of sqrt(s), enters the delay lines on its own hemisphere through an allpass cascade. Off by default.
  • Added compas_acoustics.hybrid.synthesis.prepare, compas_acoustics.hybrid.ambisonics.render_ambisonics (with ambisonic_output_matrix and default_num_delays, moved from hybrid.late) and compas_acoustics.hybrid.binaural.render_binaural (HrtfSet): one format-neutral core per pair (its early paths and delay lines, HybridCore) and two renderers; the binaural one filters every path and every delay line with the HRIR measured nearest its direction. Each renderer evaluates every path's spectrum, and every UDFA transfer function, once, and applies the late envelope (HybridCore.shaped_lines) against its own omnidirectional channel.
  • Added HybridResult.late_lines and HybridCore.line_directions: the late field per delay line before it is rendered, and each line's direction in the receiver frame.
  • Added Mono(ray_tracing=True), ray tracing on top of the image sources (n_rays, energy_thres, duration, receiver_radius, seed).
  • Added AirConditions(temperature=20, humidity=50, pressure=101325): speed of sound after Cramer (1993) and air absorption after ISO 9613-1, for every method, recorded in ImpulseResponse.generation.
  • Added RoomGeometry, the scene's surfaces as one validated room (welded, outward oriented, closedness checked, coplanar faces merged), with to_pra() and is_inside().
  • Added AcousticObject(role="boundary" | "obstacle") and AcousticObject.from_obj(path, materials=None), a list with one object per OBJ group, every one a boundary; groups materials does not cover have none until they are assigned, and AcousticObject.material accepts only an AcousticMaterial or None.
  • Added AcousticObject.assign_roles_by_group(objects, roles) and assign_materials_by_group(objects, materials) to mark OBJ groups as obstacles and give them materials after reading, and AcousticObject.group, the OBJ group an object was read from (not serialised); a group name that none of the objects has raises a ValueError.
  • Added Receiver.up, rotation, frame and Receiver.from_frame(): the orientation sets the axes of ambisonic responses (x facing, y left, z up).
  • Added compas_acoustics.room.diffuse (predicted_rt, mean_absorption, DiffuseFieldWarning): Sabine and Eyring reverberation times.
  • Added JSON serialisation (compas.json_dumps) for Scene, AcousticObject, Source, Receiver, ImpulseResponse, Ray, ScatteredRay and RayField; the IR graph is not serialised.
  • Added Scene.impulse_responses(attribute), Scene.simulation_methods() and attribute= on the IR graph methods: each method stores its responses under its own name.
  • Added ImpulseResponse with peak normalization (denormalized(), normalization_factor, level_db), to_wav(), from_wav(), generation, resampled(), ambisonic_order, normalization, channel_order and direct_sound_index().
  • Added Analyser.stage_support() (ST_early and ST_late, ISO 3382-1 Annex C) and sound_strength() (G, needs pyrato >= 1.0), and G in the analysis tables.
  • Added Analyser accepting an ImpulseResponse, analysed at its raw level and sampling rate.
  • Added Auraliser.format (mono, binaural or ambisonic, that of its impulse responses, which must share one), level (relative, individual, none), headroom_db, and lists of impulse responses and sound files as input.
  • Added RayField, Ray and ScatteredRay for traced rays (RayField.from_scene), with filtering, truncation and viewer display.
  • Added Source.directivity, Source.sound_file (the Auraliser mixes a multichannel file down to mono when it reads it), Receiver.direction, radius and received_spls.
  • Added AcousticMaterial.category and data_origin, MaterialsLibrary.materials_by_category, preset materials, and tools/import_backend_materials.py.
  • Added AudioPlayer for .wav files and numpy arrays, with normalize=True.
  • Added compas_acoustics.regularized_fitness, exported from the package.
  • Added a warning before an image source search that will take long (simulation_methods.image_source_search_seconds()).
  • Added compas_acoustics.worker: runs compas_acoustics in a second Python 3.12, for the Grasshopper plugin and for Rhino 8's Python 3.9: a local HTTP service on a free port with a token per session that takes and returns compas_pb payloads (client(), simulate, analyse, and in worker.api the functions the components call).
  • Added compas_acoustics.pb, a compas_pb plugin: the Data types as protobuf messages (pb/protobuf_defs/.../acoustics.proto), their Python bindings, converters registered through the compas_pb.plugins entry point, SCHEMA (which the plugin checks the worker against) and plain(); compas_pb >= 1.2 is a requirement. invoke generate regenerates the Python and C# bindings.
  • Added anechoic_soundfiles_library (bassoon, female and male speech, viola) and hrtfs_library (KEMAR, free-field compensated, 48 kHz), with READMEs that credit the sources and licences.
  • Added Defaults.HRTF_LIBRARY_PATH, ANECHOIC_SOUNDFILES_LIBRARY_PATH and PARAM_NAMES.
  • Added pyFDN and multislope to the requirements on Python >= 3.11, for the hybrid method (pyFDN brings flamo and PyTorch), and a CI job for it: one pip install compas_acoustics, no extra.
  • Added the Grasshopper plugin CompasAcoustics.gha (C#, src/compas_acoustics_ghcsharp/CompasAcoustics.sln, invoke build-gha): typed parameters for the compas_acoustics data, value lists and buttons next to unconnected inputs, and the worker as the only Python it runs, so STI, G and the hybrid method are always available. It needs Rhino 8 and the .NET 8 SDK to build.
  • Added the components Simulate Binaural and Simulate Ambisonics (with a run button, their last input), Simulate Mono (was Simulate Ray Tracing), Material Library categories, and the inputs level (Auralise), normalize (Audio Player, Simulate), method (Deconstruct IR Graph), direction and plane (Receiver, which outputs the receiver only and keeps it upright: +z up, no roll).
  • Added the input role (a value list: boundary or obstacle) to the Grasshopper Acoustic Object component; a wrong role or material is an error on the component instead of a traceback.
  • Added the IR graph of the Grasshopper plugin: Simulate Mono, Simulate Binaural and Simulate Ambisonics output the responses of their method (pyroomacoustics, binaural, ambisonics), and Deconstruct IR Graph reads them, so it has no method input.
  • Changed the Grasshopper Check Channel component to count the channels of any sound: an audio file path, an impulse response, a Source with a sound file, or an array of samples such as the signals of Auralise (the input is now sound).
  • Changed the Grasshopper Auralise component to also show the warnings of building the auraliser (impulse responses resampled to a common rate, sounds mixed down to mono), and the Audio Player to remark at which rate it plays an array that comes without one.
  • Changed the image source order input of the Grasshopper Simulate Mono (max_order), Simulate Binaural and Simulate Ambisonics (image_source_order) components to ism_order; the Simulate Mono description gave the default as 6, the method's default is 3.
  • Changed the order of the inputs of the Grasshopper Auralise component to irs, anechoic_sounds, level, mix_sources, save_file_path, save_file_name, save.
  • Changed the Grasshopper Auralise component to keep the format of its impulse responses, without the inputs output_format and hrtf: mono responses (Simulate Mono) give mono signals, binaural ones binaural, ambisonic ones the undecoded ACN/SN3D signal, and the file saved has that many channels. Binaural signals come from Simulate Binaural and its hrtf. With mix_sources, responses of different formats at one receiver are an error. It convolves in Rhino's Python, without the worker.
  • Changed the Grasshopper Audio Player component to warn for a signal of more than two channels (an ambisonic one) instead of an error, and AudioPlayer.play_array to play a mono signal on both channels.
  • Renamed the input sound of the Grasshopper Audio Player component to audio and ordered its inputs audio, sampling_rate, normalize, play, stop.
  • Renamed the inputs signals and multiconvolve of the Grasshopper Auralise component to anechoic_sounds and mix_sources: mix_sources sums the sources at each receiver into one signal.
  • Changed the order of the inputs of the Grasshopper Source component to position, name, direction, directivity, sound_file.
  • Changed AudioPlayer to read the audio devices again before it plays an array, so that headphones connected after Rhino started are the output.
  • Added the input select (a value list: all or one of EDT, T20, T30, C50, C80, D50, DRR, Ts, STI, G) to the Grasshopper Deconstruct Parameter component: a selected parameter comes out as plain lists, all as one branch per parameter. Its parameters input takes the list.
  • Renamed the Grasshopper Simulate Pyroomacoustics component to Simulate Mono, after the method it runs, Mono (pyroomacoustics; graph attribute and worker method 'mono', 'data' as before) (the same GUID: saved definitions load it) and its output ir_graph to mono_ir_graph, after the format of its responses, as Simulate Binaural's binaural_ir_graph and Simulate Ambisonics' ambisonic_ir_graph.
  • Added the input source_idx to the Grasshopper Deconstruct IR Graph component (inputs ir_graph, source_idx, receiver_idx): with receiver_idx it picks source-receiver combinations, e.g. a single impulse response for Analyse Impulse Response. Sources are indexed in the order of the scene's sources; an index out of range is a warning.
  • Added compas_acoustics.analyser.time_response (level in dB re the peak of all channels, or amplitude) and frequency_response (fractional-octave smoothed, in dB re the peak), per channel; levels are floored 100 dB below the peak.
  • Added the outputs time and frequency and the input time_scale (a value list: db or linear) to the Grasshopper Analyse Impulse Response component: the impulse response and its 1/3-octave smoothed frequency response from 20 Hz to 20 kHz, of the W channel of an ambisonic response and both ears of a binaural one. Plot 2D draws them as a curve per channel, on a time axis or a log frequency axis with ticks at 50, 100, 200, 500 ... 20000 Hz, reduced to the minimum and maximum of 1000 bins; a level in dB runs from its floor on the x axis to its peak, an amplitude is symmetric about zero with the x axis at zero. The time output in linear ends 5 % after its Schroeder curve falls 60 dB, in db it is the whole response, (time_response(..., trim_db=...)); the parameters and the frequency output use the whole response. AcousticParameter.from_time_response and from_frequency_response replace from_ir, which Plot 2D could not draw.
  • Renamed the output params of the Grasshopper Analyse Impulse Response component to parameters, and the input param of Deconstruct Parameter to parameters.
  • Renamed the input param of the Grasshopper Plot 2D component to data: it takes a parameter, or the time or frequency output of Analyse Impulse Response.
  • Changed the hrtf input of the Grasshopper Simulate Binaural component to get no value list: empty is KEMAR, the HRTF... button on the body chooses the user's own SOFA set (right-click "Use KEMAR" goes back), and a File Path connected to it wins; the component's message names the set in use.
  • Changed the seed input of the Grasshopper Simulate Mono, Simulate Binaural and Simulate Ambisonics components: left empty, each run draws a new random seed (shown in the component's message) instead of the methods' fixed default 42; a number gives repeatable responses. Mono, Binaural and Ambisonics themselves still default to 42.
  • Added a warning to the Grasshopper Simulate Binaural and Simulate Ambisonics components when tail is reference and nothing is connected to reference; it shows before Run, and Run does not start the simulation.
  • Added the output parameter to the Grasshopper Deconstruct Parameter component: the selected AcousticParameter, which Plot 2D plots and a panel prints (AcousticParameter.__str__ gives the name, unit, value per band and overall value).
  • Added STI and G to the Grasshopper Analyse IR component, computed in the worker (they need pyrato >= 1.0, which Rhino 8's Python 3.9 cannot install); G only for a simulated response.
  • Changed the Grasshopper Plot 2D chart to leave half a band's spacing between the y axis and the first frequency band.
  • Changed compas_acoustics.worker.simulate to store every format of a run on the scene's graph under its attribute and return the first, as Scene.simulate does; it used to store whatever came back under the method's name.
  • Added a status to the Grasshopper Simulate Binaural and Simulate Ambisonics components for when they are not running: it says done with the tail (and the ambisonic order) of the last result on the graph, settings changed, press Run when its inputs differ from that result, and press Run only when there is none.
  • Added the Grasshopper installer for Rhino 8 (installer/compas_acoustics_installer.gh), invoke installer-bundle, and compas-dev/compas-actions v1 workflows (build, release, prepare release), with tests on Python 3.9.
  • Changed the example scripts' names: demo.py is shoebox.py, demo_obj.py is obj.py, demo_rays.py is rays.py, demo_scattered_rays.py is scattered_rays.py; added specular_reflections.py.
  • Changed the example script shoebox.py to simple_simulation_shoebox.py; its Grasshopper twin is examples/simple_simulation_shoebox.ghx.
  • Added the documentation for the first public release: concepts, installation, a Python and a Grasshopper track, a Grasshopper component reference generated from the plugin's specs (docs/_ext/ghcomponents, also run by invoke docs-components), and build checks that fail when the committed images in docs/_images/ are out of date.
  • Added a getting-started section to the README, and Examples sections that invoke testdocs can run in the docstrings of Scene, Mono, Binaural, Ambisonics, Analyser and Auraliser.
  • Added SpecularReflections.from_scene(scene, max_order=3), the image-source paths from each source to each receiver for inspection, with filter(source, ray_index, receiver_index, order). It is a RayField of SpecularPath rays, so it plays in a billiard (particles) and displays like traced rays.
  • Added source directivity to RayField.from_scene, and so to Visualise Rays and Visualise Billiard: each source emits its rays with the density of its radiated energy, (p + (1 - p) cos theta)^2 about its direction (a deterministic lattice; a cardioid sends nothing straight back, a figure-of-eight nothing sideways); within a spotlight cone the cone's lattice is thinned to that density. An omnidirectional source emits the same rays as before.
  • Added RayField.particles(time_ms) and RayField.duration_ms, the rays' positions at a time, for a billiard view.
  • Added a directional ray-tracing histogram to the hybrid's late envelope (late_envelope=True of Binaural and Ambisonics, the default with a reference or ray-tracing tail): pyroomacoustics keeps one histogram per receiver direction (raytracing.directional_histograms, one bin per delay line, binned by the direction a ray arrives from; Lentz, Schroeder and Vorlaender 2007; Schroeder 2011, Sec. 5.3.4), and after the level per band follows the reference, each delay line is scaled by the square root of its direction's share of the rays' energy over its share of the lines' energy (hybrid.envelope.directional_shares, shape_late_directional), both pooled over neighbouring lines with the weights of Kirsch et al. (2023, Eq. 4), so the total is kept and a direction facing an absorbing wall decays as the rays say it does; the shares are held once the rays have decayed 60 dB. The histogram is traced by the method itself, also with a given reference: one more ray-tracing run per scene. The omnidirectional level and decay are unchanged.
  • Added the Grasshopper Visualise Reflections component: image-source paths of a source-receiver pair by order, output as reflections, which Visualise Billiard plays.
  • Added the Grasshopper Visualise Rays component: rays traced from one source (source_idx) or all, for display and Visualise Billiard.
  • Added the Grasshopper Visualise Billiard component: the rays of a ray field as particles (points only) at a time, played with a button or scrubbed with a slider.
  • Added colours by reflection order to Visualise Reflections, Visualise Rays and Visualise Billiard: each component draws its paths, ray segments or particles itself (round particles, order 0 black, one colour per order); RayField.particles returns each particle's reflection order too.
  • Added controls on the Grasshopper component bodies: switches and dropdowns under a title naming their input (Tail, Role), showing the chosen value; Simulate Binaural and Simulate Ambisonics tail, diffraction and run and Visualise Billiard play keep inputs, hidden on a new component and shown by "Show control inputs" in the right-click menu (a wired one always shows) for parameter studies; Auralise's level, Acoustic Object's role, Deconstruct Parameter's select and Source's directivity are chosen on the body only; Analyse IR's time scale on its time output's right-click menu; buttons (Run, Cancel; Play, reading Pause while playing (Play goes on from the paused frame), and Rewind on Visualise Billiard and Visualise Rays, whose rays are drawn only as Play makes them grow with the sound; a Preview toggle on the three Visualise components, which draw themselves and not their outputs). A wired value wins and greys the control; every choice is saved with the document; a control's tooltip says what its input means and its default.
  • Added body controls for the remaining choices of the Grasshopper components, each hidden behind "Show control inputs" like the others and starting at its input's default: the ISM order slider (whole orders 0 to 10, set when the knob is let go) on Simulate Mono, Simulate Binaural and Simulate Ambisonics; toggles and buttons set as far from the control above as a title is; on/off toggles sharing a row, Ray tracing, Air and Normalize on Simulate Mono, Late envelope and Normalize on the hybrid ones; the SH order dropdown (1 to 7, default 1) on Simulate Ambisonics, a choice of the component without an input; the sampling rate dropdown (44.1, 48, 96 kHz, default 48) on Acoustic Scene, a choice of the component without an input; Mix sources on Auralise; the Sound file... button on Source (its file's name on the button, right-click "Clear sound file"); the category dropdown on Construct Material; Source and Receiver dropdowns (All, or each by its index and name, from the wired scene or graph) on Visualise Rays, Visualise Reflections, Visualise Energy Map and Deconstruct IR Graph; Scattering and a slider of the drawn reflection order on Visualise Rays; the reflection orders 0 to 4 on Visualise Reflections, several lit at once; the time slider (it follows playback, and the particles follow the knob while it is dragged) and the Speed dropdown on Visualise Billiard; Play/Stop and Rewind side by side as icon buttons on Visualise Rays and Visualise Billiard; the Frequency bands dropdown (Full (A-weighted), or 125 Hz to 8 kHz) on Visualise Energy Map, its input renamed frequency_bands (was band). Controls on integer, number and bool inputs keep their values hidden and in the file, as text ones did.
  • Added the Audio Player's waveform, and impulse responses as its input (e.g. the ir output of Deconstruct IR Graph): the transport and volume right of the icon and below the inputs a lane per channel across the whole component, at one height, the component growing down with the channels, a Play/Pause and a Stop button with their usual glyphs, a playhead, Play, Pause, Stop, seeking by a click on the waveform, a volume slider, and a body that resizes.
  • Added runs that do not block the canvas: Simulate Mono, Simulate Binaural, Simulate Ambisonics, Analyse IR, Auralise, Visualise Rays and Visualise Reflections call the worker on a background thread, keep their last outputs meanwhile, show running m:ss and the worker's stage, and offer Cancel; a change of inputs cancels the run and starts another (Simulate Binaural and Simulate Ambisonics wait for Run).
  • Added viewport previews of sources (a loudspeaker: a cube turned with the source and a driver on its front face, the direction, the directivity lobe), receivers (a head: a sphere with its ears, the facing), acoustic objects and scenes (their edges only, as Rhino draws a surface's: outlines and folds, not the triangulation; no surfaces over the Rhino geometry they come from; obstacles with orange edges). IR graphs draw nothing. The Acoustic Object's message gives its total area, the Acoustic Scene's the room's volume and total area on two lines, its tooltip also the objects, sources, receivers and sampling rate. Sources and receivers are drawn only by the Source and Receiver components, under their preview toggles: not again by a scene, by Deconstruct IR Graph (which previews nothing, its source-to-receiver edges included), or by a Merge or Data they pass through. Components preview only their outputs, not the geometry, points or planes wired into them; Acoustic Object and Acoustic Scene start with their preview off, their surfaces being in Rhino already. Every component is drawn light and offers Preview, also those with nothing to draw (Grasshopper would draw them in the dark preview-off grey); those draw nothing: every output has a type (text, number, integer, point), none the generic one that draws whatever passes through it.
  • Added defaults and named values on the Grasshopper ports (ism_order 3, n_rays 20000 and 500, max_order 10, energy_thres 1e-7, k 1.0, sampling_rate 48000), and the scene's sources and receivers as named values of source_idx and receiver_idx.
  • Added the material picker (search, Custom above the categories, Name, Category and Origin, a chart of absorption and scattering on which a click or drag sets a band, and a box per band for each to type a value, of a library material or of a custom one whose name and category are editable), opened from the Material Library's strip or by a double-click on it; its inputs absorption and scattering replace the chosen coefficients; its strip, sized as Deconstruct Parameter's, draws absorption and scattering as the picker's paired bars over the bands, 0 and 1 beside; its message says when scattering is the 0.05 default; a custom material left without absorption warns. A material's tooltip gives its mean absorption.
  • Added Plot 2D on the canvas: a chart per parameter, a dot per band joined by a line or a line per channel, resizable at a fixed aspect ratio, STI on a 0 to 1 axis and the reverberation times (EDT, T20, T30) from 0, with the values under the mouse in the tooltip and a Save button that writes the charts as a PNG; Deconstruct Parameter shows its bands as a small line chart, the bands below and the lowest, middle and highest value beside.
  • Added the Worker component (state, Python, version and schema, Restart, Open log), "Open worker log" in every component's menu, the worker's log file, and message strips of at most 40 characters with the whole text in the tooltip; Acoustic Scene's message counts objects, sources, receivers, the rate and the volume.
  • Added one generated icon set for the components (tools/icons.py).
  • Added the worker routes POST /cancel/<call id> and GET /progress/<call id> and the request header X-Call-Id (compas_acoustics.worker.jobs); a cancelled call answers 499.
  • Added LF and LFC (ISO 3382-1 early lateral energy fractions) to Analyser.analyse(), Analyse IR and Deconstruct Parameter, from the first-order channels of an ambisonic response.
  • Added Source.spl as the source's level (SPL on axis at 1 m, per band; one value or seven) and SPL per band with its A-weighted total to Analyser (sound_pressure_level, analyse) and Analyse IR.
  • Added the spl input to the Grasshopper Source component (the source's level at 1 m per band, or one value).
  • Added EnergyMap (compas_acoustics.EnergyMap): the SPL of a scene's sources over many points, per band, A-weighted and over time, from pyroomacoustics' ray tracer with a microphone per point plus first-order image sources, and the worker's energy_map.
  • Added the Visualise Energy Map component: a surface (a mesh, a surface or a Brep, meshed into faces no larger than spacing, default 0.25 m; the rays keep a 1 m grid) coloured by the full A-weighted or one band's SPL at its face centres (the Frequency bands dropdown), drawn a centimetre above the surface so that the two do not flicker. Its settings are fixed: image sources up to order 1, seed 42, and the rays of energy_map.map_rays, Vorlaender's (2008) Eq. 11.12 over the response length for 16000 hits per point (20000 to 250000 rays). EnergyMap.from_scene(n_rays=None) uses the same count. The rays are traced to one receiver per 1 m cell of the map (ray_spacing=1.0, the cell's point nearest its centre) and their energy is interpolated to the other points by inverse squared distance; the image sources stay exact at every point. pyroomacoustics checks every receiver for every ray segment, so fewer receivers trace faster, and none lies partly outside the room next to a wall. The worker's energy_map takes no n_rays, image_source_order or seed, returns the rays traced as n_rays, and returns no frames of the energy arriving; EnergyMap.frames() gives them.

Changed

  • Changed the worker's playback API: play(sound, normalize=True, gain_db=0.0, start=0.0) returns the duration; pause, resume, stop, playback_status and sound_samples are new.
  • Changed how the hybrid's early renderer and late envelope compute, not what: early.render_images and render_transfers accumulate the paths' spectra as matrix products over chunks of paths instead of one outer product per path, and envelope.octave_band_split applies pyfar's reconstructing bank as one FFT per channel and one inverse FFT per band (zero-padded past the filter length, the linear convolution pyfar computes) with the bank designed once per sampling rate. Responses are unchanged to rounding.
  • Changed Analyser.speech_transmission_index to reduce the modulation transfer function it already has with pyrato's _sti_calc (IEC 60268-16:2020 Annex A.2.1) instead of calling speech_transmission_index_indirect, which computes the same MTF again; without _sti_calc the indirect method is called.
  • Changed the ray tracer's defaults: energy_thres 1e-7 (pyroomacoustics' own), since libroom stops a ray on the product of its wall reflections while the receiver logs that energy over the squared distance; and duration 1.5 times the longest Eyring reverberation time within 0.5 to 12 s. The runs Binaural and Ambisonics make themselves, a ray-traced reference and the directional histogram, take the same default. A reference shorter than 2/3 of its reverberation time warns, since pyFDN's decay fit shrinks its range to what the response has. A ray-traced response that ends before 2/3 of its own longest T30 warns with the length to rerun with: a room whose absorption is concentrated on a few surfaces can decay far slower than Eyring predicts. A room whose Eyring prediction hits the 12 s cap also warns (raytracing.default_duration): its rays live for hundreds of reflections, usually from a material with no low-frequency absorption on a large surface.
  • Changed the JSON data type of every compas_acoustics class to compas_acoustics/<ClassName> (was compas_acoustics.<module>/<ClassName>), so that saved data no longer depends on the module a class lives in; the materials library is stored that way. Files saved before do not load.
  • Changed the modules: ray and specular are one module, rays; acoustic_material and materials_library are materials; geometry is acoustic_object; numerical.fitness is fitness; room_geometry, air, diffuse, pra_converter, raytracing and _pyfar_constants are the subpackage room (room.geometry, room.air, room.diffuse, room.pra, room.raytracing, room._pyfar_constants), which exports RoomGeometry and AirConditions; room.raytracing holds both pyroomacoustics runs (image_source_rirs, ray_traced_rirs) and the directional histograms, the backend of Mono and of the binaural and ambisonics methods; binaural is hybrid.binaural. The classes are exported from compas_acoustics as before.
  • Changed Defaults().DEFAULT_SPEED_OF_SOUND to the speed of sound of AirConditions() (343.98 m/s at 20 C and 50 %, was 343), the air every simulation runs in without one given. Ray, ScatteredRay and RayField no longer take or store a sound_speed (it was 343 on its own and was serialised with every ray): their travel times are at this default; ray fields saved with it still load.
  • Changed the hybrid engine to use 96 delay lines up to third ambisonic order, and always for Binaural (hybrid.late.MIN_DELAYS): the count Kirsch, Wendt and van de Par (2023) run their network with whatever the number of rendered directions, so that the tail's character does not change with the count, and the one they name for offline simulation. In the binaural response each line is heard through its own HRIR. The methods take no num_delays or drive_gain: the count follows from sh_order (Ambisonics) or is 96 (Binaural), and the input gain sqrt(num_delays) offsets the output's 1 / sqrt(num_delays), so the late level does not depend on the count; hybrid.synthesis.prepare keeps both. The delay-line grid depends on the count alone (fdn_directions(num_delays)); whether it carries an ambisonic order is ambisonic_output_matrix's check.
  • Changed how the last rendered image-source order drives the hybrid's network: each image enters the delay lines of the hemisphere opposite its arrival, weighted by the cosine to each line (hybrid.scattering.scattering_weights(..., opposite=True)), the mapping of Ewert et al. (2025, Sec. 3.1.2).
  • Changed the spelling of identifiers to normalization and normalized everywhere, including ImpulseResponse.normalization (the ambisonic convention) and its JSON metadata key.
  • Changed AudioPlayer to raise errors and warnings.warn instead of printing them; the Audio Player component shows them as messages. An unsupported sound type raises a TypeError.
  • Changed seed of Mono, Binaural and Ambisonics (was 0) to True by default, which seeds with 42 (DEFAULT_SEED); an int seeds with that value; False (or None) leaves the run unseeded, a new draw each run, recorded as generation["seed"] = None. Anything else raises a ValueError. RayField.from_scene(random_seed=) follows the same rule.
  • Changed the hybrid engine to drive the network with the last rendered image source order, as Wendt et al. (2014) and Ewert et al. (2025) do. The search stops at image_source_order.
  • Changed Binaural and Ambisonics without a reference to run Mono(ray_tracing=True, image_source_order=3, n_rays=100000, seed=42) and fit the decay to it.
  • Changed the hybrid's 35 Hz high-pass to a causal filter, which removes pre-arrival ringing in the diffracted paths.
  • Changed every simulation to run in AirConditions() (20 C, 50 %, 343.98 m/s) unless air= is given; before, the methods used different air tables.
  • Changed simulated impulse responses to 48000 Hz (were always 16000 Hz) and to the package scale (free-field direct sound 1 / (4 pi r)).
  • Changed AcousticObject.__init__ to take one material; AcousticObjectsLibrary.shoebox_room() returns a list of six single-material objects and takes materials.
  • Changed Source.directional to Source.directivity, and Source.direction and Receiver.direction to compas.geometry.Vector.
  • Changed sample_rate to sampling_rate everywhere: ImpulseResponse, Auraliser, AudioPlayer.play, receivers_to_pra_mic_array, HrtfSet and the Grasshopper components.
  • Changed the Analyser methods to name the quantity: reverberation_times, clarity_definition, direct_to_reverberant_ratio, speech_transmission_index, stage_support, sound_strength.
  • Changed the analyser to apply octave filters zero-phase or after cutting the time windows, which removes a delay of 18 ms at 250 Hz and 35 ms at 125 Hz from EDT, Ts, C50, C80, D50 and DRR.
  • Changed direct_to_reverberant_ratio to 5 ms of direct sound, DRR_overall from a 700-4000 Hz band.
  • Changed reverberation_times to Schroeder integration without noise compensation; truncate a measured response with a noise floor before analysing it.
  • Changed the direct sound detection to the start of ISO 3382-1: the last sample more than 20 dB below the maximum before it.
  • Changed Auraliser.convolve() to return the signal in the format of its impulse responses, without decoding, summing the impulse responses of one sound first.
  • Changed Auraliser to auralise at the raw level, export peak at -1 dBFS, and use an impulse response's own channel_order and normalization.
  • Changed Auraliser to read and resample with pyfar (polyphase) and to default to the rate of the first impulse response.
  • Changed Analyser, Auraliser and MaterialsLibrary to plain classes; they are services, not data.
  • Changed the default HRTF to KEMAR_FreeFieldComp_48kHz.sofa.
  • Changed a material without scattering coefficients to scatter 0.05 in every band in every pyroomacoustics simulation.
  • Changed AcousticMaterial so that a coefficient of 0 is a value, and material names may have spaces and capitals; library files are named by AcousticMaterial.slug and carry no backend suffix.
  • Changed sources and receivers outside the room to raise a UserWarning, and surfaces with role="obstacle" to reflect from both sides.
  • Changed Scene.acoustic_materials to read-only; assigning it raises an AttributeError that says how materials are assigned.
  • Changed the hybrid engine to accept diffraction without obstacles, and to report non-closed obstacle components in one warning per call.
  • Changed the package to run on Python 3.9 (Rhino 8) without Rhino, Grasshopper or .NET; the Grasshopper plugin is in src/compas_acoustics_ghcsharp/.
  • Changed pyrato >= 1.0 to be required from Python 3.11 (was 3.12), and removed the upper bounds on pyroomacoustics and pyFDN.
  • Changed the Analyse IR component to leave out STI and G, which need pyrato >= 1.0; they stay in Analyser where pyrato allows.
  • Changed matplotlib to be imported by the Analyser plot methods only when they run.
  • Changed the Grasshopper installer to copy the plugin (the bundle's gha/ folder) into Grasshopper's Libraries folder, remove the CPython components of earlier versions, and always set up the worker; its worker input is not used.
  • Changed librosa out of the dependencies and sounddevice into them; spharpy is required on Python >= 3.11.
  • Changed RoomGeometry to weld vertices at 1 mm (WELD_TOLERANCE, was 1 micrometre), as Rhino's tolerance in a metre model: a wall corner 10 micrometres off no longer leaves the room open. A vertex still lies on an edge only within 1e-6 of the model's extent. Faces with a corner more than 10 micrometres off their plane are triangulated (pyroomacoustics raised a RuntimeError on them), faces that collapse in welding are dropped with a warning, a model more than 500 units across warns that coordinates are read as metres, and a wall pyroomacoustics refuses is a ValueError naming the face.
  • Changed AcousticObject.from_obj to read OBJ files with its own parser: o (object) lines are the groups of a file without g lines, faces may use i/j/k and negative indices, vertices are no longer rounded (RoomGeometry welds them), and faces with fewer than three distinct vertices are skipped.
  • Changed the default Source direction to +x (was +z), the direction the Grasshopper Source component already defaults to and the receiver's facing direction.
  • Changed AcousticObjectsLibrary.shoebox_room so that left_wall is the surface at y = width and right_wall the one at y = 0, matching the receiver frame (x facing, y left); the two names were swapped. The surfaces come in the order floor, right, front, left and back wall, ceiling.
  • Changed the error of Receiver for a name with spaces or capitals to say Receiver (it said Source).
  • Changed RoomGeometry.surfaces, surface_area, area_normals and volume to count the air side only: a closed obstacle counts one side and its volume is subtracted, and obstacle faces lying on the boundary are left out, so Eyring and Sabine times, the default ray-tracing duration and the hybrid's delays and scattering decay time move in scenes with closed obstacles or obstacles on the boundary; a free panel still counts both sides.
  • Changed AcousticMaterial to validate coefficients on creation: any iterable (including Grasshopper's List[Double]) and scalars become lists of float, a single value (a scalar or a one-element list) applies to every band, an empty list means no coefficients, and another length than 7 or a value outside [0, 1] raises ValueError.
  • Changed the hybrid's binaural late field to be rendered per delay line, each line / sqrt(N) through the HRIR measured nearest its direction, so a binaural response does not need sh_order >= 1.
  • Changed hybrid.late.render to return the delay lines' outputs, (n, num_delays), after the directional absorption and slope weights; the ambisonic late field is that times C.T.
  • Changed the format of a response to come from its channels, ImpulseResponse.format ('mono', 'binaural' for two channels without an ambisonic order, 'ambisonic'), not a generation["output"] flag; the Auraliser, the analysis plots and the Grasshopper Audio Player read it.
  • Filled in the package metadata, README and documentation for the first public release, and removed the tests that compared against external toolboxes, saved outputs or a running worker.
  • Changed the component specs (Specs/<CA_name>/metadata.json) to list their ports under ports.

Fixed

  • Fixed raytracing.directional_histograms failing with "all input arrays must have the same shape" when the run is longer than pyroomacoustics' default 10 s and rays are still alive then: libroom sizes every direction's histogram for 10 s and doubles only the directions hit later. The hybrid's late envelope failed this way on a reverberant room whose Eyring buffer reached 12 s.
  • Fixed the Grasshopper Acoustic Scene component failing with 'NoneType' object has no attribute 'sources' when an object is empty or not an acoustic object (an upstream Acoustic Object that failed): such items are left out with a warning.
  • Fixed RoomGeometry taking a vertex up to 1 mm off an edge for a T-junction, which left rooms with sliver faces open: the edge test is 1e-6 of the model's extent again.
  • Fixed the single-number values of C50, C80, D50 and Ts averaging 500, 1000 and 2000 Hz: they average 500 and 1000 Hz, as ISO 3382-1:2009 Table A.1 has it for G, EDT, C80, D50 and Ts (C50 follows D50), like EDT, T20 and T30 already did.
  • Fixed responses simulated in the worker (the hybrid in Rhino) always coming back as peak-normalized views: they keep the method's normalize. Their raw level was already kept.
  • Fixed the Grasshopper Material Library component forgetting its material when the file is reopened: the choice is kept in the component's nickname, which Grasshopper saves.
  • Fixed the Grasshopper Material Library component failing with No module named 'compas_acoustics': its script pinned an empty Rhino script environment, compas_acoustics_rhino, instead of the one the installer fills.
  • Fixed the worker setup from the Grasshopper installer failing at its last check: the worker's Python 3.12 inherited the PYTHONPATH of Rhino's 3.9 packages and could not import numpy.
  • Fixed a simulation failing on a Source whose sound_file is not a RIFF WAV (an AIFF or FLAC file; the library's bassoon.wav is an AIFF): the file is read with soundfile.
  • Fixed the hybrid engine counting an image source twice when its path passes through an edge (+6 dB on that path); hybrid.early.image_sources now keeps one image per position, as ShoeBox does.
  • Fixed low-frequency bias in EDT, C50, C80, D50, DRR and Ts caused by the delay of causal octave filters.
  • Fixed speech_transmission_index returning NaN for impulse responses shorter than 1.6 s.
  • Fixed wheels that were missing the materials library, the HRTFs, the sound files and the Grasshopper components.
  • Fixed Auraliser modifying the caller's dicts, ignoring 1D responses and multichannel sounds, and wrapping energy around when resampling.
  • Fixed simulations above 16 kHz with air absorption, which failed on a 7 against 8 octave band mismatch.
  • Fixed Receiver and Source losing name, orientation, directivity and settings in JSON and copy().
  • Fixed NaN responses for a source at a receiver's position (now a ValueError), and unrelated errors for points inside a closed obstacle, scenes of obstacles only, or too few walls.
  • Fixed the hybrid failing on a fully absorbing surface, and counting a wall hit on a diffraction apex as a reflection.
  • Fixed display_in_viewer guards that treated compas.is_rhino() as a boolean, and the default HRTF path that pointed at a missing file.
  • Fixed the Grasshopper Auralise and Analyse IR components using a fixed sample rate.
  • Fixed AcousticObject.from_obj reading OBJ files in the platform's encoding: a UTF-8 byte order mark dropped the first vertex, and non-ASCII group names were garbled on Windows; files are read as UTF-8.
  • Fixed obstacle faces lying on a boundary face being counted when the scene is not aligned with the axes: the test used the distance along each axis instead of the distance to the face's plane.

Removed

  • Removed Plot 2D Settings and Plot 2D's Rhino geometry (texts, points, polylines, grid).
  • Removed the worker's compas.rpc transport (proxy()) and its temporary WAV folders.
  • Removed Simulator; use Scene.simulate(method) and RayField.from_scene.
  • Removed simulation_platform from Scene and ImpulseResponse; generation names the method.
  • Removed Mono(n_jobs=) and the parallel ray tracer, which wrote private Room state.
  • Removed AcousticObjectsGroup, AcousticObject.surface_groups, Scene.iter_acoustic_objects, Scene.scene_surface_groups and their display and print methods; see scene_materials and print_scene_materials.
  • Removed compas_acoustics.stage_acoustics and tools.Tools; use Analyser.stage_support().
  • Removed pra_converter.material_to_pra, mesh_to_pra_wall, acoustic_object_to_pra_walls and room_octave_bands; see RoomGeometry.to_pra.
  • Removed Auraliser.multiconvolution(), decode_stereo_simple(), resample_signal() and FuMa channel order.
  • Removed compas_acoustics.orchestra_layouts and the Orchestra Layout component.
  • Removed the two MIT KEMAR HRTF sets and speech.wav.
  • Removed Hybrid and Hybrid.binaural(); use Binaural or Ambisonics.
  • Removed the ambisonic decoders of Auraliser (mono from W, stereo cardioids and binaural: output_format, decode, decode_mono, decode_stereo, decode_binaural, hrtf_path, binaural_filters, ambisonics_upmix_downmix), binaural.magls_filters, worker.convolve and the installer's worker option binaural. The hybrid renders binaural responses with an HRTF per path and per delay line; an ambisonic response or signal is saved as ACN/SN3D for a decoder elsewhere. Impulse responses of different formats in one Auraliser raise a ValueError.