def get_audio_length(path):
    output = subprocess.check_output([('soxi -D "%s"' % path.strip())], shell=True)
    return float(output)
def get_audio_length(path):
    output = subprocess.check_output([('soxi -D "%s"' % path.strip())], shell=True)
    return float(output)