def load_audio(file_path: str, sampling_rate: int = 16000):
    """Load a waveform from an audio file.

    Args:
        file_path: The file to load.
        sampling_rate: The sampling rate to resample to.

    """
    loaders = {
        extensions: partial(loader, sampling_rate=sampling_rate) for extensions, loader in _audio_loaders.items()
    }
    return load(file_path, loaders)
Load a waveform from an audio file.

    Args:
        file_path: The file to load.
        sampling_rate: The sampling rate to resample to.

    
src/flash/core/data/utilities/loading.py