OcaGain¶
A online version of the AES70 specification of this class can be found at http://docs.deuso.de.
The class is a subclass of OcaActuator()
.
This class defines the properties
Name |
JavaScript Type |
AES70 Type |
---|---|---|
Gain |
number |
OcaDB |
Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, Enabled, Ports, Label, Owner, Latency and Gain.
-
class
OcaGain
(objectNumber, device)¶ Gain (or attenuation) element.
-
OcaGain.
OnGainChanged
¶ type: PropertyEvent.<number>
This event is emitted when the property Gain changes in the remote object. The property
Gain
is described in the AES70 standard as follows. Gain in dB.
-
OcaGain.
GetGain
()¶ Gets the value and limits of the Gain property. The return value indicates whether the data was successfully retrieved. The return values of this method are
Gain of type
number
minGain of type
number
maxGain of type
number
- Returns
Promise.<Arguments.<number, number, number>> –
-
OcaGain.
SetGain
(Gain)¶ Sets the value of the Gain property. The return value indicates whether the property was successfully set.
- Arguments
Gain (number) –
- Returns
Promise.<void> –
-