Tuesday, 15 July 2014

javascript - AudioBufferSourceNode frequency data at specific time -



javascript - AudioBufferSourceNode frequency data at specific time -

i'm trying develop application retrieve frequency info of sound file (loaded in through xhr) @ specific time. can start playback on audiobuffersourcenode @ specific time, immediate playback, , duration of 0 (e.g., sourcenode.start(0,time_in_seconds,0)), contents of audiobuffer inconsistent, , apparently tied time in seek , populate it. have add together callback method sourcenode.onended create sure info @ all.

i using analysernode.getbytefrequencydata(buffer) populate array.

how can retrieve frequency info sound file @ specific time, consistently?

javascript html5-audio web-audio

No comments:

Post a Comment