Difference between revisions of "Component: Delay (DSP Operators)"
From Flowcode Help
Jump to navigationJump to searchLine 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_Delay.fcfx FC_Comp_Source_temp/DSP_Delay.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_Delay.fcfx FC_Comp_Source_temp/DSP_Delay.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 85: | Line 85: | ||
[[File:DSPDelay.jpg]] | [[File:DSPDelay.jpg]] | ||
+ | |||
+ | |||
Line 92: | Line 94: | ||
==Macro reference== | ==Macro reference== | ||
− | === | + | ===Delay=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Delay''' |
|- | |- | ||
− | | colspan="2" | Passes | + | | colspan="2" | Passes a single value from a buffer into the delay buffer and spits out a delayed value at the other end |
|- | |- | ||
|- | |- | ||
Line 106: | Line 108: | ||
− | === | + | ===DelayArray=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DelayArray''' |
|- | |- | ||
− | | colspan="2" | Passes | + | | colspan="2" | Passes an entire buffer into the delay buffer and spits out a delayed version of the buffer at the other end |
|- | |- | ||
|- | |- | ||
Line 120: | Line 122: | ||
− | === | + | ===PresetDelay=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PresetDelay''' |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Presets the contents of the delay buffer with the specified value. |
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT | | width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT | ||
− | | width="90%" | | + | | width="90%" | Value |
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
Line 139: | Line 141: | ||
− | === | + | ===SetDelaySize=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetDelaySize''' |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Specifies the number of values in the delay buffer to allow the length of the delay to be adjustable during runtime. |
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT | | width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT | ||
− | | width="90%" | | + | | width="90%" | Delay_Count |
|- | |- | ||
| colspan="2" | | | colspan="2" | |
Revision as of 12:00, 3 February 2023
Author | Matrix Ltd |
Version | 1.2 |
Category | DSP Operators |
Contents
Delay component
Allows an adjustable delay to be inserted into the DSP system
Component Source Code
Please click here to download the component source project: FC_Comp_Source_temp/DSP_Delay.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/DSP_Delay.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Here is a simple example file for the Delay component.
The DelayADC component is used to set the amount of delay that the component provides 0-2550 samples in steps of 10 samples.
The Input ADC component is used to pass a variable value into the DSP chain to allow the delay to be simulated.
Here is a picture showing the response of the delay component using the data recorder window.
Macro reference
Delay
![]() |
Delay |
Passes a single value from a buffer into the delay buffer and spits out a delayed value at the other end | |
![]() |
Return |
DelayArray
![]() |
DelayArray |
Passes an entire buffer into the delay buffer and spits out a delayed version of the buffer at the other end | |
![]() |
Return |
PresetDelay
![]() |
PresetDelay |
Presets the contents of the delay buffer with the specified value. | |
![]() |
Value |
![]() |
Return |
SetDelaySize
![]() |
SetDelaySize |
Specifies the number of values in the delay buffer to allow the length of the delay to be adjustable during runtime. | |
![]() |
Delay_Count |
![]() |
Return |