diff --git a/audioLocTranslational.m b/audioLocTranslational.m index 98832b0..9083e4e 100644 --- a/audioLocTranslational.m +++ b/audioLocTranslational.m @@ -152,7 +152,7 @@ eyeTracker('Shutdown', cfg); - createBoldJson(cfg, cfg); + createJson(cfg, cfg); farewellScreen(cfg); diff --git a/lib/CPP_BIDS b/lib/CPP_BIDS index c6659f7..962c947 160000 --- a/lib/CPP_BIDS +++ b/lib/CPP_BIDS @@ -1 +1 @@ -Subproject commit c6659f74e995ab870336bc266fe849c554a9f044 +Subproject commit 962c947fe38094da9561eeba5daa44993505f2c0 diff --git a/lib/CPP_PTB b/lib/CPP_PTB index 179cc21..cf1d8d2 160000 --- a/lib/CPP_PTB +++ b/lib/CPP_PTB @@ -1 +1 @@ -Subproject commit 179cc21c759f382891c2611e41a6d38e4c876bab +Subproject commit cf1d8d2740cfe668f994ed0ad9664bb905ca9c2e diff --git a/setParameters.m b/setParameters.m index a4ea550..74595f1 100644 --- a/setParameters.m +++ b/setParameters.m @@ -1,5 +1,7 @@ function cfg = setParameters + % AUDITORY LOCALIZER + % Initialize the parameters and general configuration variables cfg = struct(); @@ -12,7 +14,7 @@ %% Debug mode settings - cfg.debug.do = true; % To test the script out of the scanner, skip PTB sync + cfg.debug.do = false; % To test the script out of the scanner, skip PTB sync cfg.debug.smallWin = false; % To test on a part of the screen, change to 1 cfg.debug.transpWin = false; % To test with trasparent full size screen @@ -21,7 +23,7 @@ %% Engine parameters cfg.testingDevice = 'mri'; - cfg.eyeTracker.do = false; + cfg.eyeTracker.do = true; cfg.audio.do = true; cfg = setMonitor(cfg); @@ -56,7 +58,7 @@ cfg.timing.eventDuration = 0.850; % second % Time between blocs in secs - cfg.timing.IBI = 1.8; + cfg.timing.IBI = 0; % Time between events in secs cfg.timing.ISI = 0; % Number of seconds before the motion stimuli are presented @@ -73,7 +75,7 @@ cfg.timing.eventDuration = cfg.mri.repetitionTime / 2 - 0.04; % second % Time between blocs in secs - cfg.timing.IBI = 1; + cfg.timing.IBI = 0; % Time between events in secs cfg.timing.ISI = 0; % Number of seconds before the motion stimuli are presented @@ -148,7 +150,7 @@ function cfg = setMRI(cfg) % letter sent by the trigger to sync stimulation and volume acquisition cfg.mri.triggerKey = 't'; - cfg.mri.triggerNb = 0; + cfg.mri.triggerNb = 5; cfg.mri.repetitionTime = 1.8;