Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 743 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 743 Bytes

Vocoder

This is a port of Chris Wilson's Vocoder project with all the UI stripped out and modified to work with Browserify.

Basically, you can control the pitch of a vocal track. (ノ◕ヮ◕)ノ*:・゚✧ M A G I C AL (ಥ﹏ಥ)

Installation

npm install --save vocoder

Usage

###function vocoder(audioContext, carrierBuffer, modulatorBuffer)

Start the vocoder playing the modulatorBuffer mixed in with the carrierBuffer. These are both AudioBuffers.

Example

var vocoder = require('vocoder');
var load = require('webaudio-buffer-loader');

var ctx = new AudioContext();

load(['/carrier.ogg', '/modulator.ogg'], ctx, function(err, buffers) {
});