Generating FIR filter in Web Audio API
A FIR filter is just a "block" of coefficients, a vector, being convolved with your signal. 

Hence, https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode is kind of audio filtering object you need to create and apply.