Stereo Music Visualization using Manifold Harmonics  1.0
Namespaces | Functions | Variables
player.js File Reference

Namespaces

 player
 

Functions

function audio (callback)
 
function loadSound (url)
 
function onError (e)
 
function finishedLoading (bufferList, callback)
 
function getFrequencies (min, max, num_harmonics)
 
function play ()
 
function stop ()
 

Variables

var context
 
var analyzer
 
var processor
 
var source
 
var buffer
 
var bufferLoader
 
var freq = 512
 
var freq_data
 
var playing
 
var pausedAt
 
var paused
 
var startedAt
 
var trans_array
 

Function Documentation

function audio (   callback)

INIT FUNCTION

function loadSound (   url)

load the specified sound