how to write a function to find the average between 3 wav files?

1 次查看(过去 30 天)
i have 3 wav files with different frequency and pitch. i am having difficulty is finding the average between them.
  3 个评论
Jan
Jan 2018-11-20
What is "the average between wav files"? You can have 2 almost identical WAV files containing a pure sine wave, but with a phase shift of pi. Then the "average" might be the cancelled signal and silence, or the same sine wave with a fixed phase. So maybe you want to perform a FFT at first to find the average frequency, or the average amplitude, maybe the average power. Please explain this in detail.
Image Analyst
Image Analyst 2018-11-20
Another option would be to not resize but just pad the shorter ones with zeros so that they are the same length as the longest one. Then add and divide by the count at each element.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Signal Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by