audioflux.utils.temproal_db

audioflux.utils.temproal_db(X, base=18.0)

Calculate the time domain DB

Parameters
X: np.ndarray [shape=(frame,)]

Input array

base: float

default: 18.

Returns
max_Db: float

max Db

avgDb: float

average Db

percent: float

The current domain is smaller than-based db percentage