def _get_valid_formats():
if NO_SOX:<EOL><INDENT>return []<EOL><DEDENT>so = subprocess.check_output(['<STR_LIT>', '<STR_LIT>'])<EOL>if type(so) is not str:<EOL><INDENT>so = str(so, encoding='<STR_LIT>')<EOL><DEDENT>so = so.split('<STR_LIT:\n>')<EOL>idx = [i for i in range(len(so)) if '<STR_LIT>' in so[i]][<NUM_LIT:0>]<EOL>formats = so[idx].split('<STR_LIT:U+0020>')[<NUM_LIT:3>:]<EOL>return formats<EOL>
Calls SoX help for a lists of audio formats available with the current
    install of SoX.

    Returns:
    --------
    formats : list
        List of audio file extensions that SoX can process.