python类display()的实例源码

plot.py 文件源码 项目:river 作者: betandr 项目源码 文件源码 阅读 20 收藏 0 点赞 0 评论 0
def plot_waveform(raw_sounds):
    i = 1
    fig = plotter.figure(figsize=(25, 60))
    fig.suptitle("Waveform " + title, fontsize=12)
    for f in raw_sounds:
        plotter.subplot(2, 1, i)
        librosa.display.waveplot(np.array(f), sr=22050)
        i += 1
    plotter.show()


问题


面经


文章

微信
公众号

扫码关注公众号