I want to take the correlation of two of the audio file

6 ビュー (過去 30 日間)
Masatoshi Seki
Masatoshi Seki 2015 年 1 月 29 日
回答済み: Raghava S N 2024 年 11 月 20 日 4:12
I want to take the similarity of two audio files of waveform by the cross-correlation

回答 (1 件)

Raghava S N
Raghava S N 2024 年 11 月 20 日 4:12
Hi,
Cross-correlation of 2 audio files can be achieved by using the audioread” and xcorr” functions. The two audio files can be read into MATLAB using the “audioread” function. For more information, refer to this link - https://www.mathworks.com/help/matlab/ref/audioread.html.
After this, the cross-correlation of the acquired audio data can be obtained using the “xcorr” function - https://www.mathworks.com/help/matlab/ref/xcorr.html.
For more information and a detailed example with code, refer to this MATLAB Answers post - https://www.mathworks.com/matlabcentral/answers/691995-how-to-cross-correlate-two-audio-files.
Hope this helps!

カテゴリ

Help Center および File ExchangeAudio I/O and Waveform Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by