Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Generated by OpenSesame 0.27.2~pre1 (Frisky Freud)
- # Sun Mar 17 15:24:23 2013 (posix)
- # <http://www.cogsci.nl/opensesame>
- set foreground "white"
- set subject_parity "even"
- set description "Default description"
- set title "New experiment"
- set compensation "0"
- set coordinates "relative"
- set height "768"
- set mouse_backend "xpyriment"
- set width "1024"
- set sampler_backend "legacy"
- set keyboard_backend "legacy"
- set background "black"
- set subject_nr "0"
- set canvas_backend "xpyriment"
- set start "experiment"
- set synth_backend "legacy"
- define feedback feedback
- set duration "4000"
- set reset_variables "yes"
- set description "Provides feedback to the participant"
- draw textline 0 160 "Your second response was: [response_second_key]" center=1 color=blue font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always"
- draw textline 0 224 "The correctness of your second response was: [correct_second_key]" center=1 color=blue font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always"
- draw textline 0 288 "The response time of your second response was: [response_time_second_key]" center=1 color=blue font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always"
- draw textline 0 -160 "Your first response was [response_first_key]:" center=1 color=orange font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always"
- draw textline 0 -96 "The correctness of your first response was: [correct_first_key]" center=1 color=orange font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always"
- draw textline 0 -32 "The response time of your first response was: [response_time_first_key]" center=1 color=orange font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always"
- define sequence sequence
- run first_stimulus "always"
- run first_key "always"
- run second_stimulus "always"
- run second_key "always"
- run feedback "always"
- run logger "always"
- define sketchpad first_stimulus
- set duration "0"
- set description "Displays stimuli"
- draw textline 0 -160 "Press [correct1]" center=1 color=white font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always"
- define sketchpad second_stimulus
- set duration "0"
- set description "Displays stimuli"
- draw textline 0 -192 "Press [correct2]" center=1 color=white font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always"
- define sequence experiment
- run loop "always"
- define keyboard_response first_key
- set correct_response "[correct1]"
- set description "Collects keyboard responses"
- set timeout "infinite"
- set flush "yes"
- define logger logger
- set description "Logs experimental data"
- define keyboard_response second_key
- set correct_response "[correct2]"
- set description "Collects keyboard responses"
- set timeout "infinite"
- set flush "yes"
- define loop loop
- set repeat "0.1"
- set description "Repeatedly runs another item"
- set skip "0"
- set offset "no"
- set item "sequence"
- set column_order "correct1;correct2"
- set cycles "10"
- set order "random"
- setcycle 0 correct2 "2"
- setcycle 0 correct1 "1"
- setcycle 1 correct2 "2"
- setcycle 1 correct1 "1"
- setcycle 2 correct2 "2"
- setcycle 2 correct1 "1"
- setcycle 3 correct2 "2"
- setcycle 3 correct1 "1"
- setcycle 4 correct2 "2"
- setcycle 4 correct1 "1"
- setcycle 5 correct2 "2"
- setcycle 5 correct1 "1"
- setcycle 6 correct2 "2"
- setcycle 6 correct1 "1"
- setcycle 7 correct2 "2"
- setcycle 7 correct1 "1"
- setcycle 8 correct2 "2"
- setcycle 8 correct1 "1"
- setcycle 9 correct2 "2"
- setcycle 9 correct1 "1"
- run sequence
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement