-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobals.js
42 lines (27 loc) · 1.15 KB
/
globals.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// ACCESS_KEY needs to be used for server setup (data store)
const ACCESS_KEY = '00000000-0000-0000-0000-000000000000';
// Needs to be updated to the url of the fourth experiment
const REDIRECTION_URL = 'http://nos.nl';
// Default behavior of (sub) trial phases. times are in ms.
const FEEDBACK_DURATION = 1000;
// Default restrictions of minimal browser dimensions
const MIN_WIDTH = 800;
const MIN_HEIGHT = 600;
// Bail out string for mobiles
const BAIL_OUT_MOBILE_TEXT = "Please run this experiment on a PC or Laptop.";
// Test stimulus name for the test audio.
const AUDIO_TEST_STIMULUS = "./sounds/sound_test.mp3";
// message while loading sounds
const PRELOAD_MSG = "Loading the experiment, please be patient.";
// The duration the last stimulus/debriefing is visible
const DEBRIEF_MESSAGE_DURATION = 30000;
const DEFAULT_ITI = 1000;
const ITI_DURATION = 750;
const MAX_NUM_ERRORS = 2; // Consecutive errors.
const START_BUTTON_TEXT = "START";
const MEM1 = "MEM1";
const MEM2 = "MEM2";
const YES_RESPONSE = "Ja";
const NO_RESPONSE = "Nee";
const TRAINING_CHOICES = ["Bloemen", "Dieren", "Gereedschap"];
const TEST_CHOICES = [YES_RESPONSE, NO_RESPONSE];