Version: current

Average

Description

The signal processing block Average can either calculate the linear or exponential average of an input. It is based on IEC 61672-1:2013 which specifies sound level meters and defines the time-weighted sound level.

MxNKxN

Input

The input is MxN and must be a time signal with the units s, ms or samples

Output

The output is KxN which is an average of the input signal MxN. The size of K is dependent on the type of averaging and the time constant. The unit of the output is the same as the input.

Attributes

AttributeValue
NameAverage
TypeLinear
Time constant125.0 ms
WindowRectangle
Overlap0.0 ms
Channels1

Name

Name specifies the name of the block.

Type

Type specifies the type of time averaging is performed. The type can either be Linear or Exponential.

Time constant

Time constant specifies the averaging time of the block in either s, ms or samples.

Window

Windows specifies the type of window used when time averaging.

Overlap

Overlap specifies the overlap in time, when using a linear averaging, in either s, ms or samples.

Channels

Channels specifies the number of input(s)/output(s) the block will have.

Examples

This examples show the difference between a linear and exponential time average on a 10 Hz tone.

ProjectsDockA

ProjectsDockA