グラフまでは、できたのですが、数値の取り出し方が分かりません。


from pydub import AudioSegment
import matplotlib.pyplot as plt
mp3_version = AudioSegment.from_mp3("sound.mp3")


sound = AudioSegment.from_file("sound.mp3", "mp3")
samples = sound.get_array_of_samples()

plt.plot(samples)
plt.show()