// instructions page 1 var page1 = [ '
Your main task is to respond to white arrows (with a black border) that appear on the screen.
'+ 'Press the LEFT ARROW KEY with the right index finger when you see a LEFT ARROW and press the RIGHT ARROW KEY with the right ring finger when you see a RIGHT ARROW.
'+ 'Thus, left arrow = left key and right arrow = right key.
'+ 'However, on some trials (stop-signal trials) the arrows will turn red after a variable delay. You have to stop your response when this happens.
'+ 'On approximately half of the stop-signal trials, the red stop signal will appear soon and you will notice that it will be easy to stop your response.
'+ 'On the other half of the trials, the red stop signals will appear late and it will become very difficult or even impossible to stop your response.
' ]; // instructions page 2 // Do not forget to adjust the number of blocks page2 = [ 'Nevertheless, it is really important that you do not wait for the stop signal to occur and that you respond as quickly and as accurately as possible to the white arrows.
'+ 'After all, if you start waiting for the red stop signals, then the program will delay their presentation. This will result in long reaction times.
'+ 'We will start with a short practice block in which you will receive immediate feedback. You will no longer receive immediate feedback in the experimental phase.
'+ 'However, at the end of each experimental block, there will be a 15 second break. During this break, we will show you some information about your mean performance in the previous block.
' + 'The experiment consists of 1 practice block and 4 experimental blocks
' ]; // informed consent text var informed_consent_text = [ 'Type your informed consent text in the text_variables.js file...
' ]; // trial by trial feedback messages correct_msg = 'correct response
' incorrect_msg = 'incorrect response
' too_slow_msg = 'too slow
' too_fast_msg = 'too fast
' correct_stop_msg = 'correct stop
' incorrect_stop_msg = 'remember: try to stop
' // block feedback no_signal_header = "GO TRIALS:
" avg_rt_msg = "Average response time = %d milliseconds
" prop_miss_msg = "Proportion missed go = %.2f (should be 0)
" stop_signal_header = "STOP-SIGNAL TRIALS:
" prop_corr_msg = "Proportion correct stops = %.2f (should be close to 0.5)
" + "You can take a short break, the next block starts in 15
" final_block_msg = "Press space to continue...
" // after the final block they don't need a break // other var label_previous_button = 'Previous'; var label_next_button = 'Next'; var label_consent_button = 'I agree'; var full_screen_message = 'The experiment will switch to fullscreen mode when you push the button below.
'; var welcome_message = ['Welcome to the experiment.
' + 'Press "Next" to begin.
']; var not_supported_message = ['This experiment requires the Chrome or Firefox webbrowser.
']; var subjID_instructions = "Enter your participant ID." var age_instructions = "Enter your age." var gender_instructions = "Choose your gender." var gender_options = ['Female','Male', 'Other', 'Prefer not to say'] var text_at_start_block = 'Press space to begin.
' var get_ready_message = 'Get ready...
' var fixation_text = 'Thank you for your participation.
" + "Press space to finalize the experiment.
"