Clear Filters
Clear Filters

Smoothen sound signal

1 view (last 30 days)
Sonia Wiemann
Sonia Wiemann on 17 Apr 2012
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)"

Answers (1)

Image Analyst
Image Analyst on 17 Apr 2012
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 Comment
Geoff
Geoff on 17 Apr 2012
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.

Sign in to comment.

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!