gameforge - v0.1.12
    Preparing search index...

    webaudio

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    analyser: AnalyserNode

    Get the analyser node

    bufferSource: AudioBufferSourceNode

    Get the buffer source node

    Reference to the SoundContext

    gain: GainNode

    Get the gain node

    BUFFER_SIZE: number

    The buffer size for script processor, default is 0 which auto-detects. If you plan to use script node on iOS, you'll need to provide a non-zero amount.

    0
    

    Accessors

    • get bufferSize(): number

      Get buffer size of ScriptProcessorNode.

      Returns number

    • get destination(): AudioNode

      The destination output audio node

      Returns AudioNode

    • get filters(): PixiSound.Filter[]

      The collection of filters.

      Returns PixiSound.Filter[]

    • set filters(filters: PixiSound.Filter[]): void

      Parameters

      Returns void

    • get script(): ScriptProcessorNode

      Get the script processor node.

      Returns ScriptProcessorNode

    Methods

    • Clones the bufferSource. Used just before playing a sound.

      Returns SourceClone

      The clone AudioBufferSourceNode.

    • Cleans up.

      Returns void