|
9 | 9 | % setParamters.m file is |
10 | 10 | % change that if you want the data to be saved somewhere else |
11 | 11 | cfg.dir.output = fullfile( ... |
12 | | - fileparts(mfilename('fullpath')), 'output'); |
| 12 | + fileparts(mfilename('fullpath')), 'output'); |
13 | 13 |
|
14 | 14 | %% Debug mode settings |
15 | 15 |
|
|
18 | 18 | cfg.debug.transpWin = false; % To test with trasparent full size screen |
19 | 19 |
|
20 | 20 | cfg.verbose = 1; |
| 21 | + cfg.skipSyncTests = 0; |
| 22 | + |
| 23 | + cfg.audio.devIdx = 3; % 5 %11 |
21 | 24 |
|
22 | 25 | %% Engine parameters |
23 | 26 |
|
24 | 27 | cfg.testingDevice = 'mri'; |
25 | | - cfg.eyeTracker.do = false; |
| 28 | + cfg.eyeTracker.do = true; |
26 | 29 | cfg.audio.do = true; |
27 | 30 |
|
28 | 31 | cfg = setMonitor(cfg); |
|
31 | 34 | cfg = setKeyboards(cfg); |
32 | 35 |
|
33 | 36 | % MRI settings |
| 37 | + |
34 | 38 | cfg = setMRI(cfg); |
| 39 | + cfg.suffix.acquisition = '0p75mmEv'; |
35 | 40 |
|
36 | 41 | cfg.pacedByTriggers.do = false; |
37 | 42 |
|
|
43 | 48 | cfg.design.names = {'static'; 'motion'}; |
44 | 49 | % 0: L--R--L; 180: R--L--R; |
45 | 50 | cfg.design.motionDirections = [0 180]; |
46 | | - cfg.design.nbRepetitions = 14; |
| 51 | + cfg.design.nbRepetitions = 21; |
47 | 52 | cfg.design.nbEventsPerBlock = 6; |
48 | 53 |
|
49 | 54 | %% Timing |
|
94 | 99 |
|
95 | 100 | % Instruction |
96 | 101 | cfg.task.instruction = ['1 - Detect the RED fixation cross\n' ... |
97 | | - '2 - Detected the shorter repeated sounds']; |
| 102 | + '2 - Detected the shorter repeated sounds']; |
98 | 103 |
|
99 | 104 | % Fixation cross (in pixels) |
100 | 105 | cfg.fixation.type = 'cross'; |
|
135 | 140 | function cfg = setKeyboards(cfg) |
136 | 141 | cfg.keyboard.escapeKey = 'ESCAPE'; |
137 | 142 | cfg.keyboard.responseKey = { ... |
138 | | - 'r', 'g', 'y', 'b', ... |
139 | | - 'd', 'n', 'z', 'e', ... |
140 | | - 't'}; % dnze rgyb |
| 143 | + 'r', 'g', 'y', 'b', ... |
| 144 | + 'd', 'n', 'z', 'e', ... |
| 145 | + 't'}; % dnze rgyb |
141 | 146 | cfg.keyboard.keyboard = []; |
142 | 147 | cfg.keyboard.responseBox = []; |
143 | 148 |
|
|
155 | 160 | cfg.mri.repetitionTime = 1.8; |
156 | 161 |
|
157 | 162 | cfg.bids.MRI.Instructions = ['1 - Detect the RED fixation cross\n' ... |
158 | | - '2 - Detected the shorter repeated sounds']; |
| 163 | + '2 - Detected the shorter repeated sounds']; |
159 | 164 | cfg.bids.MRI.TaskDescription = []; |
160 | 165 |
|
161 | 166 | end |
0 commit comments