Wiki

This version (02 Jan 2023 14:23) was approved by Jagan M.

Running Average

Description

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 Block Block NA


Pins

Input

NameTypeDescription
Input0AudioInput channel 0

Output

NameTypeDescription
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
NumChannels115Number 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

NA

resources/tools-software/sigmastudio/toolbox/basicdsp/runningaverage.txt · Last modified: 27 Apr 2022 15:23 by Jagan M