Could someone show me how to skip silence during voice recording, please? I'm using Audio library 1.71 and I'm willing to switch to another library if necessary.
My app will record audio in the background continuously. If the audio sample is lower than the threshold for 5 seconds or longer, for example, 1 hour long, I want to trim the silence from the final output wave file.It depents on how you are saving/using the resulting stream....
What do you mean with "skip". Skipping during listening the playback? Or not saving the silent parts?
Sub streamer_RecordBuffer (Buffer() As Byte) If recording Then output.WriteBytes(Buffer, 0, Buffer.length) 'the above check is required as the last message will arrive after we call StopRecording. End Sub