UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

28 lines (27 loc) 894 B
import { type Nullable } from "../../../types.js"; import { type IAudioParameterRampOptions } from "../../audioParameter.js"; import { type _WebAudioEngine } from "../webAudioEngine.js"; /** @internal */ export declare class _WebAudioParameterComponent { private _rampEndTime; private _engine; private _param; private _targetValue; /** @internal */ constructor(engine: _WebAudioEngine, param: AudioParam); /** @internal */ get isRamping(): boolean; /** @internal */ get targetValue(): number; set targetValue(value: number); /** @internal */ get value(): number; /** @internal */ dispose(): void; /** * Sets the target value of the audio parameter with an optional ramping duration and shape. * * @internal */ setTargetValue(value: number, options?: Nullable<Partial<IAudioParameterRampOptions>>): void; }