Advertisement
Guest User

Untitled

a guest
Mar 17th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. # Generated by OpenSesame 0.27.2~pre1 (Frisky Freud)
  2. # Sun Mar 17 15:24:23 2013 (posix)
  3. # <http://www.cogsci.nl/opensesame>
  4.  
  5. set foreground "white"
  6. set subject_parity "even"
  7. set description "Default description"
  8. set title "New experiment"
  9. set compensation "0"
  10. set coordinates "relative"
  11. set height "768"
  12. set mouse_backend "xpyriment"
  13. set width "1024"
  14. set sampler_backend "legacy"
  15. set keyboard_backend "legacy"
  16. set background "black"
  17. set subject_nr "0"
  18. set canvas_backend "xpyriment"
  19. set start "experiment"
  20. set synth_backend "legacy"
  21.  
  22. define feedback feedback
  23. set duration "4000"
  24. set reset_variables "yes"
  25. set description "Provides feedback to the participant"
  26. 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"
  27. 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"
  28. 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"
  29. 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"
  30. 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"
  31. 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"
  32.  
  33. define sequence sequence
  34. run first_stimulus "always"
  35. run first_key "always"
  36. run second_stimulus "always"
  37. run second_key "always"
  38. run feedback "always"
  39. run logger "always"
  40.  
  41. define sketchpad first_stimulus
  42. set duration "0"
  43. set description "Displays stimuli"
  44. 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"
  45.  
  46. define sketchpad second_stimulus
  47. set duration "0"
  48. set description "Displays stimuli"
  49. 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"
  50.  
  51. define sequence experiment
  52. run loop "always"
  53.  
  54. define keyboard_response first_key
  55. set correct_response "[correct1]"
  56. set description "Collects keyboard responses"
  57. set timeout "infinite"
  58. set flush "yes"
  59.  
  60. define logger logger
  61. set description "Logs experimental data"
  62.  
  63. define keyboard_response second_key
  64. set correct_response "[correct2]"
  65. set description "Collects keyboard responses"
  66. set timeout "infinite"
  67. set flush "yes"
  68.  
  69. define loop loop
  70. set repeat "0.1"
  71. set description "Repeatedly runs another item"
  72. set skip "0"
  73. set offset "no"
  74. set item "sequence"
  75. set column_order "correct1;correct2"
  76. set cycles "10"
  77. set order "random"
  78. setcycle 0 correct2 "2"
  79. setcycle 0 correct1 "1"
  80. setcycle 1 correct2 "2"
  81. setcycle 1 correct1 "1"
  82. setcycle 2 correct2 "2"
  83. setcycle 2 correct1 "1"
  84. setcycle 3 correct2 "2"
  85. setcycle 3 correct1 "1"
  86. setcycle 4 correct2 "2"
  87. setcycle 4 correct1 "1"
  88. setcycle 5 correct2 "2"
  89. setcycle 5 correct1 "1"
  90. setcycle 6 correct2 "2"
  91. setcycle 6 correct1 "1"
  92. setcycle 7 correct2 "2"
  93. setcycle 7 correct1 "1"
  94. setcycle 8 correct2 "2"
  95. setcycle 8 correct1 "1"
  96. setcycle 9 correct2 "2"
  97. setcycle 9 correct1 "1"
  98. run sequence
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement