Added FFT trim threshold setting and example filters

This commit is contained in:
2019-01-17 00:00:49 +00:00
parent 927eb3e1ff
commit 887b2a9205
7 changed files with 131 additions and 0 deletions

73
ExampleFilters/README.md Normal file
View File

@@ -0,0 +1,73 @@
Filters are simply XML files with the extension ".eff"
Place them in a folder called `System` within your recordings folder.
The format is:
<effect name="Filter Name">
<filter....>
[optional sub-components or filters]
</filter>
[<filter...>]
</effect>
Currently implemented filters:
<amplifier gain="1.0" />
Amplify (or attenuate) the sample by the given factor (1 = unity gain, 0 = silence, 2 = double, etc)
<biquad type="..." fc="..." q="..." gain="..." />
A Biquad filter of the given type with a center frequency `fc` in Hz, a Q `q` and gain in Decibals of `gain`.
Valid types are:
* lowpass
* highpass
* bandpass
* notch
* peak
* lowshelf
* highshelf
<delay>
<delayline samples="..." gain="...">
[optional effects to apply to the delay line]
</delayline>
</delay>
A multi-tap delay line where each tap can have its own additional filters applied. The delay is given in samples and the gain as
a factor where 1.0 is unity gain.
<group name="Name">
effects in the group
</group>
Allows you to group effects together within a chain. Not of any real use yet (except that the outer wrapper of an effect chain is
actually an effect group) but may be used in the future.
An example: the "Ethereal Voice" - echoes starting off quiet and getting louder with a variable high-pass filter on the pre-echoes. Also
includes a notch filter at 140Hz to cut out a specific annoying hum generated by my computer fans.
<effect name="Ethereal Voice">
<biquad type="notch" fc="140" q="20" gain="-50" />
<amplifier gain="0.1" />
<delayline>
<delay samples="4000" gain="1.0">
<biquad type="highpass" fc="400" q="1" gain="0" />
</delay>
<delay samples="8000" gain="1.5">
<biquad type="highpass" fc="300" q="1" gain="0" />
</delay>
<delay samples="12000" gain="2.0">
<biquad type="highpass" fc="200" q="1" gain="0" />
</delay>
<delay samples="16000" gain="3.0">
<biquad type="highpass" fc="100" q="1" gain="0" />
</delay>
<delay samples="20000" gain="15.0" />
</delayline>
<biquad type="lowshelf" fc="1000" q="2.2" gain="-10" />
<amplifier gain="1.5" />
</effect>

View File

@@ -0,0 +1,11 @@
<effect name="Big Echo">
<biquad type="notch" fc="140" q="20" gain="-50" />
<delayline>
<delay samples="22000" gain="0.2" pan="-0.3">
<biquad type="highpass" fc="300" q="1" gain="0" />
</delay>
<delay samples="44000" gain="0.05" pan="0.3">
<biquad type="highpass" fc="600" q="1" gain="0" />
</delay>
</delayline>
</effect>

View File

@@ -0,0 +1,4 @@
<effect name="Cut Computer Hum">
<biquad type="notch" fc="140" q="20" gain="-50" />
<biquad type="lowpass" fc="10000" q="1" gain="-10" />
</effect>

View File

@@ -0,0 +1,21 @@
<effect name="Ethereal Voice">
<biquad type="notch" fc="140" q="20" gain="-50" />
<amplifier gain="0.1" />
<delayline>
<delay samples="4000" gain="1.0" pan="-0.3">
<biquad type="highpass" fc="400" q="1" gain="0" />
</delay>
<delay samples="8000" gain="1.5" pan="0.3">
<biquad type="highpass" fc="300" q="1" gain="0" />
</delay>
<delay samples="12000" gain="2.0" pan="-0.5">
<biquad type="highpass" fc="200" q="1" gain="0" />
</delay>
<delay samples="16000" gain="3.0" pan="0.5">
<biquad type="highpass" fc="100" q="1" gain="0" />
</delay>
<delay samples="20000" gain="15.0" pan="0" />
</delayline>
<biquad type="lowshelf" fc="1000" q="2.2" gain="-10" />
<amplifier gain="1.5" />
</effect>

2
ExampleFilters/flat.eff Normal file
View File

@@ -0,0 +1,2 @@
<effect name="Flat">
</effect>

9
ExampleFilters/phone.eff Normal file
View File

@@ -0,0 +1,9 @@
<effect name="Telephone">
<biquad type="notch" fc="140" q="20" gain="-50" />
<biquad type="lowshelf" fc="400" q="10" gain="-20" />
<biquad type="highshelf" fc="8000" q="10" gain="-20" />
<delayline>
<delay samples="100" gain="0.5" />
</delayline>
<amplifier gain="1.4" />
</effect>

View File

@@ -0,0 +1,11 @@
<effect name="Robotic">
<biquad type="notch" fc="140" q="20" gain="-50" />
<biquad type="lowshelf" fc="100" q="2" gain="-20" />
<delayline>
<delay samples="400" gain="1" pan="-0.3" />
<delay samples="800" gain="1" pan="-0.3" />
<delay samples="1200" gain="1" pan="-0.3" />
<delay samples="1600" gain="1" pan="-0.3" />
<delay samples="2000" gain="1" pan="-0.3" />
</delayline>
</effect>