soundbank-pitch-shift
Simple pitch shifter for Web Audio API based on delay nodes. Extends Jungle by Chris Wilso (Copyright Google).
Intended for use as a processor in soundbank, but it is compatible with any Web Audio API AudioNode set up.
Install
$ npm install soundbank-pitch-shift
API
var PitchShift =
PitchShift(audioContext)
Create and return an AudioNode instance.
node.transpose (get/set)
Specify semi-tones to transpose the input signal by.
node.wet (AudioParam)
node.dry (AudioParam)
Example
var PitchShift = var audioContext = var pitchShift = pitchShift pitchShifttranspose = 12pitchShiftwetvalue = 1pitchShiftdryvalue = 05