我是靠谱客的博主 义气路灯,这篇文章主要介绍麦克风阵列matlab,双通道麦克风阵列方向采集MATLAB代码实现,现在分享给大家,希望可以做个参考。

总共有四个函数分别如下,导入采集到的音频文件,设置好代码读取路径就可以实现了。

第一个函数:采集系统

% In this program, the signals are divided in pieces of lengData samples

% and process separately. This program calls two functions:

% f_adap

% get_angle

% At the end it returns the direction in degrees.

% CONSTANT VALUES

i=0;

fs=44100; % Sampling frequency (Hz)

d_micro=0.1; % Distance between microphones (m)

c=340; % Speed of sound (m/s)

muestrasMAX=ceil(d_microfs/c); % Maximum number of samples Nmax

DESP=ceil(muestrasMAX1.5); % Delay we insert in the micro 2

% We leave 50% of margin of error.

lengData=441000.5; % Number of samples in which the voice

% signals are divided to be processed.

% All values depend on fs and d_micro in

% case it was necessary to change them.

% Importing the

最后

以上就是义气路灯最近收集整理的关于麦克风阵列matlab,双通道麦克风阵列方向采集MATLAB代码实现的全部内容,更多相关麦克风阵列matlab内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(119)

评论列表共有 0 条评论

立即
投稿
返回
顶部