LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp.lasp_reverb.ReverbTime Class Reference

Tool to estimate the reverberation time. More...

Public Member Functions

 __init__ (self, fs, level, channel=0)
 Initialize Reverberation time computer.
 
 compute (self, istart, istop)
 Compute the reverberation time using a least-squares solver.
 

Protected Attributes

 _level
 
 _channel
 
 _N
 
 _t
 

Detailed Description

Tool to estimate the reverberation time.

Definition at line 12 of file lasp_reverb.py.

Constructor & Destructor Documentation

◆ __init__()

lasp.lasp_reverb.ReverbTime.__init__ (   self,
  fs,
  level,
  channel = 0 
)

Initialize Reverberation time computer.

Args: fs: Sampling frequency [Hz] level: (Optionally weighted) level values as a function of time, in dB. channel: Channel index to compute from

Definition at line 17 of file lasp_reverb.py.

Member Function Documentation

◆ compute()

lasp.lasp_reverb.ReverbTime.compute (   self,
  istart,
  istop 
)

Compute the reverberation time using a least-squares solver.

Args: istart: Start time index reverberation interval istop: Stop time index of reverberation interval

Returns: dictionary with result values, contains:

  • istart: start index of reberberation interval
  • istop: stop index of reverb. interval
  • T60: Reverberation time
  • const: Constant value
  • derivative: rate of change of the level in dB/s.

Definition at line 37 of file lasp_reverb.py.

Member Data Documentation

◆ _channel

lasp.lasp_reverb.ReverbTime._channel
protected

Definition at line 32 of file lasp_reverb.py.

◆ _level

lasp.lasp_reverb.ReverbTime._level
protected

Definition at line 30 of file lasp_reverb.py.

◆ _N

lasp.lasp_reverb.ReverbTime._N
protected

Definition at line 33 of file lasp_reverb.py.

◆ _t

lasp.lasp_reverb.ReverbTime._t
protected

Definition at line 34 of file lasp_reverb.py.


The documentation for this class was generated from the following file: