here is the example code I used.
audio = pydub.AudioSegment.from_mp3(f)
audio = audio.set_channels(1)
audio_array = np.array(audio.get_array_of_samples())
audio.frame_rate
I read mp3 file with pydub.AudioSegment.
Then I changed channels to 1.
(I forgot the code but when I checked channels, it was 2)
Then I changed it to array.
When I plotted array on matplotlib, I could see pulsation graph between value -20,000 and 20,000.
Here I am curious that what is the unit of these values on y-axis?
Just for reference.
audio.frame_rate value was 48,000.