JavaScript video editor, encoder, switcher - version 5.1.1

AudibleContext

constructor

createBuffer

  • createBuffer(seconds: number): AudioBuffer
  • Parameter

    seconds: number

    Returns AudioBuffer

createBufferSource

currentTime

  • get currentTime(): number
  • Returns number

decode

  • decode(buffer: ArrayBuffer): Promise<AudioBuffer>
  • Parameter

    buffer: ArrayBuffer

    Returns Promise<AudioBuffer>

deleteSource

  • deleteSource(id: string): void
  • Parameter

    id: string

    Returns void

destination

  • get destination(): AudioDestinationNode
  • Returns AudioDestinationNode

getSource

hasSource

  • hasSource(id: string): boolean
  • Parameter

    id: string

    Returns boolean

startAt

  • startAt(id: string, source: AudibleSource, start: number, duration: number, offset?: number, loops?: boolean): void
  • Parameters

    • id: string
    • source: AudibleSource
    • start: number
    • duration: number
    • Optional offset: number
    • Optional loops: boolean

    Returns void