Comparing Audio Impulse Responses

1 ビュー (過去 30 日間)
Shan Shaffi
Shan Shaffi 2021 年 8 月 11 日
回答済み: Yazan 2021 年 8 月 11 日
This is not specifically a matlab question. However, I would ask the question here anyway.
I generate impulse responses in shoebox room using a toolbox based on the image method. With every parameter same except for the reflection order, I want to compare how similar the impulse responses are.
As the impulse responses are a vector, can cosine similarity be used? Is there any other method to check how similar impulse responses are?

回答 (1 件)

Yazan 2021 年 8 月 11 日
More generally, I believe you're looking for a quantitative measure of similarity between functions. This is a large domain of research. The best measure will always depend on the problem and signals at hand, so there is no simple answer. I can recommend the following:
  • Take a look at this survey paper: Comprehensive Survey on Distance/Similarity Measures between Probability Density Functions
  • I once was working on quantifying the similarity between spiky signals (i.e., signals with fast decay), the normalized mutual information was the best measure for me.
  • Experiment with several measures, until you find the one satisfactory for your application.


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!

Translated by