Namaskaram, I am a software developer. I am trying to build software that mutes the audio or shows a video of wisdom as soon as the advertisement starts during a sport live stream. The live stream generally has commentary or the voice of the crowd and another voice based on the sport being broadcasted and the audio of the advertisement is different. So, I wish to know If there is any property of audio that would help me detect whether the advertisement has started or not. Like noise reduction or something else that you might be aware of based on your experience and knowledge. Is there anything on this link that should be helpful to me? Pranam, Kartik Watwani
As the link said : The AudioContext interface represents an audio-processing graph built from audio modules linked together, each represented by an AudioNode. then, it is a needed API used to access the Audio library from a Web client application, but it won’t give you information about what is inside an audio stream. As a graph based API, you can stack/merge multiple effect, sources… but not get an information which is not published.
You seem to ask for something like RDS (Radio Data System) to give you metadata, but the main metadata we can get from a podcast seems to be global to the whole stream (not « from xx:xx to xx:xx », ads…)