Get info about a soundfile

    path (str): the path to a soundfile

    RETURNS --> an instance of SndInfo: samplerate, nframes, channels, encoding, fileformat

def sndinfo(path:str) -> SndInfo:
    """
    Get info about a soundfile

    path (str): the path to a soundfile

    RETURNS --> an instance of SndInfo: samplerate, nframes, channels, encoding, fileformat
    """
    backend = _getBackend(path)
    logger.debug(f"sndinfo: using backend {backend.name}")
    return backend.getinfo(path)