Advertisement
Guest User

Error with Auditory Perception Study

a guest
Oct 17th, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. # Generated by OpenSesame 0.26 (Earnest Einstein)
  2. # Thu Oct 17 19:37:34 2013 (posix)
  3. #
  4. # Copyright Sebastiaan Mathot (2010-2011)
  5. # <http://www.cogsci.nl>
  6. #
  7. set foreground "white"
  8. set subject_parity "even"
  9. set description "Default description"
  10. set title "New experiment"
  11. set compensation "0"
  12. set coordinates "relative"
  13. set height "768"
  14. set mouse_backend "legacy"
  15. set width "1024"
  16. set sampler_backend "legacy"
  17. set keyboard_backend "legacy"
  18. set background "black"
  19. set subject_nr "0"
  20. set canvas_backend "legacy"
  21. set start "experiment"
  22. set synth_backend "legacy"
  23.  
  24. define loop experimentalloop
  25. set repeat "1"
  26. set description "Repeatedly runs another item"
  27. set skip "0"
  28. set offset "no"
  29. set item "trialsequence"
  30. set column_order "sibilant_type"
  31. set cycles "12"
  32. set order "random"
  33. setcycle 0 sibilant_type "Female Speaker 1-stimulus001"
  34. setcycle 1 sibilant_type "Female Speaker 1-stimulus002"
  35. setcycle 2 sibilant_type "Female Speaker 1-stimulus003"
  36. setcycle 3 sibilant_type "Female Speaker 1-stimulus004"
  37. setcycle 4 sibilant_type "Female Speaker 1-stimulus005"
  38. setcycle 5 sibilant_type "Female Speaker 1-stimulus006"
  39. setcycle 6 sibilant_type "Female Speaker 1-stimulus007"
  40. setcycle 7 sibilant_type "Female Speaker 1-stimulus008"
  41. setcycle 8 sibilant_type "Female Speaker 1-stimulus009"
  42. setcycle 9 sibilant_type "Female Speaker 1-stimulus010"
  43. setcycle 10 sibilant_type "Female Speaker 1-stimulus011"
  44. setcycle 11 sibilant_type ""
  45. run trialsequence
  46.  
  47. define sequence trialsequence
  48. run _sketchpad "always"
  49. run ___sampler "always"
  50. run wi_response "always"
  51. run _logger "always"
  52.  
  53. define notepad workaround
  54. set note "Type your note here"
  55. set description "A simple notepad to document your experiment. This plug-in does nothing."
  56.  
  57. define sketchpad _sketchpad
  58. set duration "3000"
  59. set description "Displays stimuli"
  60. set start_response_interval "no"
  61.  
  62. define logger _logger
  63. set ignore_missing "yes"
  64. set auto_log "yes"
  65. set description "Logs experimental data"
  66. set unicode "no"
  67. set use_quotes "yes"
  68.  
  69. define sequence experiment
  70. run Instructions "always"
  71. run experimentalloop "always"
  72.  
  73. define keyboard_response wi_response
  74. set correct_response "a"
  75. set allowed_responses "1;2"
  76. set description "Collects keyboard responses"
  77. set timeout "infinite"
  78. set flush "yes"
  79.  
  80. define external_script external_script
  81. set run_func "run"
  82. set description "An alternative way of running Python code, directly from a script file"
  83.  
  84. define sampler ___sampler
  85. set volume "1"
  86. set description "Plays a sound file in .wav or .ogg format"
  87. set sample "[sibilant_type].wav"
  88. set pitch "1"
  89. set duration "sound"
  90. set stop_after "0"
  91. set pan "0"
  92. set fade_in "0"
  93.  
  94. define sketchpad Instructions
  95. set duration "keypress"
  96. set description "Displays stimuli"
  97. set start_response_interval "no"
  98. draw line -384 -352 -384 -352 penwidth=1 color=white show_if="always"
  99. draw textline 0 0 "Press 1-English" center=1 color=white font_family=mono font_size=50 show_if="always"
  100. draw textline 0 100 "Press 2-French" center=1 color=white font_family=mono font_size=50 show_if="always"
  101. draw textline 0 300 "Press any key to start" center=1 color=white font_family=mono font_size=50 show_if="always"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement