I want to use the Analyser in the audio of a video texture, so I tried to use the project, at the link below, that has an audio, with an Analyser, and a video playing simultaneously, in which I disabled the Analyser on the audio script and copy it code to the video script but without success.
Someone can help?
I don’t know much about the Audio API, I can only really help with the runtime code errors.
This is still an issue. You’ve created an analyser in the initialise function but its assigned to a local variable and not a property to the script instance.
var analyser = context.createAnalyser();
After fixing this and adding an ‘bar’ entity as a child of the TV, it looks fine now ?