Detect silence while capturing audio from kinect RRS feed

  • Question

  • Hello,

    I am using winmm.dll to record audio from kinect using below method :


     [DllImport("winmm.dll", EntryPoint = "mciSendStringA", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)]
            private static extern int record(string lpstrCommand, string lpstrReturnString, int uReturnLength, int hwndCallback);

    For now I am using Stop button click to stops the recording but I want to stop Recording while detecting silence for sometimes.Because I want to remove "StopRecording" button and Stops the recording if user don't speaks for 10 seconds.

    Thank you.

    Friday, March 3, 2017 4:57 AM