Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adelespinasse/reverbGen
A JavaScript library for generating artificial reverb impulse responses.
https://github.com/adelespinasse/reverbGen
Last synced: 3 months ago
JSON representation
A JavaScript library for generating artificial reverb impulse responses.
- Host: GitHub
- URL: https://github.com/adelespinasse/reverbGen
- Owner: adelespinasse
- License: apache-2.0
- Created: 2014-11-02T23:51:27.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-28T18:01:50.000Z (almost 8 years ago)
- Last Synced: 2024-05-05T06:33:59.197Z (6 months ago)
- Language: JavaScript
- Size: 5 MB
- Stars: 52
- Watchers: 6
- Forks: 7
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-webaudio - reverbGen - A JavaScript library for generating artificial reverb impulse responses. (Obsolete / Community)
README
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 at [aldel.com/reverbgen](http://aldel.com/reverbgen).
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](http://www.music.mcgill.ca/~gary/courses/papers/Moorer-Reverb-CMJ-1979.pdf), 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.