howler.js
howler.js copied to clipboard
Filters
another effect for #660 -Adding a new plugin for filters as an insert effect. Changed core a bit to add some gain node hooks for signal routing so plugins can process audio in parallel to the dry signal (for time-based effects like delay and convolution) or in series with the dry signal (for spectral or dynamics effects like filters and compressors)
-Added tests and hooks for events fired by the filter plugin's API
This is exactly what I needed, thanks!
This is fantastic! Thank you for doing this.
@goldfire looks too busy atm with his main activity so if anyone is interested in using audio filters
right now (like me) just npm i https://github.com/RenaudROHLINGER/howler.js
then for example :
sound.play()
sound.addFilter({
filterType: 'lowpass',
frequency: 250.0,
Q: 3.0
})
I am trying to keep up to date my repo since I use it for my projects.
Thank you very much @jcampbellcodes for this awesome plugin !
Yes, very sorry about not getting to this yet. This has been an incredibly hectic year. The next month is still looking pretty crazy, but hopefully not too long after that I can finally get to testing and pulling this in.
Hi @goldfire any updates on merging this in?
sound.play()
sound.addFilter({
filterType: 'lowpass',
frequency: 250.0,
Q: 3.0
})
I updated my fork https://github.com/RenaudROHLINGER/howler.js
Your fork is cool @RenaudRohlinger , but it would be super if any fx plugins could make their way into @goldfire's main repo. I'm also wondering if there's a guide to plugin writing anywhere?
ETA:
The fork does not support sound.stereo(pan)
out of the box.
@jcampbellcodes Nice work. Is there a list of available plugins for Howler.js anywhere? I'm looking for a nice reverb effect I can apply to sounds that gets stronger as a sound gets further from the listener, using the spatial API.