# Average

## #

DescriptionThe 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.

#### #

InputThe input is `MxN`

and must be a time signal with the units `s`

, `ms`

or `samples`

#### #

OutputThe 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.

## #

AttributesAttribute | Value |
---|---|

Name | Average |

Type | Linear |

Time constant | 125.0 ms |

Window | Rectangle |

Overlap | 0.0 ms |

Channels | 1 |

#### #

NameName specifies the name of the block.

#### #

TypeType specifies the type of time averaging is performed. The type can either be `Linear`

or `Exponential`

.

#### #

Time constantTime constant specifies the averaging time of the block in either `s`

, `ms`

or `samples`

.

#### #

WindowWindows specifies the type of window used when time averaging.

#### #

OverlapOverlap specifies the overlap in time, when using a linear averaging, in either `s`

, `ms`

or `samples`

.

#### #

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

## #

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