Class tQuery.WebAudio

Handle webkit audio API

Class Summary
Constructor Attributes Constructor Name and Description
 
Main class to handle webkit audio TODO make the clip detector from http://www.html5rocks.com/en/tutorials/webaudio/games/

Method Summary

Class Detail

tQuery.WebAudio(world)
Main class to handle webkit audio TODO make the clip detector from http://www.html5rocks.com/en/tutorials/webaudio/games/
Parameters:
{tQuery.World} world Optional
the world on which to run

Field Detail

<static> {Boolean} tQuery.WebAudio.isAvailable

Method Detail

  • {AudioContext} context()
    get the audio context
    Returns:
    {AudioContext} the audio context
  • volume(value)
    getter/setter on the volume
    Parameters:
    value
  • world(value)
    getter/setter on the volume
    Parameters:
    value