sof/tools/tune/tdfb/bf_defaults.m

35 lines
931 B
Mathematica
Raw Normal View History

function bf = bf_defaults()
% Recording array general setup
bf.fs = 16e3; % Design for 16 kHz sample rate
bf.c = 343; % Speed of sound in 20C
bf.steer_az = 0; % Azimuth 0 deg
bf.steer_el = 0; % Elevation 0 deg
bf.steer_r = 2.0; % Distance 2.0m
bf.fir_length = 64; % 64 tap FIR filters
bf.fir_beta = 10; % Beta for kaiser window method FIR design
bf.mu_db = -50; % dB of diagonal loading to noise covariance matrix
bf.do_plots = 1;
bf.plot_box = 0.3;
bf.array_id = '';
bf.array_angle = [0 0 0]; % Array rotation angles for xyz
bf.tplg_fn = 'bf.m4';
bf.sofctl_fn = 'bf.txt';
bf.endian = 'little';
bf.fn = 1;
bf.sinerot_a = 10^(-20/20);
bf.sinerot_f = 2e3;
bf.sinerot_t = 1.0;
bf.sinerot_az_step = 5;
bf.sinerot_az_start = -180;
bf.sinerot_az_stop = 180;
bf.sinerot_fn = '';
bf.diffuse_fn = '';
bf.diffuse_t = 1;
bf.diffuse_lev = -20;
bf.random_fn = '';
bf.random_t = 1;
bf.random_lev = -20;
end