在Python中,您可以使用soundfile库来读取和解压缩.snd文件。首先,您需要安装soundfile库(如果尚未安装): pip install soundfile 然后,您可以使用以下代码来读取和解压缩.snd文件: import soundfile as sf # 读取.snd文件 data, samplerate = sf.read('example.snd') # 现在data包含解压缩的音频数据,samplerate是采样率 print(data) print(samplerate)...【查看原文】