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