How to divide sample rate frequency by 10 bands for equalization.
For example i have audio pcm with 44100 hz and 1 byte per sample. How can i understand which sample is related with specified band. And how to divide samples to bands.
Can you give me explanation or link.
There are two common approaches for this:
Use a filter bank. You need to design 10 band-pass filters. All
the filters receive the full bandwudth input and the output of each
filter is a sub-band containing only the frequencies of interest for
that band. For equalization purposes you can then scale the
amplitude of each filter output and then re-combine the scaled
outputs.
Use FFT + IFFT. Use a (forward) FFT to
convert your time domain data into the frequency domain. Modify the
amplitudes in each frequency domain bin. Apply inverse FFT to get
equalized data back into the time domain. You’ll need to choose a
sufficiently large FFT size (N) to get the required frequency
resolution for your equalization bands. You’ll also need to use an
overlap technique to avoid discontinuities between successive
frames.