pip install audioread python import audioread with audioread.audio_open("example.wav") as audio_file: print("Sample rate: %d Hz" % audio_file.samplerate) print("Channels: %d" % audio_file.channels) print("Duration: %.2f seconds" % audio_file.duration) for frame in audio_file: pass set FFMPEG_PATH=C:\path\to\ffmpeg.exe


上一篇:
下一篇:
切换中文