"""mlx-spectro: High-performance STFT/iSTFT for Apple MLX."""

__version__ = "0.4.0"

from .spectral_ops import (
    CenterPadMode,
    CenterTailPad,
    ISTFTBackendPolicy,
    MFCCTransform,
    MelMode,
    MelNorm,
    MelOutputScale,
    MelScale,
    MelSpectrogramTransform,
    LogMelMode,
    LogMelSpectrogramTransform,
    SpectralFeatureTransform,
    STFTOutputLayout,
    SpectralTransform,
    WindowLike,
    amplitude_to_db,
    chroma_stft,
    dct_matrix,
    get_cache_debug_stats,
    get_transform_mlx,
    make_window,
    mfcc,
    melscale_fbanks,
    onset_strength,
    onset_strength_multi,
    reset_cache_debug_stats,
    resolve_fft_params,
    rms,
    spectral_bandwidth,
    spectral_centroid,
    spectral_contrast,
    spectral_features,
    spectral_rolloff,
    spec_mlx_device_key,
    zero_crossing_rate,
)

__all__ = [
    "SpectralTransform",
    "MelSpectrogramTransform",
    "MFCCTransform",
    "SpectralFeatureTransform",
    "ISTFTBackendPolicy",
    "STFTOutputLayout",
    "CenterPadMode",
    "CenterTailPad",
    "MelScale",
    "MelNorm",
    "MelMode",
    "MelOutputScale",
    "LogMelMode",
    "WindowLike",
    "LogMelSpectrogramTransform",
    "make_window",
    "melscale_fbanks",
    "amplitude_to_db",
    "chroma_stft",
    "dct_matrix",
    "mfcc",
    "onset_strength",
    "onset_strength_multi",
    "spectral_features",
    "spectral_centroid",
    "spectral_bandwidth",
    "spectral_rolloff",
    "spectral_contrast",
    "rms",
    "zero_crossing_rate",
    "resolve_fft_params",
    "get_transform_mlx",
    "spec_mlx_device_key",
    "get_cache_debug_stats",
    "reset_cache_debug_stats",
]
