How do I normalize a signal in web audio?
I guess, this can be done with a ConvolverNode
. That node has an option normalize
. However I don't know what values should go into the buffer in order not to distort the incoming signal other than normalizing it. IOW: I wonder what is the neutral convolution function.
Background: I am trying to normalize white noise that I piped through a bandpass filter ( BiquadFilterNode
). At low frequencies, the amplitude of the output from the filter is very small. Of course, I could put a gain node behind with a gain value that depends on the frequency. However, if normalization is straight forward, that seems to be a cleaner solution.
There's no builtin normalization method. The ConvolverNode's normalization does something very different from what you want.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.