user76284
user76284

Reputation: 1328

Analysing audio x seconds into the future using the Web Audio API

I am using an AnalyserNode to analyse audio provided by a MediaElementAudioSourceNode. Is there a way to sample and analyse the audio that will play x seconds into the future?

Upvotes: 2

Views: 106

Answers (1)

cwilso
cwilso

Reputation: 13908

No. Unless you want to just slap a delay on the audio output, so you will hear the audio at the right time synced with your "future analysis". But the media player controls, for example, will have that x-second lag.

Upvotes: 4

Related Questions