Angular vuMeterConfig.templateObject

onUpdate source

Description

Function called every 1024 audio sample. Any manipolation of DOM to show audio visualization should be included here

Parameters

NameTypeDescription
$element Object

The angular element for the current angular-vumeter template

volume Number

Calculated by RMS (Root Mean Square) of the last 1024 audio samples

templateElements Array

elements returned by getTemplateElements (@see getTemplateElements)