Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

00-Hello 这节 #9

Open
wanbing0610 opened this issue Oct 7, 2023 · 1 comment
Open

00-Hello 这节 #9

wanbing0610 opened this issue Oct 7, 2023 · 1 comment

Comments

@wanbing0610
Copy link

换了台新win电脑,抛弃mac m1, 继续音乐入门之路;
我是遵循教程,通过pip安装的第三方包,如果通过这种方式安装librosa则是最新版本;
在00-Hello.ipynb这个文件下中,librosa.display.waveplot(x, sr, alpha=0.8) 这段代码,其中waveplot函数已经过时,报错'AttributeError: module 'librosa.display' has no attribute 'waveplot'';
image

需改成librosa.display.waveshow(x, sr=sr);
image

@beiciliang
Copy link
Owner

这节是好几年前写的,当时基于librosa 0.6.1版本(requirements.txt里有版本依赖声明),如果你使用最新版的包,请以最新版本为主。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants