Skip to content

Commit

Permalink
Added string compatability dtTonalAnnotate
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaZingale committed Nov 2, 2023
1 parent 2611c6e commit f08d57d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/matlab/user_interface/dtTonalAnnotate.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@
% 'Energy' - SNR threshold is measured in dB (default 10).
% 'DeepWhistle' - Confidence threshold [0, 1] (default .5).


% Convert any and all string arguments to character arguments to allow
% the user to call with strings
for i = 1:length(varargin)
if isstring(varargin{i})
varargin{i} = char(varargin{i});
end
end

% Note:
% This function requires dtTonalAnnotate.fig to be present and uses
Expand Down

0 comments on commit f08d57d

Please sign in to comment.