This content has been marked as final. Show 3 replies
诸葛 wrote:One way is to calculate an RMS value for a sound sample.
..May i know how can i decide the silence part of my recorded audio?
Is it based on the amplitude of sound data?Yes.
If it is so, is it really compared the data one by one?No.
It seems like very troblesome....Especially if you hack around code without understanding the underlying DSP principles.
...as need to process many data since samplling frequency is high.So what? You're not going to start going on about how Matlab can do it in a single command again, are you?
诸葛 wrote:First define silence.
May i know how can i decide the silence part of my recorded audio?
Is it based on the amplitude of sound data?That is your decision.
If it is so, is it really compared the data one by one?That is your decision.
It seems like very troblesome.... as need to process many data since samplling frequency is high.Nothing you have posted indicates that you have a high sampling frequency and I don't really see how this is relevant unless you are once more trying to perform premature optimisation.
I haven't seen one thing you have posted that indicates that you have made any effort to understand what you are doing. You are worried about silence when you have not actually posted code that shows how to get sound samples in a form for suitable for signal processing. Unless you stop farting around trying to cobble together other peoples code without understanding anything of what you are doing either from a signal processing point of view or computing point of view you will never get this project completed. You are like one of the infinite number of monkeys typing on a typewriter - one day, by accident, you might possibly create what is needed but it would take all the infinite number of you to make this probable in a finite time.