heliosdesign / helios-audio-mixer

Web Audio API mixer library
https://heliosdesign.github.io/helios-audio-mixer/demo
MIT License
60 stars 11 forks source link

audio analysis node #6

Closed iainmcampbell closed 9 years ago

iainmcampbell commented 9 years ago

Analysis node usage:

var track = Mixer.createTrack('analysisTrack',{
  source: 'file',
  nodes: 'analyse'
})

var analysisData

track.on('analyse', function(_analysisData){
    analysisData = _analysisData
    console.log(analysisData)
})

also see demo_analysis (you’ll need your own audio track)