Skip to content

Commit 0a86b29

Browse files
committed
comment some code task related
1 parent b1703f8 commit 0a86b29

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

subfun/doAudMot.m

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424

2525
soundData = expParameters.soundData;
2626

27-
28-
29-
if isTarget == 0
27+
% if isTarget == 0
3028

3129
if direction == -1
3230
sound = soundData.S;
@@ -40,21 +38,21 @@
4038
sound = soundData.L;
4139
end
4240

43-
elseif isTarget == 1
44-
45-
if direction == -1
46-
sound = soundData.S_T;
47-
elseif direction == 90
48-
sound = soundData.U_T;
49-
elseif direction == 270
50-
sound = soundData.D_T;
51-
elseif direction == 0
52-
sound = soundData.R_T;
53-
elseif direction == 180
54-
sound = soundData.L_T;
55-
end
56-
57-
end
41+
% elseif isTarget == 1
42+
%
43+
% if direction == -1
44+
% sound = soundData.S_T;
45+
% elseif direction == 90
46+
% sound = soundData.U_T;
47+
% elseif direction == 270
48+
% sound = soundData.D_T;
49+
% elseif direction == 0
50+
% sound = soundData.R_T;
51+
% elseif direction == 180
52+
% sound = soundData.L_T;
53+
% end
54+
%
55+
% end
5856

5957
% Start the sound presentation
6058
PsychPortAudio('FillBuffer',phandle,sound);

0 commit comments

Comments
 (0)