This version (18 May 2021 08:49) was approved by John Joseph.The Previously approved version (04 Jun 2020 13:11) is available.Diff

Click here to return to the Arithmetic and Logic page

Running Average


The RunningAverage block computes the average of N samples. Where N is specified in the CurrentBlockSize text field.

Targets Supported

Name ADSP-214xx ADSP-215xx/SC5xx ADAU145x/146x
—————————— ——————-- ——————————-- —————————-
Running Avg B B NA



———————————— —————————— —————————————-
Input0AudioInput channel 0


———————————— —————————— —————————————-
Output0AudioOutput channel 0

Configurable Parameters

GUI Parameter Name Default Value Range Function Description
—————————— —————————— —————————————————- ——————————
MaxBlockSizeSet11 -1500 (Depends on the size of memory available)Specifies the maximum samples for averaging. Change in this value requires a re-compilation
CurrentBlockSize11 - MaxBlockSizeSet Number of samples to be averaged. Change in this value requires a re-compilation
NumChannels120Number of input and output channels.Change in this value requires a re-compilation

DSP Parameters

Parameter Name Description ADSP-214xx/SC5xx/215xx
———————————— ———————————————————————-- ——————————--
MaxBlockSizeSet Specifies the maximum samples for averagingFloat
MaxCurrentBlockSize Number of samples to be averagedFloat
OneOverN Inverse of CurrentBlockSizeFloat

DSP Parameter Computation


resources/tools-software/sigmastudiov2/modules/arithmeticandlogic/runningaverage.txt · Last modified: 07 May 2021 07:09 by Krithika Manchale