601
edits
(Added <initialize-to> documentation) |
|||
Line 583: | Line 583: | ||
=== First order low pass filter <exponential> === | === First order low pass filter <exponential> === | ||
The exponential filter is a typical [http://en.wikipedia.org/wiki/Low-pass_filter low pass filter]. The magic Euler number and the associated mathematical function exp() plays a major role here. As the name implies, lower frequencies can pass this filter while higher frequencies are cut. The frequency where only half of the input signal reaches the output is called cutoff frequency. This cutoff frequency is defined by the parameter <syntaxhighlight lang="xml" inline><filter-time></syntaxhighlight> and resolves as cutoff-frequency = 1/(2*pi*cutoff-frequency). | The exponential filter is a typical [http://en.wikipedia.org/wiki/Low-pass_filter low pass filter]. The magic Euler number and the associated mathematical function exp() plays a major role here. As the name implies, lower frequencies can pass this filter while higher frequencies are cut. The frequency where only half of the input signal reaches the output is called cutoff frequency. This cutoff frequency is defined by the parameter <syntaxhighlight lang="xml" inline><filter-time></syntaxhighlight> and resolves as cutoff-frequency = 1/(2*pi*cutoff-frequency). | ||
The <code><filter-time></code> also supports <code><property></code> and <code><expression></code>s to make the filter time variable. | |||
Example: a 1Hz first order low pass filter | Example: a 1Hz first order low pass filter | ||
Line 594: | Line 596: | ||
</filter> | </filter> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Second order low pass filter <double-exponential> === | === Second order low pass filter <double-exponential> === |
edits