diff --git a/CHANGELOG.rst b/CHANGELOG.rst index deba4a8d..b6c02ee6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,7 +11,11 @@ adheres to `Semantic Versioning `_. `Unreleased`_ ------------- -Nothing yet. +Bugfix +~~~~~~ + +- Fixes the default value of `energy_thres` in `experimental.rt60` to match the + previous behavior of the function (issue #358) `0.7.5`_ - 2024-06-18 --------------------- diff --git a/pyroomacoustics/experimental/rt60.py b/pyroomacoustics/experimental/rt60.py index b3634540..d9df7ee2 100644 --- a/pyroomacoustics/experimental/rt60.py +++ b/pyroomacoustics/experimental/rt60.py @@ -33,7 +33,7 @@ import numpy as np -def measure_rt60(h, fs=1, decay_db=60, energy_thres=0.95, plot=False, rt60_tgt=None): +def measure_rt60(h, fs=1, decay_db=60, energy_thres=1.0, plot=False, rt60_tgt=None): """ Analyze the RT60 of an impulse response. Optionaly plots some useful information.