How to read 1GB audio file in python 2 or python 3?

270 Views Asked by At

I want to read a big audio file in Python. And segment it into many wave files and save them. I download a library call pyAudioAnalysis, and write code as follow:

from pyAudioAnalysis import audioBasicIO as aIO
from pyAudioAnalysis import audioSegmentation as aS
[Fs, x] = aIO.readAudioFile("/Users/name/Desktop/spto/CL124.wav")

However, this can't process file more than 1 GB. Is there any way to solve this problem? Thank you.

0

There are 0 best solutions below