INNER CODE UNIT · Python

bark_spectrogram

libAudioFlux/audioFlux · python/audioflux/core.py:267

def bark_spectrogram(X, num=128, radix2_exp=12, samplate=32000,
                     low_fre=None, high_fre=None,
                     window_type=WindowType.HANN, slide_length=None,
                     style_type=SpectralFilterBankStyleType.SLANEY,
                     normal_type=SpectralFilterBankNormalType.NONE,
                     data_type=SpectralDataType.POWER):
    """
    Bark-scale spectrogram.

    .. Note:: We recommend using the `BFT` class, you can use it more flexibly and efficiently.

    Parameters
    ----------
    X: np.ndarray [shape=(..., n)]
        audio time series.

    num: int
        Number of bark frequency bins to generate, starting at `low_fre`.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…