@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
26 lines • 568 B
TypeScript
/**
* Base class for all audio clips
*/
export class AbstractAudioClip {
/**
* Parent clip, if set - will propagate various parameters to the child at play-time
* @type {null}
*/
parent: null;
/**
* Relative offset from source
* @type {number}
*/
pitch: number;
/**
* Gain offset in decibel
* @type {number}
*/
gain: number;
/**
* Output channel, if not set - will use a settings from parent
* @type {null}
*/
channel: null;
}
//# sourceMappingURL=AbstractAudioClip.d.ts.map