Dsptoolbox

Latest version: v0.6

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 7

0.3.5

---------------------

Added
~~~~~~~
- `harmonic_distortion_analysis` in ``transfer_functions``
- added possibility of scaling the spectrogram
- calibration using any dBSPL value

Bugfix
~~~~~~~
- `reverb_time` now uses indices of peaks instead of -20 dBFS threshold since
it delivers more accurate results
- now scaling a spectrum of a signal with a window is done correctly (taking
the window into account)

Misc
~~~~~~
- general documentation and small performance improvements

0.3.4

---------------------

Added
~~~~~~~
- added support for `MultiBandSignal` in `hilbert` in module ``transforms``
- plot momentary spl added in `Signal`
- `PhaseLinearizer` can now adapt to an input group delay
- `find_modes` in ``room_acoustics`` can now find antiresonances and use a
prominence value in dB for finding peaks in the CMIF
- `plot_phase` in signal class can now apply smoothing to the phase and also
remove the delay of the impulse response
- `MultiBandSignal` can now return its time data

Bugfix
~~~~~~~
- a new criterion was added to `trim_rir` to reliably find the end of aqs RIR.
It now looks at non-overlapping windows and expects the energy to decay
monotonically after the impulse has arrived
- `window_centered_ir` fixed for certain lengths
- `generate_synthetic_rir` has been fixed after previous refactoring changed
some underlying functions
- `noise` in ``generators`` has been now fixed since its previous slopes were
erroneously defined in the amplitude spectrum instead of the power spectrum

Misc
~~~~~~
- general documentation and small performance improvements
- `window_frequency_dependent` is now optimized to be faster and can apply a
window-dependent scaling to its output
- `MultiBandSignal` checks now for complex time data and ensures it is
consistent in every band
- if `Signal` has `time_data_imaginary`, it is now also plotted in the
`plot_time` method
- `get_spectrum` now returns the correctly scaled spectrum also when the method
is standard
- updated some example notebooks
- `group_delay` functions in ``transfer_functions`` can apply now smoothing
- `reverb_time` now returns correlation coefficients as well
- corrected smoothing behavior in signal class when plotting

0.3.3

---------------------

Added
~~~~~~~
- added state variable filter `StateVariableFilter` discretized with a
topology-preserving transform

Misc
~~~~~~
- Corrected orders for `linkwitz_riley_crossover` and added 2nd order

0.3.1

---------------------

Added
~~~~~~
- added returning the indices for start and stop in `trim_rir` in ``room_acoustics``

0.3.0

---------------------

Added
~~~~~~
- added `complementary_fir_filter` in ``filterbanks`` module
- `window_ir` in ``transfer_functions`` is now adaptive to the impulse
- added automatic trimming of room impulse responses for reverberation time
and descriptors using a smooth envelope of the energy time curve. Additionally,
added warning if `reverb_time` with Topt does not seem to find a good
linear fit for the energy decay curve
- partly refactored `linkwitz_riley_crossover` and allow for odd order
crossovers
- `PhaseLinearizer` in ``filterbanks`` module is now available for designing
FIR filters to linearize a given phase response
- added `trim_rir` in ``room_acoustics`` for trimming RIRs in a parametrized
manner

Bugfix
~~~~~~
- corrected scaling of spectrum in the case of amplitude spectrum in `signal`
class
- corrected computation of minimum phase using log hilbert method
- corrected a case in `window_centered_ir` where padding was needed
- fixed a bug for `MultiBandSignal` where it could not add new bands in a
multirate configuration

Misc
~~~~~
- docs and tests
- refactored `window_ir` for more flexibility and consistency
- now `compute_transfer_function` also returns the coherence
- change `LatticeLadderFilter` to be part of ``filterbanks`` module

0.2.16

---------------------
Added
~~~~~~
- renamed `spectral_average` into `average_irs` in ``transfer_functions``
module. Now also a time-aligned average of irs can be done

Misc
~~~~~
- Refactored some backend functions

Page 4 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.