python import audioread with audioread.audio_open('audio_file.mp3') as f: print(f.channels, f.samplerate, f.duration) for frame in f: print(frame)