ConstantSourceNode
interface ConstantSourceNode extends AudioScheduledSourceNode {
readonly offset: AudioParam;
addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
type: K,
listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void;removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
type: K,
listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
}type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var ConstantSourceNode: {
prototype: ConstantSourceNode;
new (context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode;
};§Properties
§
readonly offset: AudioParam
[src]§Methods
§
addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
[src]type: K,
listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
[src]type: K,
listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void