使用python/demucs库分离人声,达到消除噪声的效果

字号+ 编辑: 国内TP粉 修订: 种花家 来源: facebookresearch 2024-06-04 我要说两句(0)

就是介绍介绍demucs命令行怎么用

把库从github上拉下来。

这里把只要人声的命令写出来。本案例用cpu处理

python3 -m demucs -d cpu 源文件路径 --two-stems=vocals -o "/输出目录/"

安装

安装来源  https://github.com/facebookresearch/demucs

pip安装

python3 -m pip install -U demucs

常见报错

RuntimeError: Couldn't find appropriate backend to handle uri /xxxxxxx and format None.

提示缺少后端库输出文件,安装依赖库

pip3 install ffmpeg librosa torchaudio soundfile


阅完此文,您的感想如何?
  • 有用

    1

  • 没用

    0

  • 开心

    0

  • 愤怒

    0

  • 可怜

    0

1.如文章侵犯了您的版权,请发邮件通知本站,该文章将在24小时内删除;
2.本站标注原创的文章,转发时烦请注明来源;
3.Q群: 2702237 13835667

相关课文
  • 通过i参数使用国内镜像给pip安装提速

  • Conda删除不用的虚拟环境

  • flask框架知识点总结

  • linux - centos 7.x安装python3.10教程

我要说说
网上嘉宾点评