Jump to content

Component: Delay (DSP Operators): Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
(6 intermediate revisions by 2 users not shown)
Line 14: Line 14:
==Delay component==
==Delay component==
Allows an adjustable delay to be inserted into the DSP system
Allows an adjustable delay to be inserted into the DSP system
==Component Source Code==
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_DSP_Delay.fcfx FC_Comp_Source_DSP_Delay.fcfx]
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DSP_Delay.fcfx FC_Comp_Source_DSP_Delay.fcfx]


==Detailed description==
==Detailed description==
Line 103: Line 97:


===Delay===
===Delay===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Delay'''
| width="90%" class="mtx-class-macrohead" | '''Delay'''
|-
|-
| colspan="2" | Passes a single value from a buffer into the delay buffer and spits out a delayed value at the other end 
| colspan="2" | Passes a single value from a buffer into the delay buffer and spits out a delayed value at the other end 
Line 117: Line 111:


===DelayArray===
===DelayArray===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DelayArray'''
| width="90%" class="mtx-class-macrohead" | '''DelayArray'''
|-
|-
| colspan="2" | Passes an entire buffer into the delay buffer and spits out a delayed version of the buffer at the other end 
| colspan="2" | Passes an entire buffer into the delay buffer and spits out a delayed version of the buffer at the other end 
Line 131: Line 125:


===PresetDelay===
===PresetDelay===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PresetDelay'''
| width="90%" class="mtx-class-macrohead" | '''PresetDelay'''
|-
|-
| colspan="2" | Presets the contents of the delay buffer with the specified value. 
| colspan="2" | Presets the contents of the delay buffer with the specified value. 
Line 150: Line 144:


===SetDelaySize===
===SetDelaySize===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetDelaySize'''
| width="90%" class="mtx-class-macrohead" | '''SetDelaySize'''
|-
|-
| colspan="2" | Specifies the number of values in the delay buffer to allow the length of the delay to  be adjustable during runtime. 
| colspan="2" | Specifies the number of values in the delay buffer to allow the length of the delay to  be adjustable during runtime. 
Line 170: Line 164:
==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-
Line 196: Line 190:
| colspan="2" | Sets the data direction flow of the component 
| colspan="2" | Sets the data direction flow of the component 
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Delay
| width="90%" class="mtx-class-propfolder" | Delay
|-
|-
|-
|-
Line 215: Line 209:
| colspan="2" | Value used to preset the delay buffer. 
| colspan="2" | Value used to preset the delay buffer. 
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Delay Calculation
| width="90%" class="mtx-class-propfolder" | Delay Calculation
|-
|-
|-
|-
Line 234: Line 228:
| colspan="2" | Initial delay in seconds at the specified sample rate 
| colspan="2" | Initial delay in seconds at the specified sample rate 
|}
|}
==Component Source Code==
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_DSP_Delay.fcfx FC_Comp_Source_DSP_Delay.fcfx]
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DSP_Delay.fcfx FC_Comp_Source_DSP_Delay.fcfx]

Latest revision as of 14:37, 13 July 2026

Author Matrix Ltd
Version 1.2
Category DSP Operators


Delay component

Allows an adjustable delay to be inserted into the DSP system

Detailed description

No detailed description exists yet for this component

Examples

Here is a simple example file for the Delay component.

Delay

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 
- VOID Return


DelayArray

DelayArray
Passes an entire buffer into the delay buffer and spits out a delayed version of the buffer at the other end 
- VOID Return


PresetDelay

PresetDelay
Presets the contents of the delay buffer with the specified value. 
- UINT Value
 
- VOID Return


SetDelaySize

SetDelaySize
Specifies the number of values in the delay buffer to allow the length of the delay to be adjustable during runtime. 
- UINT Delay_Count
 
- VOID Return


Property reference

Properties
Connect To
DSP component with output buffer to collect our data from. 
Buffer Size
Number of individual elements the buffer can store, default 1. 
Buffer Type
Sets the buffer data type. 
Direction
Sets the data direction flow of the component 
Delay
Initial Delay Count
The initial delay that will be used at startup 
Max Delay Count
The maximum number of values to delay the incoming signal by 
Initial Value
Value used to preset the delay buffer. 
Delay Calculation
Sample Rate (Hz)
Sample rate used to generate some useful calculations 
Max Delay (s)
Maximum possible delay in seconds at the specified sample rate 
Initial Delay (s)
Initial delay in seconds at the specified sample rate 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_DSP_Delay.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_DSP_Delay.fcfx