Finite Equalizer
Finite Impulse Response Equalizer.
Edit-Media -InputPath .\a.mp3 -FiniteEqualizer -FiniteEqualizerGain @'
if(eq(chid,1), gain_interpolate(f), if(eq(chid,2), gain_interpolate(1e6+f), 0))
'@ -FiniteEqualizerGainentry @'
entry(1000, 0); entry(1001,-INF); entry(1e6+1000,0)
'@
Finite Impulse Response Equalizer.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
true | named | false |
Set gain curve equation (in dB).
The expression can contain variables:
f the evaluated frequency
sr sample rate
ch channel number, set to 0 when multichannels evaluation is disabled
chid channel id, see libavutil/channel_layout.h, set to the first channel id when multichannels evaluation is disabled
chs number of channels
chlayout channel_layout, see libavutil/channel_layout.h
and functions:
gain_interpolate(f) interpolate gain on frequency f based on gain_entry
cubic_interpolate(f) same as gain_interpolate, but smoother
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String] |
false | 1 | false | firequalizer_gain |
Set gain entry for gain_interpolate function. The expression can contain functions:
entry(f, g) store gain entry at frequency f with value g
This option is also available as command.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String] |
false | 2 | false | firequalizer_gain_entry |
Set filter delay in seconds. Higher value means more accurate.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | 3 | false | firequalizer_delay |
Set filter accuracy in Hz. Lower value means more accurate.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | 4 | false | firequalizer_accuracy |
set window function
Valid Values:
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String] |
false | 5 | false | firequalizer_wfunc |
If enabled, use fixed number of audio samples. This improves speed when filtering with large delay. Default is disabled.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Switch] |
false | named | false | firequalizer_fixed |
Enable multichannels evaluation on gain.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Switch] |
false | named | false | firequalizer_multi |
Enable zero phase mode by subtracting timestamp to compensate delay.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Switch] |
false | named | false | firequalizer_zero_phase |
set gain scale
Valid Values:
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String] |
false | 6 | false | firequalizer_scale |
set dump file
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String] |
false | 7 | false | firequalizer_dumpfile |
set dump scale
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Switch] |
false | named | false | firequalizer_dumpscale |
Enable 2-channel convolution using complex FFT.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Switch] |
false | named | false | firequalizer_fft2 |
Enable minimum phase impulse response.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Switch] |
false | named | false | firequalizer_min_phase |
Extension/FiniteEqualizer.RoughDraft.Extension.ps1 -FiniteEqualizer [[-FiniteEqualizerGain] <String>] [[-FiniteEqualizerGainentry] <String>] [[-FiniteEqualizerDelay] <Double>] [[-FiniteEqualizerAccuracy] <Double>] [[-FiniteEqualizerWindowFunction] <String>] [-FiniteEqualizerFixed] [-FiniteEqualizerMultichannel] [-FiniteEqualizerZeroPhase] [[-FiniteEqualizerScale] <String>] [[-FiniteEqualizerDumpfile] <String>] [-FiniteEqualizerDumpscale] [-FiniteEqualizerFft2] [-FiniteEqualizerMinphase] [<CommonParameters>]