Skip to content

Commit

Permalink
(apparently) functioning MLST (Audio). Now onto the MLST (AV)!!
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswbishop committed Aug 21, 2014
1 parent 4255072 commit 3dfe156
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
Binary file modified HINT_GUI.fig
Binary file not shown.
2 changes: 1 addition & 1 deletion HINT_GUI.m
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function HINT_GUI_OpeningFcn(hObject, eventdata, handles, varargin)
% Misc defaults
global max_words; % the maximum number of scorable words
global max_options; % the maximum number of options for each word.
max_words=8;
max_words=10;
max_options=2;

% Error check for p.words. GUI is designed to support 6 words, so throw an
Expand Down
7 changes: 5 additions & 2 deletions SIN_TestSetup.m
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
opts.player = varargin2struct( ...
opts.player, ...
'adaptive_mode', 'bytrial', ... % 'bytrial' means modchecks performed after each trial.
'record_mic', true, ... % record playback and vocal responses via recording device.
'record_mic', false, ... % record playback and vocal responses via recording device.
'randomize', false, ... % randomize trial order before playback
'append_files', false, ... % append files before playback (makes one long trial)
'window_fhandle', @hann, ... % windowing function handle (see 'window.m' for more options)
Expand Down Expand Up @@ -433,6 +433,9 @@
% For plotting purposes, track the first channel
opts.player.modcheck.data_channels = 1;

% Use keyword scoring only
% Keywords are denoted as capital letters.
opts.player.modcheck.scored_items = 'keywords';
case 'MLST (AV)'

% Configured to adminster the audiovisual (AV) MLST.
Expand Down Expand Up @@ -551,7 +554,7 @@
opts.player = varargin2struct( ...
opts.player, ...
'adaptive_mode', 'continuous', ... % 'continuous' adaptive playback
'record_mic', true, ... % record playback and vocal responses via recording device.
'record_mic', false, ... % record playback and vocal responses via recording device.
'randomize', false, ... % randomize trial order before playback
'append_files', true, ... % append files before playback (makes one long trial)
'window_fhandle', @hann, ... % windowing function handle (see 'window.m' for more options)
Expand Down
8 changes: 8 additions & 0 deletions createMLSTlookup.m
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@
% for scoring purposes.
sentence = lower(r{ind, 6});

% Clean up the sentence.
% Periods and other punctuation cause problems, so remove these
% items.
%
sentence = strrep(sentence, '.', '');

% Make SentenceLegend (SentLeg)
for k=1:numel(keywords)

Expand All @@ -126,6 +132,8 @@

end % for k=1:numel(keywords)



% Put all the information together into a format that's easy to
% write to file

Expand Down
2 changes: 1 addition & 1 deletion modcheck_HINT_GUI.m
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
for n=1:length(w)

% First, remove potential markups, like brackets ([]) and '/'
tw=strrep(w{d}, '[', '');
tw=strrep(w{n}, '[', '');
tw=strrep(tw, ']', '');
tw=strrep(tw, '/', '');

Expand Down

0 comments on commit 3dfe156

Please sign in to comment.