📅  最后修改于: 2022-03-11 15:00:02.953000             🧑  作者: Mango
代码示例1
>>> y, sr = librosa.load(librosa.util.example_audio_file(),
... duration=5.0)
>>> librosa.output.write_wav('file_trim_5s.wav', y, sr)