import { IOcaParameterMask } from '../../types/OcaParameterMask.js'; import { IOcaParametricEQShape, OcaParametricEQShape, } from '../../types/OcaParametricEQShape.js'; import { Arguments } from '../arguments.js'; import { PropertyEvent } from '../property_event.js'; import { RemoteDevice } from '../remote_device.js'; import { OcaActuator } from './OcaActuator.js'; /** * Parametric equalizer section with various shape options. * @extends OcaActuator * @class OcaFilterParametric */ export declare class OcaFilterParametric extends OcaActuator { /** * This event is emitted whenever Frequency changes. */ OnFrequencyChanged: PropertyEvent; /** * This event is emitted whenever Shape changes. */ OnShapeChanged: PropertyEvent; /** * This event is emitted whenever WidthParameter changes. */ OnWidthParameterChanged: PropertyEvent; /** * An alias for OnWidthParameterChanged */ OnQChanged: PropertyEvent; /** * This event is emitted whenever InBandGain changes. */ OnInBandGainChanged: PropertyEvent; /** * An alias for OnInBandGainChanged */ OnInbandGainChanged: PropertyEvent; /** * This event is emitted whenever ShapeParameter changes. */ OnShapeParameterChanged: PropertyEvent; constructor(objectNumber: number, device: RemoteDevice); /** * Gets the value and limits of the **Frequency** property. * The return values of this method are * * - Frequency of type ``number`` * - minFrequency of type ``number`` * - maxFrequency of type ``number`` * * @method OcaFilterParametric#GetFrequency * @returns {Promise>} */ GetFrequency(): Promise>; /** * Sets the value of the **Frequency** property. * * @method OcaFilterParametric#SetFrequency * @param {number} Frequency * * @returns {Promise} */ SetFrequency(Frequency: number): Promise; /** * Gets the value of the **Shape** property. * * @method OcaFilterParametric#GetShape * @returns {Promise} * A promise which resolves to a single value of type :class:`OcaParametricEQShape`. */ GetShape(): Promise; /** * Sets the value of the **Shape** property. * * @method OcaFilterParametric#SetShape * @param {IOcaParametricEQShape} type * * @returns {Promise} */ SetShape(type: IOcaParametricEQShape): Promise; /** * Gets the value and limits of the **WidthParameter** property. * The return values of this method are * * - Width of type ``number`` * - minWidth of type ``number`` * - maxWidth of type ``number`` * * @method OcaFilterParametric#GetWidthParameter * @returns {Promise>} */ GetWidthParameter(): Promise>; /** * Gets the value and limits of the **WidthParameter** property. * An alias for GetWidthParameter. * The return values of this method are * * - Width of type ``number`` * - minWidth of type ``number`` * - maxWidth of type ``number`` * * @method OcaFilterParametric#GetQ * @returns {Promise>} */ GetQ(): Promise>; /** * Sets the value of the **WidthParameter** property. * * @method OcaFilterParametric#SetWidthParameter * @param {number} Width * * @returns {Promise} */ SetWidthParameter(Width: number): Promise; /** * Sets the value of the **WidthParameter** property. * An alias for SetWidthParameter. * * @method OcaFilterParametric#SetQ * @param {number} Width * * @returns {Promise} */ SetQ(Width: number): Promise; /** * Gets the value, min, and max of the **InBandGain** property. * The return values of this method are * * - gain of type ``number`` * - minGain of type ``number`` * - maxGain of type ``number`` * * @method OcaFilterParametric#GetInbandGain * @returns {Promise>} */ GetInbandGain(): Promise>; /** * Sets the value of the **InBandGain** property. * * @method OcaFilterParametric#SetInbandGain * @param {number} gain * * @returns {Promise} */ SetInbandGain(gain: number): Promise; /** * Sets the value of the **InBandGain** property. * An alias for SetInbandGain. * * @method OcaFilterParametric#SetInbandgain * @param {number} gain * * @returns {Promise} */ SetInbandgain(gain: number): Promise; /** * Gets the value and limits of the **ShapeParameter** property. * The return values of this method are * * - shape of type ``number`` * - minShape of type ``number`` * - maxShape of type ``number`` * * @method OcaFilterParametric#GetShapeParameter * @returns {Promise>} */ GetShapeParameter(): Promise>; /** * Sets the value of the S**hapeParameter** property. * * @method OcaFilterParametric#SetShapeParameter * @param {number} shape * * @returns {Promise} */ SetShapeParameter(shape: number): Promise; /** * Sets some or all filter parameters. The action of this method is atomic - * if any of the value changes fails, none of the changes are made. * * @method OcaFilterParametric#SetMultiple * @param {IOcaParameterMask} Mask * @param {number} Frequency * @param {IOcaParametricEQShape} Shape * @param {number} WidthParameter * @param {number} InBandGain * @param {number} ShapeParameter * * @returns {Promise} */ SetMultiple( Mask: IOcaParameterMask, Frequency: number, Shape: IOcaParametricEQShape, WidthParameter: number, InBandGain: number, ShapeParameter: number ): Promise; }