Smoothen sound signal

1 次查看(过去 30 天)
Sonia Wiemann
Sonia Wiemann 2012-4-17
How can I smoothen a sound signal (A) with a 3 msec window? Time points were assigned using the code "plot((0:length(data)-1)/44.1, data)"

回答(1 个)

Image Analyst
Image Analyst 2012-4-17
I'm no audio expert but maybe you can use conv() or filter(). You just have to figure out how many elements long 3 ms is.
  1 个评论
Geoff
Geoff 2012-4-17
Number of samples in 3 milliseconds is:
n = round(sampleRate * 0.003);
Here it looks like the sample rate is 44100, so that will be approximately 132 samples.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by