Skip to content
This repository was archived by the owner on Jun 9, 2019. It is now read-only.

AudioBufferSourceNode

mohayonao edited this page Jan 27, 2015 · 9 revisions

Object > EventTarget > AudioNode > AudioBufferSourceNode

Properties

Inherits properties from its parent, AudioNode.

  • buffer: AudioBuffer | null
  • playbackRate: AudioParam readonly
  • loop: boolean
  • loopStart: number
  • loopEnd: number

Event handlers

  • onended

Methods

Inherits methods from its parent, AudioNode.

  • start([when: number], [offset: number], [duration: number]): void
  • stop([when: number]): void

Test API

Inherits test API from its parent, AudioNode.

  • $state: string readonly
    • The state of current time.
    • UNSCHEDULED / SCHEDULED / PLAYING / FINISHED
  • $stateAtTime(when: number): string
    • The state of when
    • UNSCHEDULED / SCHEDULED / PLAYING / FINISHED

JSON

{
  "name": "AudioBufferSourceNode",
  "buffer": null,
  "playbackRate": {
    value: 1,
    inputs: []
  },
  "loop": false,
  "loopStart": 0,
  "loopEnd": 0,
  "inputs": []
}

References

Clone this wiki locally