I need a DirectShow filter which detect silence in audio.
1. It should be written with Visual Studio 6.
2. It accepts PCM as input. It should support all sample rate, channel count, and bits-per-sample.
3. It should be a TransInPlace filter.
4. It should have interface and property page for some customized settings: Silence duration (default to 1 second).
5. As the graph runs and the audio data pass through, it will detect silence which is longer than the specified silence duration.
6. It must take background noise into account. For example, if there is some low volume background noise only, it should still consider it silent.
7. It should store the silent gaps as a list, and should provide an interface to retrieve this list. For example
STDMETHOD(GetSilenceGapCount) (THIS_ void);
STDMETHOD(GetSlienceGap)(THIS_ const int inIndex, double outPosition, doulbe * outGapDuration); /* both in seconds */
8. It should have a property page which shows the above information from #7.
the "outGapDuration" should return the duration of the silence.
## Deliverables
* * *1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Windows 98SE, ME, 2000, XP, Vista
DirectX 8 and above