audioflux.utils.log10_compress

audioflux.utils.log10_compress(X, gamma=1.0)

log10 compression

Parameters
X: np.ndarray [shape=(…, fre,) or (…, fre, time)]

Input array

gamma: float

1/10/20/…

Returns
out: np.ndarray [shape=(…, fre,) or (…, fre, time)]

log10 compressed array