Added additionally input format

parent 187ac806
function [bformat] = ita_hoa_a2bFormat(FLU, FRD, BLD, BRU)
function [bformat] = ita_hoa_a2bFormat(varargin)
%ITA_HOA_A2BFORMAT Converts an A-Format recording to B-Format
%FLU,FRD,BLD,BRU
% Detailed explanation goes here
% Back Right Up (BRU);
% Front Left Up (FLU);
% Front Right Down (FRD);
% Back Left Down (BLD);
if nargin == 4
FLU=varargin{1};
FRD=varargin{2};
BLD=varargin{3};
BRU=varargin{4};
elseif nargin == 1
FLU=varargin{1}.ch(1);
FRD=varargin{1}.ch(2);
BLD=varargin{1}.ch(3);
BRU=varargin{1}.ch(4);
else
error('Need 4 channel input or 4 inputs');
end
type=1; % type 2 is for DPA-4 Mics
switch type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment