Wiki

This version is outdated by a newer approved version.DiffThis version (10 Feb 2021 13:13) was approved by Sanjeeva Reddy.

This is an old revision of the document!


Click here to return to the Arithmetic and Logic page

Running Average


Description

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

Targets Supported

NameADSP-214xx(Sample)ADSP-214xx(Block)ADSP-215xx/ADSP-SC5xx(Sample)ADSP-215xx/ADSP-SC5xx(Block)
Running Average Yes YesYes Yes


Pins

Input

NameTypeDescription
Input0AudioInput channel 0

Output

NameTypeDescription
Output0AudioOutput channel 0

Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction 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 NameDescriptionADSP-214xx/SC5xx/215xx
MaxBlockSizeSetSpecifies the maximum samples for averagingFloat
MaxCurrentBlockSizeNumber of samples to be averagedFloat
OneOverNInverse of CurrentBlockSizeFloat

DSP Parameter Computation

NA

resources/tools-software/sigmastudiov2/modules/arithmeticandlogic/runningaverage.1591269086.txt.gz · Last modified: 04 Jun 2020 13:11 by Krithika Manchale