Giter Site home page Giter Site logo

tachi-hi / slidinghpss Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 4.0 29 KB

sliding HPSS and two stage HPSS (singing voice enhancement)

C++ 61.72% Makefile 0.99% Shell 4.60% R 32.69%
hpss music-information-retrieval signal-processing audio-signal-processing music-signal-processing

slidinghpss's Introduction

sliding HPSS

Coded by : Hideyuki Tachibana

What's this?

This is an example of the implementation of "sliding HPSS" described in the following paper.

  • N. Ono, K. Miyamoto, H. Kameoka, S. Sagayama "A real-time equalizer of harmonic and percussive components in music signals" in Proc. ISMIR 2008.

This program is coded for following paper (IEEE Xplore) on singing voice enhancement, in which it is applied twice with different parameter sets.

@article{tachibana2014singing,
  author={Hideuyki Tachibana and Nobutaka Ono and Shigeki Sagayama},
  journal={IEEE/ACM Transactions on Audio, Speech, and Language Processing}, 
  title={Singing Voice Enhancement in Monaural Music Signals Based on 
  	Two-stage Harmonic/Percussive Sound Separation on Multiple Resolution Spectrograms}, 
  year={2014},
  volume={22},
  number={1},
  pages={228-237}
}

See also the following conferene paper (IEEE Xplore).

@inproceedings{tachibana2010melody,
  author={Hideyuki Tachibana and Tatsuma Ono and Nobutaka Ono and Shigeki Sagayama},
  booktitle={2010 IEEE International Conference on Acoustics, Speech and Signal Processing}, 
  title={Melody line estimation in homophonic music audio signals 
  	based on temporal-variability of melodic source}, 
  year={2010},
  pages={425-428}
}

How to use (on UNIX like system.)

Build

Download the codes as follows.

cd your_working_directory
git clone https://github.com/tachi-hi/slidingHPSS

Install FFTW3 (libfftw3) in your system. If you are an Ubuntu user,

apt-get install libfftw3-dev

Then type the follwoing commands to build the code and execute the obtained binary.

bash setup.sh
./bin/slidingHPSS -h

then usage massage will be displayed.

Preprocessing: Stereo 44.1kHz MP3 -> Mono 16kHz WAV

YourMP3file.mp3 is converted to a suitable format by following commands.

mpg123 -w wavefile_tmp.wav yourMP3file.mp3
sox wavfile_tmp.wav -r 16000 -c 1 input.wav
rm wavfile_tmp.wav

Singing Voice Enhancement

Just run the script file twostageHPSSscripts/twostageHPSS.sh. The file named input.wav in the working directory will be separated into three files named _H.wav, _P.wav, and _V.wav.

Singing Voice Suppression

You can similarly obtain a "karoake" signal just by mixing the two files _H.wav and _P.wav as follows.

sox -m _H.wav _P.wav _karaoke.wav

See also euterpe, an automatic audio-to-audio karaoke system.

License

Free

Academic Use

Please cite one of the papers above.

Links

Other implementations of HPSS

Data

slidinghpss's People

Contributors

tachi-hi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.