Giter Site home page Giter Site logo

phasevocoder's Introduction

Phase Vocoder

This is a phase vocoder written in C++. The main purpose of a phase vocoder is to change the speed and pitch of a given voice recording file.

Current version supports the following time stretching algorithms

  • Default: number of frames remain the same, while the output synthesis-rate/frame-shift/hop-size is modified correspondingly.
  • --phaseLock: perform phase locking as described in [Laroche99]
  • --fdTimeStretch: perform interpolate/extrapolate on spectrogram, thus the number of frames changed; while the output synthesis-rate/frame-shift/hop-size remain the same as analysis.
  • Both --phaseLocking and --fdTimeStretch

Heuristically, use --phaseLock for human speech and --fdTimeStretch for music yield the best result.

Current version supports the following pitch shifting algorithms

  • Default: perform time stretching for compensation, then modify output synthesis-rate/frame-shift/hop-size so the total length remains but pitch changed (due to up/down sampling)
  • --fdPitchShift: directly modify spectrogram; both the number of frames and output synthesis-rate/frame-shift/hop-size remain the same as analysis. Default approach is suggested. --fdPitchShift hasn't been optimized yet.

Platforms

Linux, OS X

Requirements

g++ 4.2 or higher

Installation

make to create PhaseVocoder.exe.

Test

After PhaseVocoder.exe is complied, go to test/ directory and run sh test.sh.

Reference

  • Moulines, Eric, and Jean Laroche. "Non-parametric techniques for pitch-scale and time-scale modification of speech." Speech communication 16.2 (1995): 175-205.
  • Laroche, Jean, and Mark Dolson. "Improved phase vocoder time-scale modification of audio." Speech and Audio Processing, IEEE Transactions on 7.3 (1999): 323-332.

phasevocoder's People

Contributors

ybdarrenwang avatar

Stargazers

Valentin Ackva avatar Rasool Al-Mafrachi avatar  avatar  avatar  avatar  avatar J Curtis avatar Devin Roth avatar  avatar Zyser avatar  avatar Owen Williams avatar  avatar Molanis avatar  avatar Stan Rosenbaum avatar  avatar Martin Dahlgren avatar cfyeh avatar

Watchers

James Cloos avatar Martin Dahlgren 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.