Giter Site home page Giter Site logo

voicemusicseparation's Introduction

Voice Music Separation

该工程用于参加第六届浙大华为杯题目: 流行歌曲歌声提取

主要功能为歌声音乐分离fuck()以及播放音乐playAudio(),还有内部函数矩阵恢复(RPCA)的IALM算法等。


该工程基于Python开发,需要安装Python及工程相关包:NumPy、SciPy、Pymedia、stft

使用步骤

  • 下载并解压工程,解压后路径如E:Python\voiceMusicSeparation

  • 打开Python,把工程文件夹加入到搜索路径

import sys
sys.path.append('E:\Python\voiceMusicSeparation')

如果要永久添加该路径,可以在Python的D:\Python27\Lib\site-packages文件夹下新建mypkpath.pth,里面写上要添加的路径

# .pth file for my project(这行是注释)
E:\Python\voiceMusicSeparation
  • 导入该工程module
import voiceMusicSeparation as vms
  • 把你的wav格式歌曲放到Audio文件夹,注意歌曲名称改成英文。进行歌声和音乐的分离
vms.fuck('Audio/歌曲名称.wav')
  • 打开工程主目录下生成的歌声outputE.wav和音乐outputA.wav查看分离效果。也可以在Python中播放:
vms.playAudio('outputE.wav')

作者:Luwak队@ZJU

说明:仅用于学习交流,禁止用于商业目的

voicemusicseparation's People

Contributors

iamhankai avatar

Watchers

Zhuliang Yao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.