Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConstantSourceNode

Hierarchy

Index

Properties

AudioScheduledSourceNode

AudioScheduledSourceNode: { constructor: any; prototype: AudioScheduledSourceNode }

Type declaration

channelCount

channelCount: number

channelCountMode

channelCountMode: ChannelCountMode

channelInterpretation

channelInterpretation: ChannelInterpretation

Readonly context

Readonly numberOfInputs

numberOfInputs: number

Readonly numberOfOutputs

numberOfOutputs: number

Readonly offset

offset: AudioParam

onended

onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null

Methods

addEventListener

connect

  • connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode
  • connect(destinationParam: AudioParam, output?: number): void
  • Parameters

    • destinationNode: AudioNode
    • Optional output: number
    • Optional input: number

    Returns AudioNode

  • Parameters

    • destinationParam: AudioParam
    • Optional output: number

    Returns void

disconnect

  • disconnect(): void
  • disconnect(output: number): void
  • disconnect(destinationNode: AudioNode): void
  • disconnect(destinationNode: AudioNode, output: number): void
  • disconnect(destinationNode: AudioNode, output: number, input: number): void
  • disconnect(destinationParam: AudioParam): void
  • disconnect(destinationParam: AudioParam, output: number): void
  • Returns void

  • Parameters

    • output: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • destinationNode: AudioNode
    • output: number
    • input: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    Returns boolean

removeEventListener

start

  • start(when?: number): void
  • Parameters

    • Optional when: number

    Returns void

stop

  • stop(when?: number): void
  • Parameters

    • Optional when: number

    Returns void

Generated using TypeDoc