Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Resonance Audio SDK for Unity v1.2.0

Compare
Choose a tag to compare
@anokta anokta released this 21 Feb 00:40

Additions

  • Added advanced near-field effect for sound sources less than 1 meter from the listener. Introduced ResonanceAudioSource.nearFieldEffectEnabled and ResonanceAudioSource.nearFieldEffectGain parameters to simulate the effect of sound sources being very close to the listener's ears. Note that this effect could result in up to ~9x gain boost on the source input. Therefore, it is advised to set smaller gain values or reduce the input gain for louder sound sources to avoid clipping of the output signal.
  • Added ResonanceAudioSource.occlusionIntensity parameter to adjust the intensity of the occlusion effect.

Behavioral Changes

  • Significant CPU performance improvement for reverb times more than 0.6 seconds (thanks to a new spectral reverb implementation under the hood). Also, delivers a slightly brighter sounding reverb.
  • Increased ResonanceAudio.maxReverbTime to 10 seconds for the ResonanceAudioRoom.reverbTime and ResonanceAudioReverbProbe.reverbTime modifiers.
  • Material maps are stored as assets and are modified in the Inspector Window instead of the Reverb Baking window. Multiple maps per project are allowed, and the Reverb Baking Window selects one to be used in reverb computation. If you are updating the SDK from an older version, please make sure to remove the ResonanceAudio folder from the project assets before importing the new SDK to avoid potential asset conflicts.
  • Improved the reverb gain adjustment parameter in ResonanceAudioRoom and ResonanceAudioReverbProbe to avoid noticeable delays with larger gain changes.

Bug fixes

  • Addressed issue #16 where the Reverb Baking window would constantly lock up the editor in a project with a lot of materials. Note that there may still be a significant performance overhead if the Visualize Mode is enabled while making changes in the scene hierarchy, such as transform changes of a game object.
  • Fixed issue #11 where updating SDK would override material mappings.
  • Fixed issue #13 where the list of 'ResonanceAudioReverbProbe' was not scrollable in Reverb Baking Window.
  • Fixed a bug where the ResonanceAudioAcousticMesh class would give an error when the scene contains non-triangular meshes (e.g. points and lines). Now non-triangular meshes will be skipped.