soundbank-overdrive

A simple audio distortion effect based on wave shaping with automatable filter and gain controls.

soundbank-overdrive

A simple audio distortion effect based on wave shaping with automatable filter and gain controls.

Based on Nick Thompson's Overdrive, but modified to allow direct AudioParam manipulation allowing easy automation and modulation.

$ npm install soundbank-overdrive
var Overdrive = require('soundbank-overdrive')

Create a AudioNode processor instance.

node.gain (AudioParam)

This goes up to 11 (and beyond)!

Wet/dry amount of preband filtering.

Preband filter frequency cutoff.

Post filter frequency cutoff

var Overdrive = require('soundbank-overdrive')
 
var audioContext = new AudioContext()
 
var overdrive = Overdrive(audioContext)
overdrive.connect(audioContext.destination)
 
overdrive.gain.value = 20
overdrive.preBand.value = 5000
overdrive.postCut.value = 600
 
var player = audioContext.createBufferSource()
player.buffer = audioContext.sampleCache['duh.wav']
player.connect(overdrive)
player.start()