This version is outdated by a newer approved version.DiffThis version (29 Nov 2017 12:44) was approved by Sanjeeva Reddy.The Previously approved version (21 Jun 2012 17:50) is available.Diff

This is an old revision of the document!


Click here to return to the Basic DSP page

The Delay block outputs a delayed version of the input signal. The input is delayed by the amount of samples reflected in the Cur numeric text box. The top drop-down menu labeled Max represents the largest amount of delay that could be applied to the input signal. If you select a new Max value in the drop-down menu, you will be forced to recompile.

The maximum delay available for a particular delay block depends on the total available system data RAM, which is specified in the DSP processor data sheet. Setting the Max control's value, allocates memory on the DSP, reserving that memory for use by this particular block only, and reducing the available memory for all other delay blocks in the design. This is a compiler directive and modifies the assembly code, so any time you change the Max setting you must recompile and download the program. The maximum delay value range is limited to the remaining unallocated memory of the RAM.

There are two version of ' Delay ' algorithm.

  1. Delay (Real Signals)
  2. Delay (Complex Signals)

Delay (Real Signals)

Delay the input samples in time domain by the amount of Current delay. The size of the delay buffer is Max delay.

Delay (Complex Signals)

Delay the input samples in frequency domain by the amount of current delay. This is a block based module. The size of the delay buffer is Max delay * 2 + BlockSize *2.

Input Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Complex Input complex audio Input complex signal

Output Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Complex Delayed Output complex audioComplex Output signal

GUI Controls

GUI Control NameDefault ValueRangeFunction Description
Max1 1 - (Depends on Size of the Memory available)This control specifies the maximum delay supported for the current instance in samples (32-bit word). Change in this value requires a re-compilation
Cur0 1 - MaxCurrent delay value

Grow and Add Algorithm

input pins and output pins can be grown up to 16 channels together. Add algorithm and Multiple instance of the module is supported.

DSP Parameter Information

GUI Control NameCompiler NameFunction Description
Cur ComplexDelayBlkAlg1delayCurrent Delay value in bytes. (Cur * 4)


  • Green - Algorithm Name
  • Red - Instance Number (Changes for each instance)
  • Blue - Parameter Name

Supported DSPs


Example Usage

Delaying the input samples in frequency domain cause the Pitch shift of input signal.

resources/tools-software/sigmastudio/toolbox/basicdsp/delay.1491476693.txt.gz · Last modified: 06 Apr 2017 13:04 by Sanjeeva Reddy