Reputation: 6707
Audio.AnalyserFreqBinCount("audio", 0)
My game is analyzing the audio levels so that music can affect the game behaviour.
How can I play audio a bit delayed, after it has been analyzed, now the analyzing occurs exactly same time when music is played.
Upvotes: 0
Views: 87
Reputation:
Assuming you can access the Web Audio API via the framework, you could use the createDelay()
to create a delay node. The delay is given in seconds.
Then simply:
Upvotes: 1