pip install audioread python import audioread file_path = 'audio.wav' with audioread.audio_open(file_path) as f: print(f.channels, f.samplerate, f.duration) for frame in f: process_frame(frame)