2020-05-12 00:27:27 +08:00
|
|
|
function bf = bf_defaults()
|
|
|
|
|
|
|
|
% Recording array general setup
|
2021-08-02 15:09:52 +08:00
|
|
|
bf.taylorwin_sidelobe = -30;
|
|
|
|
bf.chebwin_sidelobe = 30;
|
|
|
|
bf.taylorwin_nbar = 4;
|
|
|
|
bf.type_filt = 'hann'; % filter
|
2021-01-30 01:31:54 +08:00
|
|
|
bf.type = 'SDB'; % SDB for superdirectivem, DSB for delay and sum
|
2020-05-12 00:27:27 +08:00
|
|
|
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
|
2020-10-27 00:41:47 +08:00
|
|
|
bf.steer_r = 5.0; % Distance 5.0m
|
2020-05-12 00:27:27 +08:00
|
|
|
bf.fir_length = 64; % 64 tap FIR filters
|
2021-08-02 15:09:52 +08:00
|
|
|
bf.kaiser_beta = 10; % Beta for kaiser window method FIR design
|
2021-11-18 23:55:14 +08:00
|
|
|
bf.mu_db = -40; % dB of diagonal loading to noise covariance matrix
|
2020-05-12 00:27:27 +08:00
|
|
|
bf.do_plots = 1;
|
2020-10-27 00:41:47 +08:00
|
|
|
bf.plot_box = 0.20; % Show 20cm wide plot cube for array geometry
|
2020-05-12 00:27:27 +08:00
|
|
|
bf.array_angle = [0 0 0]; % Array rotation angles for xyz
|
2020-10-27 00:41:47 +08:00
|
|
|
bf.tplg_fn = '';
|
|
|
|
bf.sofctl_fn = '';
|
2023-10-02 15:55:48 +08:00
|
|
|
bf.tplg1_path = '../../topology/topology1/m4/tdfb';
|
|
|
|
bf.tplg2_path = '../../topology/topology2/include/components/tdfb';
|
|
|
|
bf.sofctl3_path = '../../ctl/ipc3/tdfb';
|
|
|
|
bf.sofctl4_path = '../../ctl/ipc4/tdfb';
|
2020-10-27 00:41:47 +08:00
|
|
|
bf.data_path = './data';
|
2020-05-12 00:27:27 +08:00
|
|
|
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.diffuse_t = 1;
|
|
|
|
bf.diffuse_lev = -20;
|
|
|
|
bf.random_t = 1;
|
|
|
|
bf.random_lev = -20;
|
2020-10-27 00:41:47 +08:00
|
|
|
bf.num_output_channels = 1;
|
|
|
|
bf.num_output_streams = 1;
|
|
|
|
bf.input_channel_select = [];
|
2020-12-11 01:59:42 +08:00
|
|
|
bf.output_channel_mix_beam_off = [];
|
2020-10-27 00:41:47 +08:00
|
|
|
bf.output_channel_mix = [];
|
|
|
|
bf.output_stream_mix = [];
|
|
|
|
bf.num_filters = [];
|
2020-12-11 01:59:42 +08:00
|
|
|
bf.angle_enum_mult = 30;
|
|
|
|
bf.angle_enum_offs = 0;
|
|
|
|
bf.track_doa = 0;
|
|
|
|
bf.beam_off_defined = 1;
|
2021-11-18 23:55:14 +08:00
|
|
|
bf.array = '';
|
2020-12-11 01:59:42 +08:00
|
|
|
bf.mic_x = [];
|
|
|
|
bf.mic_y = [];
|
|
|
|
bf.mic_z = [];
|
|
|
|
bf.mic_n = 0;
|
2020-12-11 02:10:00 +08:00
|
|
|
bf.array_id = {''};
|
2021-11-18 23:55:14 +08:00
|
|
|
bf.noiserot_fn = {''};
|
2020-12-11 02:10:00 +08:00
|
|
|
bf.sinerot_fn = {''};
|
|
|
|
bf.diffuse_fn = {''};
|
|
|
|
bf.random_fn = {''};
|
|
|
|
bf.mat_fn = {''};
|
2023-10-02 15:55:48 +08:00
|
|
|
bf.export_note = '';
|
2023-10-23 19:16:32 +08:00
|
|
|
bf.export_howto = '';
|
2020-05-12 00:27:27 +08:00
|
|
|
end
|