Azzera filtri
Azzera filtri

Smoothen sound signal

1 visualizzazione (ultimi 30 giorni)
Sonia Wiemann
Sonia Wiemann il 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)"

Risposte (1)

Image Analyst
Image Analyst il 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 Commento
Geoff
Geoff il 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.

Accedi per commentare.

Categorie

Scopri di più su Audio I/O and Waveform Generation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by