howler.js icon indicating copy to clipboard operation
howler.js copied to clipboard

Filters

Open jcampbellcodes opened this issue 7 years ago • 9 comments

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

jcampbellcodes avatar Oct 10 '17 19:10 jcampbellcodes

This is exactly what I needed, thanks!

Jofairden avatar Oct 16 '17 16:10 Jofairden

This is fantastic! Thank you for doing this.

skepticalmartyr avatar Nov 08 '17 01:11 skepticalmartyr

@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 !

RenaudRohlinger avatar Sep 21 '18 16:09 RenaudRohlinger

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.

goldfire avatar Sep 21 '18 23:09 goldfire

Hi @goldfire any updates on merging this in?

wpitallo avatar Feb 05 '20 06:02 wpitallo

sound.play()
sound.addFilter({
  filterType: 'lowpass',
  frequency: 250.0,
  Q: 3.0
})

I updated my fork https://github.com/RenaudROHLINGER/howler.js

RenaudRohlinger avatar Aug 31 '20 08:08 RenaudRohlinger

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.

celesteh avatar Jun 02 '21 13:06 celesteh

@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.

roschler avatar Dec 21 '21 20:12 roschler