Hi, I'm hoping you can help me with a program I'm trying to write in VB.NET.
I have a standard WMA stream, streaming in constantly via the internet. I need to write an application to stream this audio, and looks for any periods of 'silence'. When it detects silence, it runs an event.
For the purposes of this, silence is defined as three seconds of zero-level audio. The stream keeps going in a technical sense, but there is no audible noise coming through it.
However, I want the program to detect the silence while it is still in the 'buffer'. That is, the user won't hear this silence before the program detects it is there.
The audio shouldn't stop as it is analysing this silence - it needs to keep playing the audio constantly to the user.
I'm open to using whatever suitable API is out there - such as BASS, or the Windows Media extensions built into the dot net platform.
Thanks!!