Skip to content
Snippets Groups Projects
Commit baf7256f authored by Marina Kreme's avatar Marina Kreme
Browse files

delete

parent a899d5fa
No related branches found
No related tags found
No related merge requests found
Pipeline #5965 passed
function [win_type, win_dur,win_len, hop_ratio, nbins_ratio] = get_win_params(win_choice)
win_choice_split = split(win_choice);
win_type = win_choice_split{1};
win_len_str = win_choice_split{2};
win_len = str2double(win_len_str);
win_dur = win_len/ 8000;
switch win_type
case 'gauss'
hop_ratio = 1 / 4;
nbins_ratio = 4;
case 'hann'
hop_ratio = 1 / 8;
nbins_ratio = 2;
end
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment