jipodine / reverbGen

A JavaScript library for generating artificial reverb impulse responses.

Home Page:https://jipodine.github.io/reverbGen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reverbGen

(Forked from https://github.com/adelespinasse/reverbGen)

A JavaScript library for generating artificial reverb impulse responses.

This library generates simulated room impulse responses that sound fairly decent when used in convolution reverb effects, including the Web Audio API's ConvolverNode. You can link the code into your web apps to generate impulse responses as needed, or you can generate sound files in advance to use in any audio application.

If you just want to generate some impulse responses, see the hosted version

If you want to use the library, the file you need is reverbgen.js. The other files implement the hosted web app linked above, and are not part of the library proper. The main function for generating impulse responses is reverbgen.generateReverb().

The method used to generate the impulse responses is somewhat inspired by the classic paper About This Reverberation Business, by James A. Moorer, which notes that exponentially decaying white noise makes a surprisingly good sounding reverb response. This implementation adds a short user-selectable fade-in time and a gradually changing lowpass filter.

A future version will hopefully add early echo, maybe even based on some kind of real room simulation.

About

A JavaScript library for generating artificial reverb impulse responses.

https://jipodine.github.io/reverbGen/

License:Apache License 2.0


Languages

Language:JavaScript 71.3%Language:HTML 23.2%Language:CSS 5.5%