📅  最后修改于: 2022-03-11 14:45:08.609000             🧑  作者: Mango
# credit to the Stack Overflow user in the source link
from pydub import AudioSegment
sound = AudioSegment.from_file("sound.wav")
samples = np.array(sound.get_array_of_samples())