5a69a68de974932fa9ba83e076146865781320c4
[pcsx_rearmed.git] / deps / libretro-common / audio / dsp_filters / EQ.dsp
1 filters = 1
2 filter0 = eq
3
4 # Defaults
5
6 # Beta factor for Kaiser window.
7 # Lower values will allow better frequency resolution, but more ripple.
8 # eq_window_beta = 4.0
9
10 # The block size on which FFT is done.
11 # Too high value requires more processing as well as longer latency but
12 # allows finer-grained control over the spectrum.
13 # eq_block_size_log2 = 8
14
15 # An array of which frequencies to control.
16 # You can create an arbitrary amount of these sampling points.
17 # The EQ will try to create a frequency response which fits well to these points.
18 # The filter response is linearly interpolated between sampling points here.
19 #
20 # It is implied that 0 Hz (DC) and Nyquist have predefined gains of 0 dB which are interpolated against.
21 # If you want a "peak" in the spectrum or similar, you have to define close points to say, 0 dB.
22 #
23 # E.g.: A boost of 3 dB at 1 kHz can be expressed as.
24 # eq_frequencies = "500 1000 2000"
25 # eq_gains = "0 3 0"
26 # Due to frequency domain smearing, you will not get exactly +3 dB at 1 kHz.
27
28 # By default, this filter has a flat frequency response.
29
30 # Dumps the impulse response generated by the EQ as a plain-text file
31 # with one coefficient per line.
32 # eq_impulse_response_output = "eq_impulse.txt"
33 #
34 # Using GNU Octave or Matlab, you can plot the response with:
35 #
36 # f = fopen('/path/to/eq_impulse.txt');
37 # l = textscan(f, '%f');
38 # res = l{1};
39 # freqz(res, 1, 4096, 48000);
40 #
41 # It will give the response in Hz; 48000 is the default Output Rate of RetroArch