Pydub Audiosement to Numpy Array

# 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())
wolf-like_hunter