Return the position of silence in a song

def findGap(song):
    """Return the position of silence in a song"""
    try:
        silence = pd.silence.detect_silence(song)
    except IOError:
        print("There isn't a song there!")

    maxlength = 0

    for pair in silence:
        length = pair[1] - pair[0]
        if length >= maxlength:
            maxlength = length
            gap = pair

    return gap