minimal.drc 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. # Minimal correction settings
  2. # Minimal prefiltering windows (250 ms at 20 Hz, 50.0 ms at 100 Hz, 5.00 ms at 1 kHz, 0.25 ms at 20 kHz)
  3. # Strong peak limiting (5.11 dB Max)
  4. # Minimum phase excess phase allpass recovering to reduce pre-echo
  5. # Strong pre-echo truncation
  6. # Minimum phase postfiltering to reduce I/O latency
  7. # Strong ringing truncation
  8. # Base file directory
  9. # BCBaseDir = /usr/share/drc/
  10. # BC = Base Configuration
  11. BCInFile = rs.pcm
  12. BCSampleRate = 48000
  13. BCInFileType = F
  14. BCImpulseCenterMode = A
  15. BCImpulseCenter = 0
  16. BCInitWindow = 131072
  17. BCPreWindowLen = 1024
  18. BCPreWindowGap = 768
  19. BCNormFactor = 0.0
  20. BCNormType = E
  21. # MC = Mic compensation stage
  22. # N=disabled, L=linear phase, M=minimum phase
  23. MCFilterType = M
  24. MCInterpolationType = H
  25. MCMultExponent = 3
  26. MCFilterLen = 65535
  27. MCNumPoints = 0
  28. MCPointsFile = drc/flat.txt
  29. MCMagType = D
  30. # MCFilterFile = rmcf.pcm
  31. MCFilterFileType = F
  32. MCOutWindow = 0
  33. MCNormFactor = 0.0
  34. MCNormType = E
  35. MCOutFile = rmc.pcm
  36. MCOutFileType = F
  37. # Base configuration dip limiting stage
  38. BCDLType = L
  39. BCDLMinGain = 1e-6 # -120.0 dB Min, just to prevent overflow/underflow problems
  40. BCDLStartFreq = 20
  41. BCDLEndFreq = 23500
  42. BCDLStart = 0.75
  43. BCDLMultExponent = 3
  44. # HD = Homomorphic Deconvolution
  45. HDMultExponent = 4
  46. HDMPNormFactor = 1.0
  47. HDMPNormType = E
  48. # HDMPOutFile = rmp.pcm
  49. HDMPOutFileType = F
  50. HDEPNormFactor = 1.0
  51. HDEPNormType = E
  52. # HDEPOutFile = rep.pcm
  53. HDEPOutFileType = F
  54. # MP = Minimum phase frequency dependent windowing
  55. MPPrefilterType = s
  56. MPPrefilterFctn = B
  57. MPWindowGap = 24
  58. MPLowerWindow = 24000 # 250 ms
  59. MPUpperWindow = 24 # 0.25 ms
  60. MPStartFreq = 20
  61. MPEndFreq = 23500
  62. MPFilterLen = 65536
  63. MPFSharpness = 0.25
  64. MPBandSplit = 3
  65. MPWindowExponent = 1.0
  66. MPHDRecover = Y
  67. MPEPPreserve = Y
  68. MPHDMultExponent = 3
  69. MPPFFinalWindow = 24000
  70. MPPFNormFactor = 0.0
  71. MPPFNormType = E
  72. # MPPFOutFile = rmppf.pcm
  73. MPPFOutFileType = F
  74. # DL = Dip limiting stage
  75. DLType = M
  76. DLMinGain = 0.01 # -40.0 dB Min
  77. DLStartFreq = 20
  78. DLEndFreq = 23500
  79. DLStart = 0.75
  80. DLMultExponent = 3
  81. # EP = Excess phase frequency dependent windowing
  82. EPPrefilterType = s
  83. EPPrefilterFctn = B
  84. EPWindowGap = 24
  85. EPLowerWindow = 998 # 10.4 ms
  86. EPUpperWindow = 24 # 0.25 ms
  87. EPStartFreq = 20
  88. EPEndFreq = 23500
  89. EPFilterLen = 65536
  90. EPFSharpness = 0.25
  91. EPBandSplit = 3
  92. EPWindowExponent = 1.0
  93. EPPFFlatGain = 1.0
  94. EPPFOGainFactor = 0.0
  95. EPPFFlatType = M
  96. EPPFFGMultExponent = 3
  97. EPPFFinalWindow = 998
  98. EPPFNormFactor = 0.0
  99. EPPFNormType = E
  100. # EPPFOutFile = reppf.pcm
  101. EPPFOutFileType = F
  102. # PC = Prefiltering completion stage
  103. PCOutWindow = 0
  104. PCNormFactor = 0.0
  105. PCNormType = E
  106. # PCOutFile = rpc.pcm
  107. PCOutFileType = F
  108. # IS = Inversion stage
  109. ISType = T
  110. ISPETType = f
  111. ISPrefilterFctn = B
  112. ISPELowerWindow = 499
  113. ISPEUpperWindow = 374
  114. ISPEStartFreq = 20
  115. ISPEEndFreq = 23500
  116. ISPEFilterLen = 8192
  117. ISPEFSharpness = 0.50
  118. ISPEBandSplit = 3
  119. ISPEWindowExponent = 1.0
  120. ISPEOGainFactor = 0.0
  121. ISSMPMultExponent = 4
  122. ISOutWindow = 0
  123. ISNormFactor = 0.0
  124. ISNormType = E
  125. # ISOutFile = ris.pcm
  126. ISOutFileType = F
  127. # PT = Psychoacoustic target stage
  128. PTType = M
  129. PTReferenceWindow = 28800 # 300 ms
  130. PTDLType = M
  131. PTDLMinGain = 0.1 # -20.0 dB Min
  132. PTDLStartFreq = 20
  133. PTDLEndFreq = 23500
  134. PTDLStart = 0.75
  135. PTDLMultExponent = 3
  136. PTBandWidth = -2
  137. PTPeakDetectionStrength = 15
  138. PTMultExponent = 0
  139. PTFilterLen = 65536
  140. # PTFilterFile = rptf.pcm
  141. PTFilterFileType = F
  142. PTNormFactor = 0.0
  143. PTNormType = E
  144. # PTOutFile = rpt.pcm
  145. PTOutFileType = F
  146. PTOutWindow = 0
  147. # PL = Peak limiting stage
  148. PLType = W
  149. PLMaxGain = 1.8 # +5.11 dB Max
  150. PLStart = 0.75
  151. PLStartFreq = 100
  152. PLEndFreq = 10000
  153. PLMultExponent = 3
  154. PLOutWindow = 0
  155. PLNormFactor = 0.0
  156. PLNormType = E
  157. # PLOutFile = rpl.pcm
  158. PLOutFileType = F
  159. # RT = Ringing truncation stage
  160. RTType = s
  161. RTPrefilterFctn = B
  162. RTWindowGap = 24
  163. RTLowerWindow = 24000 # 250 ms
  164. RTUpperWindow = 24 # 0.25 ms
  165. RTStartFreq = 20
  166. RTEndFreq = 23500
  167. RTFilterLen = 65536
  168. RTFSharpness = 0.25
  169. RTBandSplit = 3
  170. RTWindowExponent = 1.0
  171. RTOutWindow = 24000
  172. RTNormFactor = 0.0
  173. RTNormType = E
  174. # RTOutFile = rrt.pcm
  175. RTOutFileType = F
  176. # PS = Target respose stage
  177. PSFilterType = T
  178. PSInterpolationType = S
  179. PSMultExponent = 3
  180. PSFilterLen = 65535
  181. PSNumPoints = 0
  182. PSPointsFile = pa-48.0.txt
  183. PSMagType = D
  184. PSOutWindow = 65536
  185. PSNormFactor = 1.0
  186. PSNormType = E
  187. PSOutFile = rps.pcm
  188. PSOutFileType = F
  189. # Minimum phase filter extraction stage
  190. MSMultExponent = 3
  191. MSOutWindow = 65536
  192. MSFilterDelay = 499
  193. MSNormFactor = 1.0
  194. MSNormType = E
  195. # MSOutFile = rms.pcm
  196. MSOutFileType = F
  197. # Test convolution stage
  198. TCNormFactor = 0.0
  199. TCNormType = M
  200. TCOutFile = rtc.pcm
  201. TCOutFileType = F