Difference between revisions of "Component: Filter (DSP Operators)"
(Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.3 |- | width="20%" style="color:gray...") |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_DSP_Filter.fcfx FC_Comp_Source_DSP_Filter.fcfx] |
+ | |||
+ | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DSP_Filter.fcfx FC_Comp_Source_DSP_Filter.fcfx] | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 36: | Line 48: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 98: | Line 120: | ||
[[File:BPFilter3.jpg]] | [[File:BPFilter3.jpg]] | ||
− | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Macro reference== | ||
+ | |||
+ | ===Filter=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 113: | Line 150: | ||
+ | ===FilterArray=== | ||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FilterArray''' | ||
+ | |- | ||
+ | | colspan="2" | Performs the filter operation to the contents of the entire buffer in one go. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
+ | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
+ | |} | ||
+ | |||
+ | |||
+ | ===SetFilterCoefficient=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 134: | Line 186: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Latest revision as of 10:26, 20 October 2023
Author | Matrix Ltd |
Version | 1.3 |
Category | DSP Operators |
Contents
Filter component
Filter component to allow basic filtering to be performed Filters include: LowPass, HighPass, BandPass, BandStop, FIR, IIR
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DSP_Filter.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DSP_Filter.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Low Pass Filter
Example of the filter component set up to create a low pass filter with the input frequency controlled using the potentiometer on the panel. LowPassFilter Low pass filter running at a low frequency - note that the amplitude of the filtered data closely matches that of the original waveform data.
Low pass filter running at a high frequency - note that the amplitude of the filtered waveform is now greatly attenuated.
High Pass Filter
Example of the filter component set up to create a high pass filter with the input frequency controlled using the potentiometer on the panel. HighPassFilter High pass filter running at a low frequency - note that the amplitude of the filtered waveform is greatly attenuated.
High pass filter running at a high frequency - note that the amplitude of the filtered data closely matches that of the original waveform data.
Band Pass Filter
Example of the filter component set up to create a band pass filter with the input frequency controlled using the potentiometer on the panel. BandPassFilter Band pass filter running at a low frequency - note that the amplitude of the filtered waveform is greatly attenuated.
Band pass filter running at a mid frequency - note that the amplitude of the filtered data closely matches that of the original waveform data.
Band pass filter running at a high frequency - note that the amplitude of the filtered waveform is greatly attenuated.
Macro reference
Filter
Filter | |
Performs the filter operation to the current value in the buffer. | |
- VOID | Return |
FilterArray
FilterArray | |
Performs the filter operation to the contents of the entire buffer in one go. | |
- VOID | Return |
SetFilterCoefficient