OcaAudioLevelSensor

A online version of the AES70 specification of this class can be found at http://docs.deuso.de.

The class is a subclass of OcaLevelSensor().

This class defines the properties

Name

JavaScript Type

AES70 Type

Law

OcaLevelMeterLaw

OcaLevelMeterLaw

Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, Enabled, Ports, Label, Owner, Latency, ReadingState, Reading and Law.

class OcaAudioLevelSensor(objectNumber, device)

Child of OcaLevelSensor that returns an audio meter reading in dB relative to a known reference level, and whose value has been calculated by the selected averaging algorithm.

OcaAudioLevelSensor.OnLawChanged

type: PropertyEvent.<OcaLevelMeterLaw>

This event is emitted when the property Law changes in the remote object. The property Law is described in the AES70 standard as follows. Enum that defines metering algorithm, including averaging characteristics and, in some cases, reference level. Readonly in some objects.

OcaAudioLevelSensor.GetLaw()

Gets the value of the Law property. The return value indicates whether the property was successfully retrieved.

Returns

Promise.<OcaLevelMeterLaw> – A promise which resolves to a single value of type OcaLevelMeterLaw().

OcaAudioLevelSensor.SetLaw(law)

Sets the value of the Law property. The return value indicates whether the property was successfully set. Only implemented for objects whose Law property is read/write.

Arguments
Returns

Promise.<void>