Class WebAudio.NodeChainBuilder

builder to generate nodes chains. Used in WebAudio.Sound

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructor

Method Summary

Class Detail

WebAudio.NodeChainBuilder(audioContext)
Constructor
Parameters:
{webkitAudioContext} audioContext
the audio context

Method Detail

  • analyser(properties)
    add a analyser
    Parameters:
    {Object} properties Optional
    properties to set in the created node
  • bufferSource(properties)
    add a bufferSource
    Parameters:
    {Object} properties Optional
    properties to set in the created node
  • {AudioBufferSourceNode} cloneBufferSource()
    Clone the bufferSource. Used just before playing a sound
    Returns:
    {AudioBufferSourceNode} the clone AudioBufferSourceNode
  • destroy()
    destructor
  • first()
    Returns:
    the first node of the chain
  • gainNode(properties)
    add a gainNode
    Parameters:
    {Object} properties Optional
    properties to set in the created node
  • last()
    Returns:
    the last node of the chain
  • nodes()
    getter for the nodes
  • panner(properties)
    add a panner
    Parameters:
    {Object} properties Optional
    properties to set in the created node