4
Shouts

Alvas.Net Blog: How to determine the silence?

posted by alvasalvas 863 days, 12 hours, 55 minutes ago
Monday, January 04, 2010 1:49:32 PM GMT

Question: I have to connect to a SHOUTcast stream, take 5 seconds of the sound then detect if there is silence (no sound above -14db). Would you be so kind to provide us with some sample?

Answer: See the code below

using System; using System.Windows.Forms; using System.Net; using System.IO; using Alvas.Audio;   namespace RadioCs {     publicpartialclassfrmMain : Form     {         public frmMain()         {             InitializeComponent();             t.Interval = 15 * 60 * 1000; ...

category: Foundation | clicked: 0 | | source: alvasnet.blogspot.com | show counter code
tags: Audio&Multimedia

No comments yet, be the first one to post comment.

To post your comment please login or signup