Smoothen sound signal
1 次查看(过去 30 天)
显示 更早的评论
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)"
0 个评论
回答(1 个)
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
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 Center 和 File 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!