aes70 1.6.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COPYING +7 -7
- package/Changelog +9 -0
- package/README.md +74 -42
- package/dist/AES70.es5.js +24520 -1
- package/package.json +3 -3
- package/src/OCP1/Arguments.js +3 -0
- package/src/OCP1/Enum.js +8 -0
- package/src/OCP1/OcaActionObjectSearchResult.js +20 -0
- package/src/OCP1/OcaActionObjectSearchResultFlags.js +3 -0
- package/src/OCP1/OcaArray1D.js +108 -0
- package/src/OCP1/OcaBitstring.js +3 -0
- package/src/OCP1/OcaBlob.js +2 -43
- package/src/OCP1/OcaBlobFixedLen.js +8 -0
- package/src/OCP1/OcaBlockConfigurability.js +3 -0
- package/src/OCP1/OcaBoolean.js +3 -0
- package/src/OCP1/OcaCommand.js +17 -0
- package/src/OCP1/OcaCommandResult.js +17 -0
- package/src/OCP1/OcaCommandSetResult.js +17 -0
- package/src/OCP1/OcaConstructionParameter.js +16 -0
- package/src/OCP1/OcaCounter.js +22 -0
- package/src/OCP1/OcaCounterNotifierFilterParameters.js +19 -0
- package/src/OCP1/OcaCounterSet.js +17 -0
- package/src/OCP1/OcaCounterUpdate.js +18 -0
- package/src/OCP1/OcaCounterUpdateEventData.js +15 -0
- package/src/OCP1/OcaDatasetSearchResult.js +17 -0
- package/src/OCP1/OcaDeviceGenericState.js +4 -0
- package/src/OCP1/OcaDeviceOperationalState.js +16 -0
- package/src/OCP1/OcaExecutableType.js +4 -0
- package/src/OCP1/OcaFloat32.js +3 -0
- package/src/OCP1/OcaFloat64.js +3 -0
- package/src/OCP1/OcaGenericEndState.js +4 -0
- package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
- package/src/OCP1/OcaGroupException.js +18 -0
- package/src/OCP1/OcaIODirection.js +4 -0
- package/src/OCP1/OcaIP4AutoconfigMode.js +4 -0
- package/src/OCP1/OcaIP4Gateway.js +17 -0
- package/src/OCP1/OcaIP4NetworkSettings.js +23 -0
- package/src/OCP1/OcaIP6AutoconfigMode.js +4 -0
- package/src/OCP1/OcaIP6Gateway.js +17 -0
- package/src/OCP1/OcaIP6NetworkSettings.js +24 -0
- package/src/OCP1/OcaInt16.js +3 -0
- package/src/OCP1/OcaInt32.js +3 -0
- package/src/OCP1/OcaInt64.js +3 -0
- package/src/OCP1/OcaInt8.js +3 -0
- package/src/OCP1/OcaInterval.js +18 -0
- package/src/OCP1/OcaIntervalBounds.js +3 -0
- package/src/OCP1/OcaJobDisposedEventData.js +18 -0
- package/src/OCP1/OcaJobDisposition.js +4 -0
- package/src/OCP1/OcaJobQueueItem.js +24 -0
- package/src/OCP1/OcaList.js +2 -127
- package/src/OCP1/OcaList2D.js +6 -0
- package/src/OCP1/OcaList32.js +3 -0
- package/src/OCP1/OcaLockState.js +4 -0
- package/src/OCP1/OcaLogFilter.js +20 -0
- package/src/OCP1/OcaLogRecord.js +21 -0
- package/src/OCP1/OcaLongBlob.js +3 -0
- package/src/OCP1/OcaManufacturer.js +19 -0
- package/src/OCP1/OcaMap.js +3 -0
- package/src/OCP1/OcaMatrixCommand.js +19 -0
- package/src/OCP1/OcaMatrixCoordinates.js +15 -0
- package/src/OCP1/OcaMediaAccessMode.js +4 -0
- package/src/OCP1/OcaMediaFrameFormat.js +4 -0
- package/src/OCP1/OcaMediaPlayOption.js +4 -0
- package/src/OCP1/OcaMediaRecorderPlayerState.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpoint.js +40 -0
- package/src/OCP1/OcaMediaStreamEndpointCommand.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpointState.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpointStatus.js +16 -0
- package/src/OCP1/OcaMediaStreamMode.js +21 -0
- package/src/OCP1/OcaMediaStreamModeCapability.js +29 -0
- package/src/OCP1/OcaMediaStreamModeCapabilityDirection.js +3 -0
- package/src/OCP1/OcaMediaTrackFunction.js +3 -0
- package/src/OCP1/OcaMediaTransportSession.js +30 -0
- package/src/OCP1/OcaMediaTransportSessionConnection.js +17 -0
- package/src/OCP1/OcaMediaTransportSessionConnectionState.js +15 -0
- package/src/OCP1/OcaMediaTransportSessionState.js +4 -0
- package/src/OCP1/OcaMediaTransportSessionStatus.js +16 -0
- package/src/OCP1/OcaMediaTransportTimingParameters.js +16 -0
- package/src/OCP1/OcaMediaVolumePosition.js +16 -0
- package/src/OCP1/OcaMediaVolumePositionType.js +4 -0
- package/src/OCP1/OcaMultiMap.js +3 -0
- package/src/OCP1/OcaNetworkAdvertisingMechanism.js +16 -0
- package/src/OCP1/OcaNetworkAdvertisingService.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceAssignment.js +23 -0
- package/src/OCP1/OcaNetworkInterfaceCommand.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceState.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceStatus.js +16 -0
- package/src/OCP1/OcaObjectSearchResult.js +2 -18
- package/src/OCP1/OcaObjectSearchResultFlags.js +5 -3
- package/src/OCP1/OcaPort.js +1 -1
- package/src/OCP1/OcaPortClockMapEntry.js +16 -0
- package/src/OCP1/OcaPortID.js +2 -2
- package/src/OCP1/OcaPortIdentification.js +16 -0
- package/src/OCP1/OcaPortMode.js +5 -4
- package/src/OCP1/OcaPositionDescriptor.js +2 -2
- package/src/OCP1/OcaProduct.js +19 -0
- package/src/OCP1/OcaProgramResult.js +17 -0
- package/src/OCP1/OcaProgramRunMode.js +3 -0
- package/src/OCP1/OcaProtoPort.js +2 -2
- package/src/OCP1/OcaProtoPortClockMapEntry.js +17 -0
- package/src/OCP1/OcaProtoSignalPath.js +2 -2
- package/src/OCP1/OcaSamplingRateConverterType.js +4 -0
- package/src/OCP1/OcaSecurityType.js +4 -0
- package/src/OCP1/OcaSignalPath.js +2 -2
- package/src/OCP1/OcaString.js +3 -0
- package/src/OCP1/OcaTask.js +4 -3
- package/src/OCP1/OcaTaskExecutionTerminatedEventData.js +20 -0
- package/src/OCP1/OcaTaskGenericState.js +4 -0
- package/src/OCP1/OcaTaskOperationalState.js +17 -0
- package/src/OCP1/OcaTaskSchedulerState.js +4 -0
- package/src/OCP1/OcaTaskStatusChangedEventData.js +18 -0
- package/src/OCP1/OcaTime.js +18 -0
- package/src/OCP1/OcaTimeDeliveryMechanism.js +4 -0
- package/src/OCP1/OcaTimeDeliveryParameters_StreamEndpoint.js +15 -0
- package/src/OCP1/OcaTimePTP.js +2 -15
- package/src/OCP1/OcaTypedBlob.js +16 -0
- package/src/OCP1/OcaUint16.js +3 -0
- package/src/OCP1/OcaUint32.js +3 -0
- package/src/OCP1/OcaUint64.js +3 -0
- package/src/OCP1/OcaUint8.js +3 -0
- package/src/OCP1/OcaVariant.js +92 -0
- package/src/OCP1/OcaWhenPhysicalAbsolute.js +16 -0
- package/src/OCP1/OcaWhenPhysicalRelative.js +16 -0
- package/src/OCP1/RestWithOffset.js +3 -0
- package/src/OCP1/String16.js +3 -0
- package/src/OCP1/Struct.js +12 -0
- package/src/OCP1/Tuple.js +3 -0
- package/src/OCP1/createBlobType.js +58 -0
- package/src/OCP1/createListType.js +137 -0
- package/src/OCP1/createType.js +8 -4
- package/src/OCP1/decode_message.js +10 -2
- package/src/OCP1/encode_message.js +5 -1
- package/src/OCP1/getLengthEncoder.js +23 -0
- package/src/OCP1/notification2.js +70 -0
- package/src/OCP1/protocol_version.js +4 -0
- package/src/connection.js +14 -6
- package/src/controller/ControlClasses/OcaActuator.d.ts +3 -3
- package/src/controller/ControlClasses/OcaActuator.js +4 -4
- package/src/controller/ControlClasses/OcaAgent.d.ts +6 -14
- package/src/controller/ControlClasses/OcaAgent.js +8 -18
- package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +9 -17
- package/src/controller/ControlClasses/OcaApplicationNetwork.js +11 -32
- package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +4 -7
- package/src/controller/ControlClasses/OcaAudioLevelSensor.js +5 -8
- package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +1 -1
- package/src/controller/ControlClasses/OcaAudioProcessingManager.js +2 -2
- package/src/controller/ControlClasses/OcaBasicActuator.d.ts +1 -1
- package/src/controller/ControlClasses/OcaBasicActuator.js +2 -2
- package/src/controller/ControlClasses/OcaBasicSensor.d.ts +1 -1
- package/src/controller/ControlClasses/OcaBasicSensor.js +2 -2
- package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +34 -13
- package/src/controller/ControlClasses/OcaBitstringActuator.js +35 -18
- package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +19 -7
- package/src/controller/ControlClasses/OcaBitstringSensor.js +22 -12
- package/src/controller/ControlClasses/OcaBlock.d.ts +455 -89
- package/src/controller/ControlClasses/OcaBlock.js +477 -103
- package/src/controller/ControlClasses/OcaBlockFactoryAgent.d.ts +299 -0
- package/src/controller/ControlClasses/OcaBlockFactoryAgent.js +360 -0
- package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +2 -4
- package/src/controller/ControlClasses/OcaBooleanActuator.js +3 -5
- package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaBooleanSensor.js +3 -4
- package/src/controller/ControlClasses/OcaCodingManager.js +1 -1
- package/src/controller/ControlClasses/OcaCommandSet.d.ts +89 -0
- package/src/controller/ControlClasses/OcaCommandSet.js +94 -0
- package/src/controller/ControlClasses/OcaCommandSetAgent.d.ts +31 -0
- package/src/controller/ControlClasses/OcaCommandSetAgent.js +38 -0
- package/src/controller/ControlClasses/OcaCounterNotifier.d.ts +89 -0
- package/src/controller/ControlClasses/OcaCounterNotifier.js +101 -0
- package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaCurrentSensor.js +3 -4
- package/src/controller/ControlClasses/OcaDataset.d.ts +223 -0
- package/src/controller/ControlClasses/OcaDataset.js +234 -0
- package/src/controller/ControlClasses/OcaDatasetWorker.d.ts +31 -0
- package/src/controller/ControlClasses/OcaDatasetWorker.js +40 -0
- package/src/controller/ControlClasses/OcaDelay.d.ts +2 -4
- package/src/controller/ControlClasses/OcaDelay.js +3 -5
- package/src/controller/ControlClasses/OcaDelayExtended.d.ts +5 -7
- package/src/controller/ControlClasses/OcaDelayExtended.js +6 -8
- package/src/controller/ControlClasses/OcaDeviceManager.d.ts +123 -62
- package/src/controller/ControlClasses/OcaDeviceManager.js +161 -83
- package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +43 -25
- package/src/controller/ControlClasses/OcaDeviceTimeManager.js +43 -28
- package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +1 -13
- package/src/controller/ControlClasses/OcaDiagnosticManager.js +3 -16
- package/src/controller/ControlClasses/OcaDynamics.d.ts +38 -63
- package/src/controller/ControlClasses/OcaDynamics.js +48 -71
- package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +169 -82
- package/src/controller/ControlClasses/OcaDynamicsCurve.js +189 -93
- package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +8 -16
- package/src/controller/ControlClasses/OcaDynamicsDetector.js +9 -17
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +5 -7
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +10 -12
- package/src/controller/ControlClasses/OcaFilterClassical.d.ts +15 -26
- package/src/controller/ControlClasses/OcaFilterClassical.js +15 -27
- package/src/controller/ControlClasses/OcaFilterFIR.d.ts +6 -11
- package/src/controller/ControlClasses/OcaFilterFIR.js +12 -18
- package/src/controller/ControlClasses/OcaFilterParametric.d.ts +55 -26
- package/src/controller/ControlClasses/OcaFilterParametric.js +63 -32
- package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +5 -4
- package/src/controller/ControlClasses/OcaFilterPolynomial.js +8 -7
- package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +6 -11
- package/src/controller/ControlClasses/OcaFirmwareManager.js +5 -11
- package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaFloat32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaFloat32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaFloat64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaFloat64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +2 -4
- package/src/controller/ControlClasses/OcaFrequencyActuator.js +3 -5
- package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaFrequencySensor.js +2 -3
- package/src/controller/ControlClasses/OcaGain.d.ts +2 -4
- package/src/controller/ControlClasses/OcaGain.js +3 -5
- package/src/controller/ControlClasses/OcaGainSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaGainSensor.js +3 -4
- package/src/controller/ControlClasses/OcaGroup.d.ts +140 -0
- package/src/controller/ControlClasses/OcaGroup.js +156 -0
- package/src/controller/ControlClasses/OcaGrouper.d.ts +20 -140
- package/src/controller/ControlClasses/OcaGrouper.js +34 -171
- package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +5 -7
- package/src/controller/ControlClasses/OcaIdentificationActuator.js +7 -9
- package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +5 -6
- package/src/controller/ControlClasses/OcaIdentificationSensor.js +6 -7
- package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaImpedanceSensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt16Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt16Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt8Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt8Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaJsonActuator.d.ts +46 -0
- package/src/controller/ControlClasses/OcaJsonActuator.js +58 -0
- package/src/controller/ControlClasses/OcaJsonSensor.d.ts +51 -0
- package/src/controller/ControlClasses/OcaJsonSensor.js +65 -0
- package/src/controller/ControlClasses/OcaLevelSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaLevelSensor.js +2 -3
- package/src/controller/ControlClasses/OcaLibraryManager.d.ts +1 -1
- package/src/controller/ControlClasses/OcaLibraryManager.js +3 -3
- package/src/controller/ControlClasses/OcaLockManager.d.ts +44 -0
- package/src/controller/ControlClasses/OcaLockManager.js +53 -0
- package/src/controller/ControlClasses/OcaLog.d.ts +128 -0
- package/src/controller/ControlClasses/OcaLog.js +142 -0
- package/src/controller/ControlClasses/OcaManager.js +1 -1
- package/src/controller/ControlClasses/OcaMatrix.d.ts +104 -82
- package/src/controller/ControlClasses/OcaMatrix.js +121 -93
- package/src/controller/ControlClasses/OcaMediaClock.d.ts +27 -0
- package/src/controller/ControlClasses/OcaMediaClock.js +28 -4
- package/src/controller/ControlClasses/OcaMediaClock3.d.ts +16 -22
- package/src/controller/ControlClasses/OcaMediaClock3.js +22 -29
- package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +7 -10
- package/src/controller/ControlClasses/OcaMediaClockManager.js +9 -13
- package/src/controller/ControlClasses/OcaMediaRecorderPlayer.d.ts +235 -0
- package/src/controller/ControlClasses/OcaMediaRecorderPlayer.js +261 -0
- package/src/controller/ControlClasses/OcaMediaTransportApplication.d.ts +612 -0
- package/src/controller/ControlClasses/OcaMediaTransportApplication.js +704 -0
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +12 -25
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +12 -35
- package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.d.ts +235 -0
- package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.js +249 -0
- package/src/controller/ControlClasses/OcaMute.d.ts +2 -4
- package/src/controller/ControlClasses/OcaMute.js +3 -5
- package/src/controller/ControlClasses/OcaNetwork.js +1 -1
- package/src/controller/ControlClasses/OcaNetworkApplication.d.ts +179 -0
- package/src/controller/ControlClasses/OcaNetworkApplication.js +202 -0
- package/src/controller/ControlClasses/OcaNetworkInterface.d.ts +318 -0
- package/src/controller/ControlClasses/OcaNetworkInterface.js +353 -0
- package/src/controller/ControlClasses/OcaNetworkManager.d.ts +45 -17
- package/src/controller/ControlClasses/OcaNetworkManager.js +59 -22
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +1 -1
- package/src/controller/ControlClasses/OcaNumericObserver.d.ts +24 -40
- package/src/controller/ControlClasses/OcaNumericObserver.js +25 -40
- package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +20 -33
- package/src/controller/ControlClasses/OcaNumericObserverList.js +26 -39
- package/src/controller/ControlClasses/OcaPanBalance.d.ts +4 -8
- package/src/controller/ControlClasses/OcaPanBalance.js +5 -9
- package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +3 -6
- package/src/controller/ControlClasses/OcaPhysicalPosition.js +4 -7
- package/src/controller/ControlClasses/OcaPolarity.d.ts +2 -4
- package/src/controller/ControlClasses/OcaPolarity.js +3 -5
- package/src/controller/ControlClasses/OcaPowerManager.d.ts +30 -14
- package/src/controller/ControlClasses/OcaPowerManager.js +32 -17
- package/src/controller/ControlClasses/OcaPowerSensor.d.ts +38 -0
- package/src/controller/ControlClasses/OcaPowerSensor.js +51 -0
- package/src/controller/ControlClasses/OcaPowerSupply.d.ts +8 -16
- package/src/controller/ControlClasses/OcaPowerSupply.js +13 -21
- package/src/controller/ControlClasses/OcaProgram.d.ts +63 -0
- package/src/controller/ControlClasses/OcaProgram.js +82 -0
- package/src/controller/ControlClasses/OcaRamper.d.ts +46 -10
- package/src/controller/ControlClasses/OcaRamper.js +65 -12
- package/src/controller/ControlClasses/OcaRoot.d.ts +69 -24
- package/src/controller/ControlClasses/OcaRoot.js +67 -26
- package/src/controller/ControlClasses/OcaSamplingRateConverter.d.ts +22 -0
- package/src/controller/ControlClasses/OcaSamplingRateConverter.js +28 -0
- package/src/controller/ControlClasses/OcaSecurityManager.d.ts +12 -13
- package/src/controller/ControlClasses/OcaSecurityManager.js +10 -12
- package/src/controller/ControlClasses/OcaSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaSensor.js +2 -3
- package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +21 -39
- package/src/controller/ControlClasses/OcaSignalGenerator.js +22 -40
- package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSignalInput.js +5 -5
- package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSignalOutput.js +5 -5
- package/src/controller/ControlClasses/OcaStateSensor.d.ts +58 -0
- package/src/controller/ControlClasses/OcaStateSensor.js +75 -0
- package/src/controller/ControlClasses/OcaStreamConnector.js +1 -1
- package/src/controller/ControlClasses/OcaStreamNetwork.js +1 -1
- package/src/controller/ControlClasses/OcaStringActuator.d.ts +7 -8
- package/src/controller/ControlClasses/OcaStringActuator.js +7 -8
- package/src/controller/ControlClasses/OcaStringSensor.d.ts +20 -9
- package/src/controller/ControlClasses/OcaStringSensor.js +23 -13
- package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +211 -41
- package/src/controller/ControlClasses/OcaSubscriptionManager.js +224 -39
- package/src/controller/ControlClasses/OcaSummingPoint.d.ts +3 -2
- package/src/controller/ControlClasses/OcaSummingPoint.js +4 -3
- package/src/controller/ControlClasses/OcaSwitch.d.ts +70 -25
- package/src/controller/ControlClasses/OcaSwitch.js +113 -35
- package/src/controller/ControlClasses/OcaTaskAgent.d.ts +192 -0
- package/src/controller/ControlClasses/OcaTaskAgent.js +212 -0
- package/src/controller/ControlClasses/OcaTaskManager.d.ts +4 -6
- package/src/controller/ControlClasses/OcaTaskManager.js +7 -9
- package/src/controller/ControlClasses/OcaTaskScheduler.d.ts +150 -0
- package/src/controller/ControlClasses/OcaTaskScheduler.js +159 -0
- package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaTemperatureActuator.js +4 -6
- package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaTemperatureSensor.js +3 -4
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +2 -3
- package/src/controller/ControlClasses/OcaTimeSource.d.ts +108 -37
- package/src/controller/ControlClasses/OcaTimeSource.js +148 -48
- package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint16Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint16Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint8Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint8Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaVoltageSensor.js +3 -4
- package/src/controller/ControlClasses/OcaWorker.d.ts +84 -37
- package/src/controller/ControlClasses/OcaWorker.js +93 -43
- package/src/controller/base_event.js +71 -23
- package/src/controller/client_connection.d.ts +26 -0
- package/src/controller/client_connection.js +39 -7
- package/src/controller/event.js +17 -20
- package/src/controller/make_control_class.js +3 -1
- package/src/controller/notification_error.d.ts +40 -0
- package/src/controller/notification_error.js +62 -0
- package/src/controller/observeProperty.js +8 -8
- package/src/controller/property_event.js +18 -10
- package/src/controller/remote_device.js +137 -49
- package/src/controller/tcp_connection.d.ts +8 -6
- package/src/index.default.d.ts +1 -0
- package/src/index.default.js +1 -0
- package/src/types/Enum.js +8 -0
- package/src/types/OcaActionObjectSearchResult.d.ts +73 -0
- package/src/types/OcaActionObjectSearchResult.js +34 -0
- package/src/types/OcaActionObjectSearchResultFlags.d.ts +37 -0
- package/src/types/OcaActionObjectSearchResultFlags.js +52 -0
- package/src/types/OcaApplicationNetworkCommand.d.ts +1 -19
- package/src/types/OcaApplicationNetworkCommand.js +0 -24
- package/src/types/OcaApplicationNetworkState.d.ts +1 -37
- package/src/types/OcaApplicationNetworkState.js +0 -48
- package/src/types/OcaBlockConfigurability.d.ts +26 -0
- package/src/types/OcaBlockConfigurability.js +35 -0
- package/src/types/OcaClassicalFilterShape.d.ts +1 -1
- package/src/types/OcaClassicalFilterShape.js +1 -1
- package/src/types/OcaCommand.d.ts +44 -0
- package/src/types/OcaCommand.js +25 -0
- package/src/types/OcaCommandResult.d.ts +42 -0
- package/src/types/OcaCommandResult.js +24 -0
- package/src/types/OcaCommandSetResult.d.ts +41 -0
- package/src/types/OcaCommandSetResult.js +23 -0
- package/src/types/OcaConstructionParameter.d.ts +40 -0
- package/src/types/OcaConstructionParameter.js +23 -0
- package/src/types/OcaCounter.d.ts +81 -0
- package/src/types/OcaCounter.js +38 -0
- package/src/types/OcaCounterNotifierFilterParameters.d.ts +81 -0
- package/src/types/OcaCounterNotifierFilterParameters.js +37 -0
- package/src/types/OcaCounterSet.d.ts +38 -0
- package/src/types/OcaCounterSet.js +22 -0
- package/src/types/OcaCounterUpdate.d.ts +54 -0
- package/src/types/OcaCounterUpdate.js +28 -0
- package/src/types/OcaCounterUpdateEventData.d.ts +27 -0
- package/src/types/OcaCounterUpdateEventData.js +17 -0
- package/src/types/OcaDatasetSearchResult.d.ts +51 -0
- package/src/types/OcaDatasetSearchResult.js +28 -0
- package/src/types/OcaDelayUnit.d.ts +2 -1
- package/src/types/OcaDelayUnit.js +2 -1
- package/src/types/OcaDelayValue.d.ts +2 -1
- package/src/types/OcaDelayValue.js +2 -1
- package/src/types/OcaDeviceGenericState.d.ts +62 -0
- package/src/types/OcaDeviceGenericState.js +52 -0
- package/src/types/OcaDeviceOperationalState.d.ts +42 -0
- package/src/types/OcaDeviceOperationalState.js +22 -0
- package/src/types/OcaDeviceState.d.ts +2 -2
- package/src/types/OcaDeviceState.js +2 -2
- package/src/types/OcaExecutableType.d.ts +50 -0
- package/src/types/OcaExecutableType.js +36 -0
- package/src/types/OcaGenericEndState.d.ts +56 -0
- package/src/types/OcaGenericEndState.js +44 -0
- package/src/types/OcaGlobalTypeIdentifier.d.ts +12 -12
- package/src/types/OcaGlobalTypeIdentifier.js +8 -7
- package/src/types/OcaGroupException.d.ts +53 -0
- package/src/types/OcaGroupException.js +28 -0
- package/src/types/OcaGrouperCitizen.d.ts +10 -10
- package/src/types/OcaGrouperCitizen.js +6 -6
- package/src/types/OcaGrouperEnrollment.d.ts +4 -9
- package/src/types/OcaGrouperEnrollment.js +3 -5
- package/src/types/OcaGrouperGroup.d.ts +9 -9
- package/src/types/OcaGrouperGroup.js +5 -5
- package/src/types/OcaGrouperMode.d.ts +4 -3
- package/src/types/OcaGrouperMode.js +4 -3
- package/src/types/OcaGrouperStatusChangeEventData.d.ts +2 -2
- package/src/types/OcaGrouperStatusChangeEventData.js +2 -2
- package/src/types/OcaGrouperStatusChangeType.d.ts +1 -1
- package/src/types/OcaGrouperStatusChangeType.js +1 -1
- package/src/types/OcaIODirection.d.ts +39 -0
- package/src/types/OcaIODirection.js +28 -0
- package/src/types/OcaIP4AutoconfigMode.d.ts +56 -0
- package/src/types/OcaIP4AutoconfigMode.js +44 -0
- package/src/types/OcaIP4Gateway.d.ts +53 -0
- package/src/types/OcaIP4Gateway.js +27 -0
- package/src/types/OcaIP4NetworkSettings.d.ts +111 -0
- package/src/types/OcaIP4NetworkSettings.js +56 -0
- package/src/types/OcaIP6AutoconfigMode.d.ts +56 -0
- package/src/types/OcaIP6AutoconfigMode.js +44 -0
- package/src/types/OcaIP6Gateway.d.ts +53 -0
- package/src/types/OcaIP6Gateway.js +27 -0
- package/src/types/OcaIP6NetworkSettings.d.ts +123 -0
- package/src/types/OcaIP6NetworkSettings.js +61 -0
- package/src/types/OcaInterval.d.ts +8 -0
- package/src/types/OcaInterval.js +84 -0
- package/src/types/OcaIntervalBounds.d.ts +41 -0
- package/src/types/OcaIntervalBounds.js +53 -0
- package/src/types/OcaJobDisposedEventData.d.ts +57 -0
- package/src/types/OcaJobDisposedEventData.js +28 -0
- package/src/types/OcaJobDisposition.d.ts +68 -0
- package/src/types/OcaJobDisposition.js +60 -0
- package/src/types/OcaJobQueueItem.d.ts +105 -0
- package/src/types/OcaJobQueueItem.js +44 -0
- package/src/types/OcaLibVolType.d.ts +2 -4
- package/src/types/OcaLibVolType.js +1 -2
- package/src/types/OcaLockState.d.ts +50 -0
- package/src/types/OcaLockState.js +36 -0
- package/src/types/OcaLogFilter.d.ts +70 -0
- package/src/types/OcaLogFilter.js +33 -0
- package/src/types/OcaLogRecord.d.ts +85 -0
- package/src/types/OcaLogRecord.js +40 -0
- package/src/types/OcaManagerDefaultObjectNumbers.d.ts +7 -0
- package/src/types/OcaManagerDefaultObjectNumbers.js +7 -0
- package/src/types/OcaManagerDescriptor.d.ts +11 -9
- package/src/types/OcaManagerDescriptor.js +6 -5
- package/src/types/OcaManufacturer.d.ts +87 -0
- package/src/types/OcaManufacturer.js +47 -0
- package/src/types/OcaMatrixCommand.d.ts +61 -0
- package/src/types/OcaMatrixCommand.js +29 -0
- package/src/types/OcaMatrixCoordinates.d.ts +38 -0
- package/src/types/OcaMatrixCoordinates.js +23 -0
- package/src/types/OcaMediaAccessMode.d.ts +50 -0
- package/src/types/OcaMediaAccessMode.js +36 -0
- package/src/types/OcaMediaClockAvailability.d.ts +1 -1
- package/src/types/OcaMediaClockAvailability.js +1 -1
- package/src/types/OcaMediaClockRate.d.ts +7 -7
- package/src/types/OcaMediaClockRate.js +4 -4
- package/src/types/OcaMediaConnection.d.ts +2 -2
- package/src/types/OcaMediaConnection.js +1 -1
- package/src/types/OcaMediaFrameFormat.d.ts +74 -0
- package/src/types/OcaMediaFrameFormat.js +68 -0
- package/src/types/OcaMediaPlayOption.d.ts +50 -0
- package/src/types/OcaMediaPlayOption.js +36 -0
- package/src/types/OcaMediaRecorderPlayerState.d.ts +62 -0
- package/src/types/OcaMediaRecorderPlayerState.js +52 -0
- package/src/types/OcaMediaStreamCastMode.d.ts +3 -3
- package/src/types/OcaMediaStreamCastMode.js +3 -3
- package/src/types/OcaMediaStreamEndpoint.d.ts +238 -0
- package/src/types/OcaMediaStreamEndpoint.js +114 -0
- package/src/types/OcaMediaStreamEndpointCommand.d.ts +80 -0
- package/src/types/OcaMediaStreamEndpointCommand.js +76 -0
- package/src/types/OcaMediaStreamEndpointState.d.ts +68 -0
- package/src/types/OcaMediaStreamEndpointState.js +60 -0
- package/src/types/OcaMediaStreamEndpointStatus.d.ts +44 -0
- package/src/types/OcaMediaStreamEndpointStatus.js +23 -0
- package/src/types/OcaMediaStreamMode.d.ts +83 -0
- package/src/types/OcaMediaStreamMode.js +43 -0
- package/src/types/OcaMediaStreamModeCapability.d.ts +167 -0
- package/src/types/OcaMediaStreamModeCapability.js +81 -0
- package/src/types/OcaMediaStreamModeCapabilityDirection.d.ts +21 -0
- package/src/types/OcaMediaStreamModeCapabilityDirection.js +27 -0
- package/src/types/OcaMediaTrackFunction.d.ts +27 -0
- package/src/types/OcaMediaTrackFunction.js +36 -0
- package/src/types/OcaMediaTransportSession.d.ts +119 -0
- package/src/types/OcaMediaTransportSession.js +58 -0
- package/src/types/OcaMediaTransportSessionConnection.d.ts +63 -0
- package/src/types/OcaMediaTransportSessionConnection.js +32 -0
- package/src/types/OcaMediaTransportSessionConnectionState.d.ts +47 -0
- package/src/types/OcaMediaTransportSessionConnectionState.js +24 -0
- package/src/types/OcaMediaTransportSessionState.d.ts +62 -0
- package/src/types/OcaMediaTransportSessionState.js +52 -0
- package/src/types/OcaMediaTransportSessionStatus.d.ts +43 -0
- package/src/types/OcaMediaTransportSessionStatus.js +23 -0
- package/src/types/OcaMediaTransportTimingParameters.d.ts +54 -0
- package/src/types/OcaMediaTransportTimingParameters.js +31 -0
- package/src/types/OcaMediaVolumePosition.d.ts +46 -0
- package/src/types/OcaMediaVolumePosition.js +23 -0
- package/src/types/OcaMediaVolumePositionType.d.ts +44 -0
- package/src/types/OcaMediaVolumePositionType.js +28 -0
- package/src/types/OcaModelGUID.d.ts +0 -1
- package/src/types/OcaModelGUID.js +0 -1
- package/src/types/OcaNetworkAdvertisingMechanism.d.ts +43 -0
- package/src/types/OcaNetworkAdvertisingMechanism.js +23 -0
- package/src/types/OcaNetworkAdvertisingService.d.ts +56 -0
- package/src/types/OcaNetworkAdvertisingService.js +44 -0
- package/src/types/OcaNetworkInterfaceAssignment.d.ts +99 -0
- package/src/types/OcaNetworkInterfaceAssignment.js +51 -0
- package/src/types/OcaNetworkInterfaceCommand.d.ts +50 -0
- package/src/types/OcaNetworkInterfaceCommand.js +36 -0
- package/src/types/OcaNetworkInterfaceState.d.ts +50 -0
- package/src/types/OcaNetworkInterfaceState.js +36 -0
- package/src/types/OcaNetworkInterfaceStatus.d.ts +42 -0
- package/src/types/OcaNetworkInterfaceStatus.js +22 -0
- package/src/types/OcaNotificationDeliveryMode.d.ts +13 -1
- package/src/types/OcaNotificationDeliveryMode.js +17 -1
- package/src/types/OcaOPath.d.ts +16 -2
- package/src/types/OcaOPath.js +8 -1
- package/src/types/OcaObjectListEventData.d.ts +2 -2
- package/src/types/OcaObjectListEventData.js +2 -2
- package/src/types/OcaObjectSearchResult.d.ts +4 -83
- package/src/types/OcaObjectSearchResult.js +2 -37
- package/src/types/OcaObjectSearchResultFlags.d.ts +4 -33
- package/src/types/OcaObjectSearchResultFlags.js +2 -48
- package/src/types/OcaObservationEventData.d.ts +2 -2
- package/src/types/OcaObservationEventData.js +2 -2
- package/src/types/OcaObservationListEventData.d.ts +2 -2
- package/src/types/OcaObservationListEventData.js +2 -2
- package/src/types/OcaObserverState.d.ts +1 -1
- package/src/types/OcaObserverState.js +1 -1
- package/src/types/OcaParameterMask.d.ts +81 -1
- package/src/types/OcaParameterMask.js +131 -1
- package/src/types/OcaPort.d.ts +7 -5
- package/src/types/OcaPort.js +4 -3
- package/src/types/OcaPortClockMapEntry.d.ts +42 -0
- package/src/types/OcaPortClockMapEntry.js +23 -0
- package/src/types/OcaPortID.d.ts +12 -10
- package/src/types/OcaPortID.js +7 -6
- package/src/types/OcaPortIdentification.d.ts +39 -0
- package/src/types/OcaPortIdentification.js +23 -0
- package/src/types/OcaPortMode.d.ts +4 -36
- package/src/types/OcaPortMode.js +2 -25
- package/src/types/OcaPositionDescriptor.d.ts +6 -6
- package/src/types/OcaPositionDescriptor.js +2 -2
- package/src/types/OcaPositionDescriptorFieldFlags.d.ts +33 -3
- package/src/types/OcaPositionDescriptorFieldFlags.js +53 -3
- package/src/types/OcaPowerSupplyState.d.ts +1 -1
- package/src/types/OcaPowerSupplyState.js +1 -1
- package/src/types/OcaProduct.d.ts +92 -0
- package/src/types/OcaProduct.js +42 -0
- package/src/types/OcaProgramResult.d.ts +39 -0
- package/src/types/OcaProgramResult.js +22 -0
- package/src/types/OcaProgramRunMode.d.ts +24 -0
- package/src/types/OcaProgramRunMode.js +30 -0
- package/src/types/OcaProperty.d.ts +2 -2
- package/src/types/OcaProperty.js +2 -2
- package/src/types/OcaProtoObjectIdentification.d.ts +1 -1
- package/src/types/OcaProtoObjectIdentification.js +1 -1
- package/src/types/OcaProtoPort.d.ts +16 -18
- package/src/types/OcaProtoPort.js +6 -8
- package/src/types/OcaProtoPortClockMapEntry.d.ts +46 -0
- package/src/types/OcaProtoPortClockMapEntry.js +25 -0
- package/src/types/OcaProtoSignalPath.d.ts +12 -10
- package/src/types/OcaProtoSignalPath.js +7 -6
- package/src/types/OcaRamperState.d.ts +19 -18
- package/src/types/OcaRamperState.js +19 -18
- package/src/types/OcaResetCause.d.ts +7 -1
- package/src/types/OcaResetCause.js +8 -0
- package/src/types/OcaSamplingRateConverterType.d.ts +50 -0
- package/src/types/OcaSamplingRateConverterType.js +36 -0
- package/src/types/OcaSecurityType.d.ts +39 -0
- package/src/types/OcaSecurityType.js +28 -0
- package/src/types/OcaSignalPath.d.ts +10 -10
- package/src/types/OcaSignalPath.js +6 -6
- package/src/types/OcaStatus.d.ts +19 -1
- package/src/types/OcaStatus.js +24 -0
- package/src/types/OcaStream.d.ts +2 -2
- package/src/types/OcaStream.js +1 -1
- package/src/types/OcaTask.d.ts +23 -24
- package/src/types/OcaTask.js +7 -7
- package/src/types/OcaTaskCommand.d.ts +2 -7
- package/src/types/OcaTaskCommand.js +2 -9
- package/src/types/OcaTaskExecutionTerminatedEventData.d.ts +64 -0
- package/src/types/OcaTaskExecutionTerminatedEventData.js +30 -0
- package/src/types/OcaTaskGenericState.d.ts +64 -0
- package/src/types/OcaTaskGenericState.js +54 -0
- package/src/types/OcaTaskManagerState.d.ts +1 -0
- package/src/types/OcaTaskManagerState.js +1 -0
- package/src/types/OcaTaskOperationalState.d.ts +43 -0
- package/src/types/OcaTaskOperationalState.js +22 -0
- package/src/types/OcaTaskSchedulerState.d.ts +63 -0
- package/src/types/OcaTaskSchedulerState.js +53 -0
- package/src/types/OcaTaskStatus.d.ts +2 -12
- package/src/types/OcaTaskStatus.js +2 -12
- package/src/types/OcaTaskStatusChangedEventData.d.ts +61 -0
- package/src/types/OcaTaskStatusChangedEventData.js +29 -0
- package/src/types/OcaTime.d.ts +56 -0
- package/src/types/OcaTime.js +32 -0
- package/src/types/OcaTimeDeliveryMechanism.d.ts +167 -0
- package/src/types/OcaTimeDeliveryMechanism.js +191 -0
- package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.d.ts +40 -0
- package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.js +24 -0
- package/src/types/OcaTimePTP.d.ts +4 -51
- package/src/types/OcaTimePTP.js +2 -28
- package/src/types/OcaTimeReferenceType.d.ts +7 -13
- package/src/types/OcaTimeReferenceType.js +6 -14
- package/src/types/OcaTimeSourceAvailability.d.ts +1 -1
- package/src/types/OcaTimeSourceAvailability.js +1 -1
- package/src/types/OcaTimeSourceSyncStatus.d.ts +1 -1
- package/src/types/OcaTimeSourceSyncStatus.js +1 -1
- package/src/types/OcaTransferFunction.d.ts +1 -1
- package/src/types/OcaTransferFunction.js +1 -1
- package/src/types/OcaTypedBlob.d.ts +40 -0
- package/src/types/OcaTypedBlob.js +24 -0
- package/src/types/OcaVariant.d.ts +19 -0
- package/src/types/OcaVariant.js +18 -0
- package/src/types/OcaWhenPhysicalAbsolute.d.ts +39 -0
- package/src/types/OcaWhenPhysicalAbsolute.js +22 -0
- package/src/types/OcaWhenPhysicalRelative.d.ts +39 -0
- package/src/types/OcaWhenPhysicalRelative.js +22 -0
|
@@ -10,42 +10,42 @@ import { OcaActuator } from './OcaActuator.js';
|
|
|
10
10
|
* Dynamic compression / expansion curve. **Curve** means a function that
|
|
11
11
|
* expresses the relationship of output level to input level. The dependent
|
|
12
12
|
* variable (Y) of the curve is output level; the independent variable (X) is
|
|
13
|
-
* input level. Every curve
|
|
14
|
-
* joined by **(n)** small fillets called **knees**. Each knee
|
|
15
|
-
* particular input level value called the **threshold.** Each
|
|
16
|
-
* characterized by its **slope.** ** ** | ** / ** | S3 ** / **
|
|
17
|
-
* T1**-------------**T2 | ** / ** | S1 ** / ** | ** / ** | ** /
|
|
18
|
-
* +------------------------------------ This "drawing" shows a three-segment
|
|
13
|
+
* input level. Every curve shall be composed of **(n+1)** straight-line
|
|
14
|
+
* **segments** joined by **(n)** small fillets called **knees**. Each knee
|
|
15
|
+
* shall occur at a particular input level value called the **threshold.** Each
|
|
16
|
+
* segment shall be characterized by its **slope.** ** ** | ** / ** | S3 ** / **
|
|
17
|
+
* | S2 ** / ** | T1**-------------**T2 | ** / ** | S1 ** / ** | ** / ** | ** /
|
|
18
|
+
* ** +------------------------------------ This "drawing" shows a three-segment
|
|
19
19
|
* curve. The horizontal axis is input level, vertical axis is output level.
|
|
20
|
-
* Algebraically, a curve
|
|
21
|
-
* K[1..n-1] )** where **n** is the number of segments, and **In** is
|
|
22
|
-
* level in dBr **Out** is output level in dBr **T[1...n-1]** is an array
|
|
23
|
-
* **thresholds** in dBr **S[1...n]** is an array of **slopes** in dBr per
|
|
24
|
-
* i.e. unitless **K[1..n]** is the **knee parameter**, an
|
|
20
|
+
* Algebraically, a curve shall be a function ** Out = Curve( In, T[1..n-1],
|
|
21
|
+
* S[1..n], K[1..n-1] )** where **n** is the number of segments, and **In** is
|
|
22
|
+
* input level in dBr **Out** is output level in dBr **T[1...n-1]** is an array
|
|
23
|
+
* of **thresholds** in dBr **S[1...n]** is an array of **slopes** in dBr per
|
|
24
|
+
* dBr, i.e. unitless **K[1..n]** is the **knee parameter**, an
|
|
25
25
|
* implementation-dependant parameter that specifies the shape of the curve
|
|
26
|
-
* around the knee. Each segment
|
|
27
|
-
* level to input level. Note that this slope is the inverse of what
|
|
28
|
-
* processors call "ratio". For example, a ratio of 2:1
|
|
29
|
-
* curve segment with slope 1/2 = 0.5. This model can represent
|
|
30
|
-
* dynamics elements (we ignore **K[]** in these
|
|
31
|
-
* ratio of 2:1 and threshold of 10dBr: ** n = 2**
|
|
32
|
-
* ** S[2] = 0.5** - Hard limiter with threshold of
|
|
33
|
-
* S[1] = 1 S[2] = 0 - Upward expander with ratio of
|
|
34
|
-
* -12dBr: ** n = 2** T[1] = -12 S[1] = 1 S[2] = 1.5 -
|
|
35
|
-
* with ratio of 50:1 and threshold of -45dBr: ** n =
|
|
36
|
-
* S[2] = 1 This class, **OcaDynamicsCurve,**
|
|
37
|
-
* the basic curve mechanism. **Out = Curve( In,
|
|
38
|
-
* Floor, Ceiling)** where **In, T[], and S[],**
|
|
39
|
-
* above. **Floor**
|
|
40
|
-
* allowed to produce. **Ceiling**
|
|
41
|
-
* dynamics element is allowed to produce. To
|
|
42
|
-
* **Ceiling**, we revisit some of the examples
|
|
43
|
-
* ignored): - Compressor with ratio of 2:1, threshold
|
|
44
|
-
* reduction of 20dB: ** n = 2** ** T[1] = 10** ** S[1] =
|
|
45
|
-
* Floor = -20** ** Ceiling = 0** - Upward expander with
|
|
46
|
-
* threshold of -12dBr, and max gain boost of 4dB: ** n = 2**
|
|
47
|
-
* 1 S[2] = 1.5 Floor = 0 Ceiling = 4.0 More complex dynamics
|
|
48
|
-
* modeled by using more segments (**n > 2)**.
|
|
26
|
+
* around the knee. Each segment shall have a slope that expresses its ratio of
|
|
27
|
+
* output level to input level. Note that this slope is the inverse of what
|
|
28
|
+
* dynamics processors call "ratio". For example, a ratio of 2:1 shall be
|
|
29
|
+
* represented by a curve segment with slope 1/2 = 0.5. This model can represent
|
|
30
|
+
* various kinds of audio dynamics elements (we ignore **K[]** in these
|
|
31
|
+
* examples): - Compressor with ratio of 2:1 and threshold of 10dBr: ** n = 2**
|
|
32
|
+
* ** T[1] = 10** ** S[1] = 1** ** S[2] = 0.5** - Hard limiter with threshold of
|
|
33
|
+
* 18dBr: ** n = 2** T[1] = 18 S[1] = 1 S[2] = 0 - Upward expander with ratio of
|
|
34
|
+
* 1.5:1 and threshold of -12dBr: ** n = 2** T[1] = -12 S[1] = 1 S[2] = 1.5 -
|
|
35
|
+
* Downward expander (gate) with ratio of 50:1 and threshold of -45dBr: ** n =
|
|
36
|
+
* 2** T[1] = -45 S[1] = 50 S[2] = 1 This class, **OcaDynamicsCurve,** shall add
|
|
37
|
+
* two additional parameters to the basic curve mechanism. **Out = Curve( In,
|
|
38
|
+
* T[1..n-1], S[1..n], K[1..n-1] , Floor, Ceiling)** where **In, T[], and S[],**
|
|
39
|
+
* and **K[]** are as defined above. **Floor** shall be the lowest gain (in dBr)
|
|
40
|
+
* that the dynamics element is allowed to produce. **Ceiling** shall be the
|
|
41
|
+
* highest gain (in dBr) that the dynamics element is allowed to produce. To
|
|
42
|
+
* show the use of **Floor** and **Ceiling**, we revisit some of the examples
|
|
43
|
+
* above (again, **K[]** is ignored): - Compressor with ratio of 2:1, threshold
|
|
44
|
+
* of 10dBr, and max gain reduction of 20dB: ** n = 2** ** T[1] = 10** ** S[1] =
|
|
45
|
+
* 1** ** S[2] = 0.5** ** Floor = -20** ** Ceiling = 0** - Upward expander with
|
|
46
|
+
* ratio of 1.5:1, threshold of -12dBr, and max gain boost of 4dB: ** n = 2**
|
|
47
|
+
* T[1] = -12 S[1] = 1 S[2] = 1.5 Floor = 0 Ceiling = 4.0 More complex dynamics
|
|
48
|
+
* curves may be modeled by using more segments (**n > 2)**.
|
|
49
49
|
* @extends OcaActuator
|
|
50
50
|
* @class OcaDynamicsCurve
|
|
51
51
|
*/
|
|
@@ -53,29 +53,38 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
53
53
|
'OcaDynamicsCurve',
|
|
54
54
|
4,
|
|
55
55
|
'\u0001\u0001\u0001\u0010',
|
|
56
|
-
|
|
56
|
+
3,
|
|
57
57
|
OcaActuator,
|
|
58
58
|
[
|
|
59
59
|
['GetNSegments', 4, 1, [], [OcaUint8, OcaUint8, OcaUint8]],
|
|
60
60
|
['SetNSegments', 4, 2, [OcaUint8], []],
|
|
61
|
-
['GetThreshold', 4, 3, [], [
|
|
62
|
-
['
|
|
61
|
+
['GetThreshold', 4, 3, [], [OcaDBr, OcaFloat32, OcaFloat32]],
|
|
62
|
+
['SetThresholds', 4, 4, [OcaList(OcaDBr)], [], ['SetThreshold']],
|
|
63
63
|
[
|
|
64
|
-
'
|
|
64
|
+
'GetSlopes',
|
|
65
65
|
4,
|
|
66
66
|
5,
|
|
67
67
|
[],
|
|
68
68
|
[OcaList(OcaFloat32), OcaList(OcaFloat32), OcaList(OcaFloat32)],
|
|
69
|
+
['GetSlope'],
|
|
69
70
|
],
|
|
70
|
-
['
|
|
71
|
+
['SetSlopes', 4, 6, [OcaList(OcaFloat32)], [], ['SetSlope']],
|
|
71
72
|
[
|
|
72
|
-
'
|
|
73
|
+
'GetKneeParameters',
|
|
73
74
|
4,
|
|
74
75
|
7,
|
|
75
76
|
[],
|
|
76
77
|
[OcaList(OcaFloat32), OcaList(OcaFloat32), OcaList(OcaFloat32)],
|
|
78
|
+
['GetKneeParameter'],
|
|
79
|
+
],
|
|
80
|
+
[
|
|
81
|
+
'SetKneeParameters',
|
|
82
|
+
4,
|
|
83
|
+
8,
|
|
84
|
+
[OcaList(OcaFloat32)],
|
|
85
|
+
[],
|
|
86
|
+
['SetKneeParameter'],
|
|
77
87
|
],
|
|
78
|
-
['SetKneeParameter', 4, 8, [OcaList(OcaFloat32)], []],
|
|
79
88
|
['GetDynamicGainCeiling', 4, 9, [], [OcaFloat32, OcaFloat32, OcaFloat32]],
|
|
80
89
|
['SetDynamicGainCeiling', 4, 10, [OcaFloat32], []],
|
|
81
90
|
['GetDynamicGainFloor', 4, 11, [], [OcaFloat32, OcaFloat32, OcaFloat32]],
|
|
@@ -95,12 +104,21 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
95
104
|
],
|
|
96
105
|
[],
|
|
97
106
|
],
|
|
107
|
+
['GetThresholds', 4, 14, [], [OcaList(OcaDBr), OcaFloat32, OcaFloat32]],
|
|
98
108
|
],
|
|
99
109
|
[
|
|
100
|
-
['
|
|
101
|
-
['
|
|
102
|
-
['
|
|
103
|
-
[
|
|
110
|
+
['nSegments', [OcaUint8], 4, 1, false, false, null],
|
|
111
|
+
['Thresholds', [OcaList(OcaDBr)], 4, 2, false, false, ['Threshold']],
|
|
112
|
+
['Slopes', [OcaList(OcaFloat32)], 4, 3, false, false, ['Slope']],
|
|
113
|
+
[
|
|
114
|
+
'KneeParameters',
|
|
115
|
+
[OcaList(OcaFloat32)],
|
|
116
|
+
4,
|
|
117
|
+
4,
|
|
118
|
+
false,
|
|
119
|
+
false,
|
|
120
|
+
['KneeParameter'],
|
|
121
|
+
],
|
|
104
122
|
['DynamicGainFloor', [OcaFloat32], 4, 5, false, false, null],
|
|
105
123
|
['DynamicGainCeiling', [OcaFloat32], 4, 6, false, false, null],
|
|
106
124
|
],
|
|
@@ -108,11 +126,10 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
108
126
|
);
|
|
109
127
|
|
|
110
128
|
/**
|
|
111
|
-
* Gets the
|
|
112
|
-
* value was successfully retrieved.
|
|
129
|
+
* Gets the count, min count, and max count of curve segments.
|
|
113
130
|
* The return values of this method are
|
|
114
131
|
*
|
|
115
|
-
* -
|
|
132
|
+
* - NSegments of type ``number``
|
|
116
133
|
* - minN of type ``number``
|
|
117
134
|
* - maxN of type ``number``
|
|
118
135
|
*
|
|
@@ -120,10 +137,9 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
120
137
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
121
138
|
*/
|
|
122
139
|
/**
|
|
123
|
-
* Sets the number of curve segments.
|
|
124
|
-
* data
|
|
125
|
-
*
|
|
126
|
-
* segment are by default set to the values of the previous segment.
|
|
140
|
+
* Sets the number of curve segments. If this method increases the value of n,
|
|
141
|
+
* the data in properties **Threshold**, **Slope**, and **KneeParameter** of the
|
|
142
|
+
* new segment are by default set to the values of the previous segment.
|
|
127
143
|
*
|
|
128
144
|
* @method OcaDynamicsCurve#SetNSegments
|
|
129
145
|
* @param {number} Slope
|
|
@@ -131,20 +147,31 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
131
147
|
* @returns {Promise<void>}
|
|
132
148
|
*/
|
|
133
149
|
/**
|
|
134
|
-
* Gets the list of Threshold values.
|
|
135
|
-
*
|
|
150
|
+
* Gets the list of Threshold values. Deprecated in v3 of this class, replaced
|
|
151
|
+
* by **GetThresholds(...)**. **Note: this method contains a definition error
|
|
152
|
+
* and should not be used.**
|
|
136
153
|
* The return values of this method are
|
|
137
154
|
*
|
|
138
|
-
* - Threshold of type ``IOcaDBr
|
|
155
|
+
* - Threshold of type ``IOcaDBr``
|
|
139
156
|
* - minThreshold of type ``number``
|
|
140
157
|
* - maxThreshold of type ``number``
|
|
141
158
|
*
|
|
142
159
|
* @method OcaDynamicsCurve#GetThreshold
|
|
143
|
-
* @returns {Promise<Arguments<OcaDBr
|
|
160
|
+
* @returns {Promise<Arguments<OcaDBr,number,number>>}
|
|
161
|
+
*/
|
|
162
|
+
/**
|
|
163
|
+
* Sets the list of **Threshold** values. In v3 of this class, replaces
|
|
164
|
+
* **SetThreshold(..)**
|
|
165
|
+
*
|
|
166
|
+
* @method OcaDynamicsCurve#SetThresholds
|
|
167
|
+
* @param {IOcaDBr[]} Threshold
|
|
168
|
+
*
|
|
169
|
+
* @returns {Promise<void>}
|
|
144
170
|
*/
|
|
145
171
|
/**
|
|
146
|
-
* Sets the list of Threshold values.
|
|
147
|
-
*
|
|
172
|
+
* Sets the list of **Threshold** values. In v3 of this class, replaces
|
|
173
|
+
* **SetThreshold(..)**
|
|
174
|
+
* An alias for SetThresholds.
|
|
148
175
|
*
|
|
149
176
|
* @method OcaDynamicsCurve#SetThreshold
|
|
150
177
|
* @param {IOcaDBr[]} Threshold
|
|
@@ -152,11 +179,24 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
152
179
|
* @returns {Promise<void>}
|
|
153
180
|
*/
|
|
154
181
|
/**
|
|
155
|
-
* Gets the
|
|
156
|
-
*
|
|
182
|
+
* Gets the lists of **Slope** values, minima, and maxima. In v3 of this class,
|
|
183
|
+
* replaces **GetSlope(..).**
|
|
157
184
|
* The return values of this method are
|
|
158
185
|
*
|
|
159
|
-
* -
|
|
186
|
+
* - Slopes of type ``number[]``
|
|
187
|
+
* - minSlope of type ``number[]``
|
|
188
|
+
* - maxSlope of type ``number[]``
|
|
189
|
+
*
|
|
190
|
+
* @method OcaDynamicsCurve#GetSlopes
|
|
191
|
+
* @returns {Promise<Arguments<number[],number[],number[]>>}
|
|
192
|
+
*/
|
|
193
|
+
/**
|
|
194
|
+
* Gets the lists of **Slope** values, minima, and maxima. In v3 of this class,
|
|
195
|
+
* replaces **GetSlope(..).**
|
|
196
|
+
* An alias for GetSlopes.
|
|
197
|
+
* The return values of this method are
|
|
198
|
+
*
|
|
199
|
+
* - Slopes of type ``number[]``
|
|
160
200
|
* - minSlope of type ``number[]``
|
|
161
201
|
* - maxSlope of type ``number[]``
|
|
162
202
|
*
|
|
@@ -164,8 +204,18 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
164
204
|
* @returns {Promise<Arguments<number[],number[],number[]>>}
|
|
165
205
|
*/
|
|
166
206
|
/**
|
|
167
|
-
* Sets the list of Slope values.
|
|
168
|
-
*
|
|
207
|
+
* Sets the list of **Slope** values. In v3 of this class, replaces
|
|
208
|
+
* **SetSlope(..)**
|
|
209
|
+
*
|
|
210
|
+
* @method OcaDynamicsCurve#SetSlopes
|
|
211
|
+
* @param {number[]} slope
|
|
212
|
+
*
|
|
213
|
+
* @returns {Promise<void>}
|
|
214
|
+
*/
|
|
215
|
+
/**
|
|
216
|
+
* Sets the list of **Slope** values. In v3 of this class, replaces
|
|
217
|
+
* **SetSlope(..)**
|
|
218
|
+
* An alias for SetSlopes.
|
|
169
219
|
*
|
|
170
220
|
* @method OcaDynamicsCurve#SetSlope
|
|
171
221
|
* @param {number[]} slope
|
|
@@ -173,11 +223,24 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
173
223
|
* @returns {Promise<void>}
|
|
174
224
|
*/
|
|
175
225
|
/**
|
|
176
|
-
* Gets the list of KneeParameter
|
|
177
|
-
*
|
|
226
|
+
* Gets the list of **KneeParameter** values, minima, and maxima. In v3 of this
|
|
227
|
+
* class, replaces **GetKneeParameter(..).**
|
|
178
228
|
* The return values of this method are
|
|
179
229
|
*
|
|
180
|
-
* -
|
|
230
|
+
* - Parameters of type ``number[]``
|
|
231
|
+
* - minParameter of type ``number[]``
|
|
232
|
+
* - maxParameter of type ``number[]``
|
|
233
|
+
*
|
|
234
|
+
* @method OcaDynamicsCurve#GetKneeParameters
|
|
235
|
+
* @returns {Promise<Arguments<number[],number[],number[]>>}
|
|
236
|
+
*/
|
|
237
|
+
/**
|
|
238
|
+
* Gets the list of **KneeParameter** values, minima, and maxima. In v3 of this
|
|
239
|
+
* class, replaces **GetKneeParameter(..).**
|
|
240
|
+
* An alias for GetKneeParameters.
|
|
241
|
+
* The return values of this method are
|
|
242
|
+
*
|
|
243
|
+
* - Parameters of type ``number[]``
|
|
181
244
|
* - minParameter of type ``number[]``
|
|
182
245
|
* - maxParameter of type ``number[]``
|
|
183
246
|
*
|
|
@@ -185,20 +248,29 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
185
248
|
* @returns {Promise<Arguments<number[],number[],number[]>>}
|
|
186
249
|
*/
|
|
187
250
|
/**
|
|
188
|
-
* Sets the list of KneeParameter values.
|
|
189
|
-
*
|
|
251
|
+
* Sets the list of **KneeParameter** values. In v3 of this class, replaces
|
|
252
|
+
* **SetKneeParameter(..).**
|
|
253
|
+
*
|
|
254
|
+
* @method OcaDynamicsCurve#SetKneeParameters
|
|
255
|
+
* @param {number[]} Parameters
|
|
256
|
+
*
|
|
257
|
+
* @returns {Promise<void>}
|
|
258
|
+
*/
|
|
259
|
+
/**
|
|
260
|
+
* Sets the list of **KneeParameter** values. In v3 of this class, replaces
|
|
261
|
+
* **SetKneeParameter(..).**
|
|
262
|
+
* An alias for SetKneeParameters.
|
|
190
263
|
*
|
|
191
264
|
* @method OcaDynamicsCurve#SetKneeParameter
|
|
192
|
-
* @param {number[]}
|
|
265
|
+
* @param {number[]} Parameters
|
|
193
266
|
*
|
|
194
267
|
* @returns {Promise<void>}
|
|
195
268
|
*/
|
|
196
269
|
/**
|
|
197
|
-
* Gets the value of the DynamicGainCeiling property.
|
|
198
|
-
* whether the data was successfully retrieved.
|
|
270
|
+
* Gets the value and limits of the **DynamicGainCeiling** property.
|
|
199
271
|
* The return values of this method are
|
|
200
272
|
*
|
|
201
|
-
* -
|
|
273
|
+
* - Gain of type ``number``
|
|
202
274
|
* - minGain of type ``number``
|
|
203
275
|
* - maxGain of type ``number``
|
|
204
276
|
*
|
|
@@ -206,8 +278,7 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
206
278
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
207
279
|
*/
|
|
208
280
|
/**
|
|
209
|
-
* Sets the value of the DynamicGainCeiling property.
|
|
210
|
-
* whether the data was successfully set.
|
|
281
|
+
* Sets the value of the **DynamicGainCeiling** property.
|
|
211
282
|
*
|
|
212
283
|
* @method OcaDynamicsCurve#SetDynamicGainCeiling
|
|
213
284
|
* @param {number} gain
|
|
@@ -215,8 +286,7 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
215
286
|
* @returns {Promise<void>}
|
|
216
287
|
*/
|
|
217
288
|
/**
|
|
218
|
-
* Gets the value of the DynamicGainFloor property.
|
|
219
|
-
* whether the data was successfully retrieved.
|
|
289
|
+
* Gets the value and limits of the **DynamicGainFloor** property.
|
|
220
290
|
* The return values of this method are
|
|
221
291
|
*
|
|
222
292
|
* - Gain of type ``number``
|
|
@@ -227,8 +297,7 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
227
297
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
228
298
|
*/
|
|
229
299
|
/**
|
|
230
|
-
* Sets the value of the DynamicGainFloor property.
|
|
231
|
-
* whether the data was successfully set.
|
|
300
|
+
* Sets the value of the **DynamicGainFloor** property.
|
|
232
301
|
*
|
|
233
302
|
* @method OcaDynamicsCurve#SetDynamicGainFloor
|
|
234
303
|
* @param {number} Gain
|
|
@@ -236,14 +305,14 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
236
305
|
* @returns {Promise<void>}
|
|
237
306
|
*/
|
|
238
307
|
/**
|
|
239
|
-
* Sets some or all dynamics curve parameters. The
|
|
240
|
-
*
|
|
241
|
-
*
|
|
308
|
+
* Sets some or all dynamics curve parameters. The action of this method shall
|
|
309
|
+
* be atomic - if any of the value changes fails, **none** of the changes shall
|
|
310
|
+
* be made.
|
|
242
311
|
*
|
|
243
312
|
* @method OcaDynamicsCurve#SetMultiple
|
|
244
313
|
* @param {IOcaParameterMask} Mask
|
|
245
|
-
* @param {number}
|
|
246
|
-
* @param {IOcaDBr[]}
|
|
314
|
+
* @param {number} NSegments
|
|
315
|
+
* @param {IOcaDBr[]} Thresholds
|
|
247
316
|
* @param {number[]} Slope
|
|
248
317
|
* @param {number[]} KneeParameter
|
|
249
318
|
* @param {number} DynamicGainFloor
|
|
@@ -252,31 +321,58 @@ export const OcaDynamicsCurve = make_control_class(
|
|
|
252
321
|
* @returns {Promise<void>}
|
|
253
322
|
*/
|
|
254
323
|
/**
|
|
255
|
-
*
|
|
256
|
-
*
|
|
324
|
+
* Gets the list of **Threshold** values, and the minimum and maximum slope. In
|
|
325
|
+
* v3 of this class, replaces **GetThreshold(..).**
|
|
326
|
+
* The return values of this method are
|
|
327
|
+
*
|
|
328
|
+
* - Thresholds of type ``IOcaDBr[]``
|
|
329
|
+
* - minThreshold of type ``number``
|
|
330
|
+
* - maxThreshold of type ``number``
|
|
331
|
+
*
|
|
332
|
+
* @method OcaDynamicsCurve#GetThresholds
|
|
333
|
+
* @returns {Promise<Arguments<OcaDBr[],number,number>>}
|
|
334
|
+
*/
|
|
335
|
+
/**
|
|
336
|
+
* This event is emitted when the property ``nSegments`` changes in the remote object.
|
|
337
|
+
* The property ``nSegments`` is described in the AES70 standard as follows.
|
|
257
338
|
* Number of curve segments.
|
|
258
339
|
*
|
|
259
|
-
* @member {PropertyEvent<number>} OcaDynamicsCurve#
|
|
340
|
+
* @member {PropertyEvent<number>} OcaDynamicsCurve#OnnSegmentsChanged
|
|
260
341
|
*/
|
|
261
342
|
/**
|
|
262
|
-
* This event is emitted when the property ``
|
|
263
|
-
* The property ``
|
|
264
|
-
*
|
|
343
|
+
* This event is emitted when the property ``Thresholds`` changes in the remote object.
|
|
344
|
+
* The property ``Thresholds`` is described in the AES70 standard as follows.
|
|
345
|
+
* List of curve segment thresholds. See class description.
|
|
346
|
+
*
|
|
347
|
+
* @member {PropertyEvent<OcaDBr[]>} OcaDynamicsCurve#OnThresholdsChanged
|
|
348
|
+
*/
|
|
349
|
+
/**
|
|
350
|
+
* An alias for OnThresholdsChanged
|
|
265
351
|
*
|
|
266
352
|
* @member {PropertyEvent<OcaDBr[]>} OcaDynamicsCurve#OnThresholdChanged
|
|
267
353
|
*/
|
|
268
354
|
/**
|
|
269
|
-
* This event is emitted when the property ``
|
|
270
|
-
* The property ``
|
|
355
|
+
* This event is emitted when the property ``Slopes`` changes in the remote object.
|
|
356
|
+
* The property ``Slopes`` is described in the AES70 standard as follows.
|
|
271
357
|
* **S[1..n]**. See class description for details.
|
|
272
358
|
*
|
|
359
|
+
* @member {PropertyEvent<number[]>} OcaDynamicsCurve#OnSlopesChanged
|
|
360
|
+
*/
|
|
361
|
+
/**
|
|
362
|
+
* An alias for OnSlopesChanged
|
|
363
|
+
*
|
|
273
364
|
* @member {PropertyEvent<number[]>} OcaDynamicsCurve#OnSlopeChanged
|
|
274
365
|
*/
|
|
275
366
|
/**
|
|
276
|
-
* This event is emitted when the property ``
|
|
277
|
-
* The property ``
|
|
367
|
+
* This event is emitted when the property ``KneeParameters`` changes in the remote object.
|
|
368
|
+
* The property ``KneeParameters`` is described in the AES70 standard as follows.
|
|
278
369
|
* **K[1..n]**. See class description for details.
|
|
279
370
|
*
|
|
371
|
+
* @member {PropertyEvent<number[]>} OcaDynamicsCurve#OnKneeParametersChanged
|
|
372
|
+
*/
|
|
373
|
+
/**
|
|
374
|
+
* An alias for OnKneeParametersChanged
|
|
375
|
+
*
|
|
280
376
|
* @member {PropertyEvent<number[]>} OcaDynamicsCurve#OnKneeParameterChanged
|
|
281
377
|
*/
|
|
282
378
|
/**
|
|
@@ -37,8 +37,7 @@ export declare class OcaDynamicsDetector extends OcaActuator {
|
|
|
37
37
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Gets the value of the Law property.
|
|
41
|
-
* value was successfully retrieved.
|
|
40
|
+
* Gets the value of the **Law** property.
|
|
42
41
|
*
|
|
43
42
|
* @method OcaDynamicsDetector#GetLaw
|
|
44
43
|
* @returns {Promise<OcaLevelDetectionLaw>}
|
|
@@ -47,8 +46,7 @@ export declare class OcaDynamicsDetector extends OcaActuator {
|
|
|
47
46
|
GetLaw(): Promise<OcaLevelDetectionLaw>;
|
|
48
47
|
|
|
49
48
|
/**
|
|
50
|
-
* Sets the value of the Law property.
|
|
51
|
-
* value was successfully set.
|
|
49
|
+
* Sets the value of the **Law** property.
|
|
52
50
|
*
|
|
53
51
|
* @method OcaDynamicsDetector#SetLaw
|
|
54
52
|
* @param {IOcaLevelDetectionLaw} Law
|
|
@@ -58,8 +56,7 @@ export declare class OcaDynamicsDetector extends OcaActuator {
|
|
|
58
56
|
SetLaw(Law: IOcaLevelDetectionLaw): Promise<void>;
|
|
59
57
|
|
|
60
58
|
/**
|
|
61
|
-
* Gets the value of the AttackTime property.
|
|
62
|
-
* the value was successfully retrieved.
|
|
59
|
+
* Gets the value and limits of the **AttackTime** property.
|
|
63
60
|
* The return values of this method are
|
|
64
61
|
*
|
|
65
62
|
* - Time of type ``number``
|
|
@@ -72,8 +69,7 @@ export declare class OcaDynamicsDetector extends OcaActuator {
|
|
|
72
69
|
GetAttackTime(): Promise<Arguments<[number, number, number]>>;
|
|
73
70
|
|
|
74
71
|
/**
|
|
75
|
-
* Sets the value of the AttackTime property.
|
|
76
|
-
* whether the property was successfully set.
|
|
72
|
+
* Sets the value of the **AttackTime** property.
|
|
77
73
|
*
|
|
78
74
|
* @method OcaDynamicsDetector#SetAttackTime
|
|
79
75
|
* @param {number} Time
|
|
@@ -83,8 +79,7 @@ export declare class OcaDynamicsDetector extends OcaActuator {
|
|
|
83
79
|
SetAttackTime(Time: number): Promise<void>;
|
|
84
80
|
|
|
85
81
|
/**
|
|
86
|
-
* Gets the value of the ReleaseTime property.
|
|
87
|
-
* the value was successfully retrieved.
|
|
82
|
+
* Gets the value and limits of the **ReleaseTime** property.
|
|
88
83
|
* The return values of this method are
|
|
89
84
|
*
|
|
90
85
|
* - Time of type ``number``
|
|
@@ -97,8 +92,7 @@ export declare class OcaDynamicsDetector extends OcaActuator {
|
|
|
97
92
|
GetReleaseTime(): Promise<Arguments<[number, number, number]>>;
|
|
98
93
|
|
|
99
94
|
/**
|
|
100
|
-
* Sets the value of the ReleaseTime property.
|
|
101
|
-
* whether the property was successfully set.
|
|
95
|
+
* Sets the value of the **ReleaseTime** property.
|
|
102
96
|
*
|
|
103
97
|
* @method OcaDynamicsDetector#SetReleaseTime
|
|
104
98
|
* @param {number} Time
|
|
@@ -108,8 +102,7 @@ export declare class OcaDynamicsDetector extends OcaActuator {
|
|
|
108
102
|
SetReleaseTime(Time: number): Promise<void>;
|
|
109
103
|
|
|
110
104
|
/**
|
|
111
|
-
* Gets the value of the HoldTime property.
|
|
112
|
-
* value was successfully retrieved.
|
|
105
|
+
* Gets the value and limits of the **HoldTime** property.
|
|
113
106
|
* The return values of this method are
|
|
114
107
|
*
|
|
115
108
|
* - Time of type ``number``
|
|
@@ -122,8 +115,7 @@ export declare class OcaDynamicsDetector extends OcaActuator {
|
|
|
122
115
|
GetHoldTime(): Promise<Arguments<[number, number, number]>>;
|
|
123
116
|
|
|
124
117
|
/**
|
|
125
|
-
* Sets the value of the HoldTime property.
|
|
126
|
-
* the property was successfully set.
|
|
118
|
+
* Sets the value of the **HoldTime** property.
|
|
127
119
|
*
|
|
128
120
|
* @method OcaDynamicsDetector#SetHoldTime
|
|
129
121
|
* @param {number} Time
|
|
@@ -13,7 +13,7 @@ export const OcaDynamicsDetector = make_control_class(
|
|
|
13
13
|
'OcaDynamicsDetector',
|
|
14
14
|
4,
|
|
15
15
|
'\u0001\u0001\u0001\u000f',
|
|
16
|
-
|
|
16
|
+
3,
|
|
17
17
|
OcaActuator,
|
|
18
18
|
[
|
|
19
19
|
['GetLaw', 4, 1, [], [OcaLevelDetectionLaw]],
|
|
@@ -48,16 +48,14 @@ export const OcaDynamicsDetector = make_control_class(
|
|
|
48
48
|
);
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Gets the value of the Law property.
|
|
52
|
-
* was successfully retrieved.
|
|
51
|
+
* Gets the value of the **Law** property.
|
|
53
52
|
*
|
|
54
53
|
* @method OcaDynamicsDetector#GetLaw
|
|
55
54
|
* @returns {Promise<OcaLevelDetectionLaw>}
|
|
56
55
|
* A promise which resolves to a single value of type :class:`OcaLevelDetectionLaw`.
|
|
57
56
|
*/
|
|
58
57
|
/**
|
|
59
|
-
* Sets the value of the Law property.
|
|
60
|
-
* was successfully set.
|
|
58
|
+
* Sets the value of the **Law** property.
|
|
61
59
|
*
|
|
62
60
|
* @method OcaDynamicsDetector#SetLaw
|
|
63
61
|
* @param {IOcaLevelDetectionLaw} Law
|
|
@@ -65,8 +63,7 @@ export const OcaDynamicsDetector = make_control_class(
|
|
|
65
63
|
* @returns {Promise<void>}
|
|
66
64
|
*/
|
|
67
65
|
/**
|
|
68
|
-
* Gets the value of the AttackTime property.
|
|
69
|
-
* value was successfully retrieved.
|
|
66
|
+
* Gets the value and limits of the **AttackTime** property.
|
|
70
67
|
* The return values of this method are
|
|
71
68
|
*
|
|
72
69
|
* - Time of type ``number``
|
|
@@ -77,8 +74,7 @@ export const OcaDynamicsDetector = make_control_class(
|
|
|
77
74
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
78
75
|
*/
|
|
79
76
|
/**
|
|
80
|
-
* Sets the value of the AttackTime property.
|
|
81
|
-
* the property was successfully set.
|
|
77
|
+
* Sets the value of the **AttackTime** property.
|
|
82
78
|
*
|
|
83
79
|
* @method OcaDynamicsDetector#SetAttackTime
|
|
84
80
|
* @param {number} Time
|
|
@@ -86,8 +82,7 @@ export const OcaDynamicsDetector = make_control_class(
|
|
|
86
82
|
* @returns {Promise<void>}
|
|
87
83
|
*/
|
|
88
84
|
/**
|
|
89
|
-
* Gets the value of the ReleaseTime property.
|
|
90
|
-
* value was successfully retrieved.
|
|
85
|
+
* Gets the value and limits of the **ReleaseTime** property.
|
|
91
86
|
* The return values of this method are
|
|
92
87
|
*
|
|
93
88
|
* - Time of type ``number``
|
|
@@ -98,8 +93,7 @@ export const OcaDynamicsDetector = make_control_class(
|
|
|
98
93
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
99
94
|
*/
|
|
100
95
|
/**
|
|
101
|
-
* Sets the value of the ReleaseTime property.
|
|
102
|
-
* whether the property was successfully set.
|
|
96
|
+
* Sets the value of the **ReleaseTime** property.
|
|
103
97
|
*
|
|
104
98
|
* @method OcaDynamicsDetector#SetReleaseTime
|
|
105
99
|
* @param {number} Time
|
|
@@ -107,8 +101,7 @@ export const OcaDynamicsDetector = make_control_class(
|
|
|
107
101
|
* @returns {Promise<void>}
|
|
108
102
|
*/
|
|
109
103
|
/**
|
|
110
|
-
* Gets the value of the HoldTime property.
|
|
111
|
-
* value was successfully retrieved.
|
|
104
|
+
* Gets the value and limits of the **HoldTime** property.
|
|
112
105
|
* The return values of this method are
|
|
113
106
|
*
|
|
114
107
|
* - Time of type ``number``
|
|
@@ -119,8 +112,7 @@ export const OcaDynamicsDetector = make_control_class(
|
|
|
119
112
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
120
113
|
*/
|
|
121
114
|
/**
|
|
122
|
-
* Sets the value of the HoldTime property.
|
|
123
|
-
* the property was successfully set.
|
|
115
|
+
* Sets the value of the **HoldTime** property.
|
|
124
116
|
*
|
|
125
117
|
* @method OcaDynamicsDetector#SetHoldTime
|
|
126
118
|
* @param {number} Time
|
|
@@ -8,7 +8,7 @@ import { RemoteDevice } from '../remote_device';
|
|
|
8
8
|
import { OcaActuator } from './OcaActuator';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Arbitrary-curve filter, with transfer function specified as amplitude and
|
|
12
12
|
* phase versus frequency.
|
|
13
13
|
* @extends OcaActuator
|
|
14
14
|
* @class OcaFilterArbitraryCurve
|
|
@@ -37,7 +37,7 @@ export declare class OcaFilterArbitraryCurve extends OcaActuator {
|
|
|
37
37
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Gets the complex transfer function.
|
|
41
41
|
*
|
|
42
42
|
* @method OcaFilterArbitraryCurve#GetTransferFunction
|
|
43
43
|
* @returns {Promise<OcaTransferFunction>}
|
|
@@ -56,7 +56,7 @@ export declare class OcaFilterArbitraryCurve extends OcaActuator {
|
|
|
56
56
|
SetTransferFunction(TransferFunction: IOcaTransferFunction): Promise<void>;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* Gets the filter sampling rate.
|
|
59
|
+
* Gets the value and limits of the filter sampling rate.
|
|
60
60
|
* The return values of this method are
|
|
61
61
|
*
|
|
62
62
|
* - Rate of type ``number``
|
|
@@ -79,8 +79,7 @@ export declare class OcaFilterArbitraryCurve extends OcaActuator {
|
|
|
79
79
|
SetSampleRate(Rate: number): Promise<void>;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
83
|
-
* function.
|
|
82
|
+
* Gets the value and limits of the TFMinLength property.
|
|
84
83
|
*
|
|
85
84
|
* @method OcaFilterArbitraryCurve#GetTFMinLength
|
|
86
85
|
* @returns {Promise<number>}
|
|
@@ -89,8 +88,7 @@ export declare class OcaFilterArbitraryCurve extends OcaActuator {
|
|
|
89
88
|
GetTFMinLength(): Promise<number>;
|
|
90
89
|
|
|
91
90
|
/**
|
|
92
|
-
*
|
|
93
|
-
* function.
|
|
91
|
+
* Gets the value and limits of the TFMaxLength property.
|
|
94
92
|
*
|
|
95
93
|
* @method OcaFilterArbitraryCurve#GetTFMaxLength
|
|
96
94
|
* @returns {Promise<number>}
|