JSPM

vocoder

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q27939F
  • License MIT

A vocoder for the web audio api

Package Exports

  • vocoder

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vocoder) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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) {
});