Difference between revisions of "Component: Filter (DSP Operators)"
Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/DSP_Filter.fcfx FC_Comp_Source_temp/DSP_Filter.fcfx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/DSP_Filter.fcfx FC_Comp_Source_temp/DSP_Filter.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 119: | Line 119: | ||
[[File:BPFilter3.jpg]] | [[File:BPFilter3.jpg]] | ||
+ | |||
+ | |||
Line 133: | Line 135: | ||
|- | |- | ||
| colspan="2" | Performs the filter operation to the current value in the buffer. | | colspan="2" | Performs the filter operation to the current value in the buffer. | ||
+ | |- | ||
+ | |- | ||
+ | | 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'' | ||
+ | |} | ||
+ | |||
+ | |||
+ | ===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. | ||
|- | |- | ||
|- | |- | ||
Line 158: | Line 174: | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |
Revision as of 12:00, 3 February 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_temp/DSP_Filter.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/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