Advertisement
Guest User

Untitled

a guest
Mar 27th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 98.86 KB | None | 0 0
  1. ---
  2. API: 2
  3. OpenSesame: 3.0.7
  4. Platform: nt
  5. ---
  6. set width 1024
  7. set uniform_coordinates yes
  8. set title "New experiment"
  9. set subject_parity even
  10. set subject_nr 0
  11. set start experiment
  12. set sampler_backend legacy
  13. set mouse_backend legacy
  14. set keyboard_backend legacy
  15. set height 768
  16. set foreground black
  17. set font_size 18
  18. set font_italic no
  19. set font_family mono
  20. set font_bold no
  21. set experiment_path "C:\\Users\\Laurent\\Downloads"
  22. set description "Default description"
  23. set coordinates uniform
  24. set compensation 0
  25. set color_backend legacy
  26. set clock_backend legacy
  27. set canvas_backend legacy
  28. set bidi no
  29. set background white
  30.  
  31. define sketchpad Algemene_introductie_1
  32. set duration mouseclick
  33. set description "Displays stimuli"
  34. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=26 html=yes show_if=always text="Welkom!<br /><br />Dit onderzoek bestaat uit twee taken die gericht zijn op het herkennen van emoties<br /><br />Voorafgaand aan iedere taak krijg je instructies en is er een korte oefenronde<br />Tussendoor is er de mogelijkheid om even pauze te nemen <br /><br /><br/> Klik om het onderzoek te starten<br /><br /><br />" x=0 y=-32 z_index=0
  35.  
  36. define loop Algemene_loop
  37. set skip 0
  38. set repeat 1
  39. set order sequential
  40. set offset no
  41. set item Algemene_sequence
  42. set description "Repeatedly runs another item"
  43. set cycles 1
  44. set column_order ""
  45. set break_if never
  46. run Algemene_sequence
  47.  
  48. define sequence Algemene_sequence
  49. set flush_keyboard yes
  50. set description "Runs a number of items in sequence"
  51. run random_volgorde_taken always
  52. run Vocal_loop "[Volgorde] = 0"
  53. run Facial_loop "[Volgorde] = 0"
  54. run Facial_loop_1 "[Volgorde] = 1"
  55. run Vocal_loop_1 "[Volgorde] = 1"
  56.  
  57. define sketchpad End_of_facialtask
  58. set duration mouseclick
  59. set description "Displays stimuli"
  60. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=36 html=yes show_if=always text="Dit is het einde van de taak <br/><br />Klik om verder te gaan." x=0 y=0 z_index=0
  61.  
  62. define sketchpad End_of_facialtask_1
  63. set duration mouseclick
  64. set description "Displays stimuli"
  65. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=36 html=yes show_if=always text="Dit is het einde van de taak <br/><br />Klik om verder te gaan." x=0 y=0 z_index=0
  66.  
  67. define sketchpad End_of_vocaltask
  68. set duration mouseclick
  69. set description "Displays stimuli"
  70. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=36 html=yes show_if=always text="Dit is het einde van de taak <br /><br/>Klik om verder te gaan" x=0 y=0 z_index=0
  71.  
  72. define sketchpad End_of_vocaltask_1
  73. set duration mouseclick
  74. set description "Displays stimuli"
  75. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=36 html=yes show_if=always text="Dit is het einde van de taak <br /><br/>Klik om verder te gaan" x=0 y=0 z_index=0
  76.  
  77. define sketchpad End_task
  78. set duration mouseclick
  79. set description "Displays stimuli"
  80. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=36 html=yes show_if=always text="Dit is het einde van het experiment <br /><br />Klik om het experiment af te sluiten<br />Geef bij de onderzoeker aan dat je klaar bent <br /><br />Bedankt voor je deelname! <br />" x=0 y=0 z_index=0
  81.  
  82. define logger Experiment_Logger_1
  83. set description "Logs experimental data"
  84. set auto_log yes
  85.  
  86. define logger Experiment_Logger_1_1
  87. set description "Logs experimental data"
  88. set auto_log yes
  89.  
  90. define logger Experiment_Logger_1_2
  91. set description "Logs experimental data"
  92. set auto_log yes
  93.  
  94. define logger Experiment_Logger_1_3
  95. set description "Logs experimental data"
  96. set auto_log yes
  97.  
  98. define logger Experiment_Logger_1_4
  99. set description "Logs experimental data"
  100. set auto_log yes
  101.  
  102. define logger Experiment_Logger_2
  103. set description "Logs experimental data"
  104. set auto_log yes
  105.  
  106. define logger Experiment_Logger_3
  107. set description "Logs experimental data"
  108. set auto_log yes
  109.  
  110. define logger Experiment_Logger_3_1
  111. set description "Logs experimental data"
  112. set auto_log yes
  113.  
  114. define logger Experiment_Logger_3_2
  115. set description "Logs experimental data"
  116. set auto_log yes
  117.  
  118. define logger Experiment_Logger_3_3
  119. set description "Logs experimental data"
  120. set auto_log yes
  121.  
  122. define logger Experiment_Logger_4
  123. set description "Logs experimental data"
  124. set auto_log yes
  125.  
  126. define logger Experiment_Logger_5
  127. set description "Logs experimental data"
  128. set auto_log yes
  129.  
  130. define loop Facial_Experiment
  131. set skip 0
  132. set repeat 1
  133. set order random
  134. set offset no
  135. set item Facial_Experiment_sequence
  136. set description "Repeatedly runs another item"
  137. set cycles 1
  138. set column_order ""
  139. set break_if never
  140. run Facial_Experiment_sequence
  141.  
  142. define loop Facial_Experiment_1
  143. set skip 0
  144. set repeat 1
  145. set order random
  146. set offset no
  147. set item Facial_Experiment_sequence_1
  148. set description "Repeatedly runs another item"
  149. set cycles 1
  150. set column_order ""
  151. set break_if never
  152. run Facial_Experiment_sequence_1
  153.  
  154. define loop Facial_Experiment_loop_1_1
  155. set skip 0
  156. set repeat 0.1
  157. set order random
  158. set offset no
  159. set item Facial_Experiment_sequence_1_1
  160. set description "Repeatedly runs another item"
  161. set cycles 36
  162. set column_order "Emotion;Person;Intensity;correct_emotion;correct_response"
  163. set break_if never
  164. setcycle 0 Emotion "anger"
  165. setcycle 0 Person "SW"
  166. setcycle 0 Intensity "60%"
  167. setcycle 0 correct_response "1"
  168. setcycle 0 correct_emotion "Boos"
  169. setcycle 1 Emotion "anger"
  170. setcycle 1 Person "WF"
  171. setcycle 1 Intensity "60%"
  172. setcycle 1 correct_response "1"
  173. setcycle 1 correct_emotion "Boos"
  174. setcycle 2 Emotion "anger"
  175. setcycle 2 Person "PF"
  176. setcycle 2 Intensity "80%"
  177. setcycle 2 correct_response "1"
  178. setcycle 2 correct_emotion "Boos"
  179. setcycle 3 Emotion "anger"
  180. setcycle 3 Person "JJ"
  181. setcycle 3 Intensity "80%"
  182. setcycle 3 correct_response "1"
  183. setcycle 3 correct_emotion "Boos"
  184. setcycle 4 Emotion "anger"
  185. setcycle 4 Person "MF"
  186. setcycle 4 Intensity "100%"
  187. setcycle 4 correct_response "1"
  188. setcycle 4 correct_emotion "Boos"
  189. setcycle 5 Emotion "anger"
  190. setcycle 5 Person "EM"
  191. setcycle 5 Intensity "100%"
  192. setcycle 5 correct_response "1"
  193. setcycle 5 correct_emotion "Boos"
  194. setcycle 6 Emotion "disgust"
  195. setcycle 6 Person "MF"
  196. setcycle 6 Intensity "60%"
  197. setcycle 6 correct_response "2"
  198. setcycle 6 correct_emotion "Walging"
  199. setcycle 7 Emotion "disgust"
  200. setcycle 7 Person "EM"
  201. setcycle 7 Intensity "60%"
  202. setcycle 7 correct_response "2"
  203. setcycle 7 correct_emotion "Walging"
  204. setcycle 8 Emotion "disgust"
  205. setcycle 8 Person "SW"
  206. setcycle 8 Intensity "80%"
  207. setcycle 8 correct_response "2"
  208. setcycle 8 correct_emotion "Walging"
  209. setcycle 9 Emotion "disgust"
  210. setcycle 9 Person "WF"
  211. setcycle 9 Intensity "80%"
  212. setcycle 9 correct_response "2"
  213. setcycle 9 correct_emotion "Walging"
  214. setcycle 10 Emotion "disgust"
  215. setcycle 10 Person "PF"
  216. setcycle 10 Intensity "100%"
  217. setcycle 10 correct_response "2"
  218. setcycle 10 correct_emotion "Walging"
  219. setcycle 11 Emotion "disgust"
  220. setcycle 11 Person "JJ"
  221. setcycle 11 Intensity "100%"
  222. setcycle 11 correct_response "2"
  223. setcycle 11 correct_emotion "Walging"
  224. setcycle 12 Emotion "fear"
  225. setcycle 12 Person "PF"
  226. setcycle 12 Intensity "60%"
  227. setcycle 12 correct_response "6"
  228. setcycle 12 correct_emotion "Angst"
  229. setcycle 13 Emotion "fear"
  230. setcycle 13 Person "JJ"
  231. setcycle 13 Intensity "60%"
  232. setcycle 13 correct_response "6"
  233. setcycle 13 correct_emotion "Angst"
  234. setcycle 14 Emotion "fear"
  235. setcycle 14 Person "MF"
  236. setcycle 14 Intensity "80%"
  237. setcycle 14 correct_response "6"
  238. setcycle 14 correct_emotion "Angst"
  239. setcycle 15 Emotion "fear"
  240. setcycle 15 Person "EM"
  241. setcycle 15 Intensity "80%"
  242. setcycle 15 correct_response "6"
  243. setcycle 15 correct_emotion "Angst"
  244. setcycle 16 Emotion "fear"
  245. setcycle 16 Person "SW"
  246. setcycle 16 Intensity "100%"
  247. setcycle 16 correct_response "6"
  248. setcycle 16 correct_emotion "Angst"
  249. setcycle 17 Emotion "fear"
  250. setcycle 17 Person "WF"
  251. setcycle 17 Intensity "100%"
  252. setcycle 17 correct_response "6"
  253. setcycle 17 correct_emotion "Angst"
  254. setcycle 18 Emotion "happy"
  255. setcycle 18 Person "SW"
  256. setcycle 18 Intensity "60%"
  257. setcycle 18 correct_response "3"
  258. setcycle 18 correct_emotion "Blij"
  259. setcycle 19 Emotion "happy"
  260. setcycle 19 Person "WF"
  261. setcycle 19 Intensity "60%"
  262. setcycle 19 correct_response "3"
  263. setcycle 19 correct_emotion "Blij"
  264. setcycle 20 Emotion "happy"
  265. setcycle 20 Person "PF"
  266. setcycle 20 Intensity "80%"
  267. setcycle 20 correct_response "3"
  268. setcycle 20 correct_emotion "Blij"
  269. setcycle 21 Emotion "happy"
  270. setcycle 21 Person "JJ"
  271. setcycle 21 Intensity "80%"
  272. setcycle 21 correct_response "3"
  273. setcycle 21 correct_emotion "Blij"
  274. setcycle 22 Emotion "happy"
  275. setcycle 22 Person "MF"
  276. setcycle 22 Intensity "100%"
  277. setcycle 22 correct_response "3"
  278. setcycle 22 correct_emotion "Blij"
  279. setcycle 23 Emotion "happy"
  280. setcycle 23 Person "EM"
  281. setcycle 23 Intensity "100%"
  282. setcycle 23 correct_response "3"
  283. setcycle 23 correct_emotion "Blij"
  284. setcycle 24 Emotion "sad"
  285. setcycle 24 Person "MF"
  286. setcycle 24 Intensity "60%"
  287. setcycle 24 correct_response "4"
  288. setcycle 24 correct_emotion "Verdrietig"
  289. setcycle 25 Emotion "sad"
  290. setcycle 25 Person "EM"
  291. setcycle 25 Intensity "60%"
  292. setcycle 25 correct_response "4"
  293. setcycle 25 correct_emotion "Verdrietig"
  294. setcycle 26 Emotion "sad"
  295. setcycle 26 Person "SW"
  296. setcycle 26 Intensity "80%"
  297. setcycle 26 correct_response "4"
  298. setcycle 26 correct_emotion "Verdrietig"
  299. setcycle 27 Emotion "sad"
  300. setcycle 27 Person "WF"
  301. setcycle 27 Intensity "80%"
  302. setcycle 27 correct_response "4"
  303. setcycle 27 correct_emotion "Verdrietig"
  304. setcycle 28 Emotion "sad"
  305. setcycle 28 Person "PF"
  306. setcycle 28 Intensity "100%"
  307. setcycle 28 correct_response "4"
  308. setcycle 28 correct_emotion "Verdrietig"
  309. setcycle 29 Emotion "sad"
  310. setcycle 29 Person "JJ"
  311. setcycle 29 Intensity "100%"
  312. setcycle 29 correct_response "4"
  313. setcycle 29 correct_emotion "Verdrietig"
  314. setcycle 30 Emotion "surprise"
  315. setcycle 30 Person "PF"
  316. setcycle 30 Intensity "60%"
  317. setcycle 30 correct_response "5"
  318. setcycle 30 correct_emotion "Verbazing"
  319. setcycle 31 Emotion "surprise"
  320. setcycle 31 Person "JJ"
  321. setcycle 31 Intensity "60%"
  322. setcycle 31 correct_response "5"
  323. setcycle 31 correct_emotion "Verbazing"
  324. setcycle 32 Emotion "surprise"
  325. setcycle 32 Person "MF"
  326. setcycle 32 Intensity "80%"
  327. setcycle 32 correct_response "5"
  328. setcycle 32 correct_emotion "Verbazing"
  329. setcycle 33 Emotion "surprise"
  330. setcycle 33 Person "EM"
  331. setcycle 33 Intensity "80%"
  332. setcycle 33 correct_response "5"
  333. setcycle 33 correct_emotion "Verbazing"
  334. setcycle 34 Emotion "surprise"
  335. setcycle 34 Person "SW"
  336. setcycle 34 Intensity "100%"
  337. setcycle 34 correct_response "5"
  338. setcycle 34 correct_emotion "Verbazing"
  339. setcycle 35 Emotion "surprise"
  340. setcycle 35 Person "WF"
  341. setcycle 35 Intensity "100%"
  342. setcycle 35 correct_response "5"
  343. setcycle 35 correct_emotion "Verbazing"
  344. run Facial_Experiment_sequence_1_1
  345.  
  346. define loop Facial_Experiment_loop_1_1_1
  347. set skip 0
  348. set repeat 0.1
  349. set order random
  350. set offset no
  351. set item Facial_Experiment_sequence_1_1
  352. set description "Repeatedly runs another item"
  353. set cycles 36
  354. set column_order "Emotion;Person;Intensity;correct_emotion;correct_response"
  355. set break_if never
  356. setcycle 0 Emotion "anger"
  357. setcycle 0 Person "SW"
  358. setcycle 0 Intensity "60%"
  359. setcycle 0 correct_response "1"
  360. setcycle 0 correct_emotion "Boos"
  361. setcycle 1 Emotion "anger"
  362. setcycle 1 Person "WF"
  363. setcycle 1 Intensity "60%"
  364. setcycle 1 correct_response "1"
  365. setcycle 1 correct_emotion "Boos"
  366. setcycle 2 Emotion "anger"
  367. setcycle 2 Person "PF"
  368. setcycle 2 Intensity "80%"
  369. setcycle 2 correct_response "1"
  370. setcycle 2 correct_emotion "Boos"
  371. setcycle 3 Emotion "anger"
  372. setcycle 3 Person "JJ"
  373. setcycle 3 Intensity "80%"
  374. setcycle 3 correct_response "1"
  375. setcycle 3 correct_emotion "Boos"
  376. setcycle 4 Emotion "anger"
  377. setcycle 4 Person "MF"
  378. setcycle 4 Intensity "100%"
  379. setcycle 4 correct_response "1"
  380. setcycle 4 correct_emotion "Boos"
  381. setcycle 5 Emotion "anger"
  382. setcycle 5 Person "EM"
  383. setcycle 5 Intensity "100%"
  384. setcycle 5 correct_response "1"
  385. setcycle 5 correct_emotion "Boos"
  386. setcycle 6 Emotion "disgust"
  387. setcycle 6 Person "MF"
  388. setcycle 6 Intensity "60%"
  389. setcycle 6 correct_response "2"
  390. setcycle 6 correct_emotion "Walging"
  391. setcycle 7 Emotion "disgust"
  392. setcycle 7 Person "EM"
  393. setcycle 7 Intensity "60%"
  394. setcycle 7 correct_response "2"
  395. setcycle 7 correct_emotion "Walging"
  396. setcycle 8 Emotion "disgust"
  397. setcycle 8 Person "SW"
  398. setcycle 8 Intensity "80%"
  399. setcycle 8 correct_response "2"
  400. setcycle 8 correct_emotion "Walging"
  401. setcycle 9 Emotion "disgust"
  402. setcycle 9 Person "WF"
  403. setcycle 9 Intensity "80%"
  404. setcycle 9 correct_response "2"
  405. setcycle 9 correct_emotion "Walging"
  406. setcycle 10 Emotion "disgust"
  407. setcycle 10 Person "PF"
  408. setcycle 10 Intensity "100%"
  409. setcycle 10 correct_response "2"
  410. setcycle 10 correct_emotion "Walging"
  411. setcycle 11 Emotion "disgust"
  412. setcycle 11 Person "JJ"
  413. setcycle 11 Intensity "100%"
  414. setcycle 11 correct_response "2"
  415. setcycle 11 correct_emotion "Walging"
  416. setcycle 12 Emotion "fear"
  417. setcycle 12 Person "PF"
  418. setcycle 12 Intensity "60%"
  419. setcycle 12 correct_response "6"
  420. setcycle 12 correct_emotion "Angst"
  421. setcycle 13 Emotion "fear"
  422. setcycle 13 Person "JJ"
  423. setcycle 13 Intensity "60%"
  424. setcycle 13 correct_response "6"
  425. setcycle 13 correct_emotion "Angst"
  426. setcycle 14 Emotion "fear"
  427. setcycle 14 Person "MF"
  428. setcycle 14 Intensity "80%"
  429. setcycle 14 correct_response "6"
  430. setcycle 14 correct_emotion "Angst"
  431. setcycle 15 Emotion "fear"
  432. setcycle 15 Person "EM"
  433. setcycle 15 Intensity "80%"
  434. setcycle 15 correct_response "6"
  435. setcycle 15 correct_emotion "Angst"
  436. setcycle 16 Emotion "fear"
  437. setcycle 16 Person "SW"
  438. setcycle 16 Intensity "100%"
  439. setcycle 16 correct_response "6"
  440. setcycle 16 correct_emotion "Angst"
  441. setcycle 17 Emotion "fear"
  442. setcycle 17 Person "WF"
  443. setcycle 17 Intensity "100%"
  444. setcycle 17 correct_response "6"
  445. setcycle 17 correct_emotion "Angst"
  446. setcycle 18 Emotion "happy"
  447. setcycle 18 Person "SW"
  448. setcycle 18 Intensity "60%"
  449. setcycle 18 correct_response "3"
  450. setcycle 18 correct_emotion "Blij"
  451. setcycle 19 Emotion "happy"
  452. setcycle 19 Person "WF"
  453. setcycle 19 Intensity "60%"
  454. setcycle 19 correct_response "3"
  455. setcycle 19 correct_emotion "Blij"
  456. setcycle 20 Emotion "happy"
  457. setcycle 20 Person "PF"
  458. setcycle 20 Intensity "80%"
  459. setcycle 20 correct_response "3"
  460. setcycle 20 correct_emotion "Blij"
  461. setcycle 21 Emotion "happy"
  462. setcycle 21 Person "JJ"
  463. setcycle 21 Intensity "80%"
  464. setcycle 21 correct_response "3"
  465. setcycle 21 correct_emotion "Blij"
  466. setcycle 22 Emotion "happy"
  467. setcycle 22 Person "MF"
  468. setcycle 22 Intensity "100%"
  469. setcycle 22 correct_response "3"
  470. setcycle 22 correct_emotion "Blij"
  471. setcycle 23 Emotion "happy"
  472. setcycle 23 Person "EM"
  473. setcycle 23 Intensity "100%"
  474. setcycle 23 correct_response "3"
  475. setcycle 23 correct_emotion "Blij"
  476. setcycle 24 Emotion "sad"
  477. setcycle 24 Person "MF"
  478. setcycle 24 Intensity "60%"
  479. setcycle 24 correct_response "4"
  480. setcycle 24 correct_emotion "Verdrietig"
  481. setcycle 25 Emotion "sad"
  482. setcycle 25 Person "EM"
  483. setcycle 25 Intensity "60%"
  484. setcycle 25 correct_response "4"
  485. setcycle 25 correct_emotion "Verdrietig"
  486. setcycle 26 Emotion "sad"
  487. setcycle 26 Person "SW"
  488. setcycle 26 Intensity "80%"
  489. setcycle 26 correct_response "4"
  490. setcycle 26 correct_emotion "Verdrietig"
  491. setcycle 27 Emotion "sad"
  492. setcycle 27 Person "WF"
  493. setcycle 27 Intensity "80%"
  494. setcycle 27 correct_response "4"
  495. setcycle 27 correct_emotion "Verdrietig"
  496. setcycle 28 Emotion "sad"
  497. setcycle 28 Person "PF"
  498. setcycle 28 Intensity "100%"
  499. setcycle 28 correct_response "4"
  500. setcycle 28 correct_emotion "Verdrietig"
  501. setcycle 29 Emotion "sad"
  502. setcycle 29 Person "JJ"
  503. setcycle 29 Intensity "100%"
  504. setcycle 29 correct_response "4"
  505. setcycle 29 correct_emotion "Verdrietig"
  506. setcycle 30 Emotion "surprise"
  507. setcycle 30 Person "PF"
  508. setcycle 30 Intensity "60%"
  509. setcycle 30 correct_response "5"
  510. setcycle 30 correct_emotion "Verbazing"
  511. setcycle 31 Emotion "surprise"
  512. setcycle 31 Person "JJ"
  513. setcycle 31 Intensity "60%"
  514. setcycle 31 correct_response "5"
  515. setcycle 31 correct_emotion "Verbazing"
  516. setcycle 32 Emotion "surprise"
  517. setcycle 32 Person "MF"
  518. setcycle 32 Intensity "80%"
  519. setcycle 32 correct_response "5"
  520. setcycle 32 correct_emotion "Verbazing"
  521. setcycle 33 Emotion "surprise"
  522. setcycle 33 Person "EM"
  523. setcycle 33 Intensity "80%"
  524. setcycle 33 correct_response "5"
  525. setcycle 33 correct_emotion "Verbazing"
  526. setcycle 34 Emotion "surprise"
  527. setcycle 34 Person "SW"
  528. setcycle 34 Intensity "100%"
  529. setcycle 34 correct_response "5"
  530. setcycle 34 correct_emotion "Verbazing"
  531. setcycle 35 Emotion "surprise"
  532. setcycle 35 Person "WF"
  533. setcycle 35 Intensity "100%"
  534. setcycle 35 correct_response "5"
  535. setcycle 35 correct_emotion "Verbazing"
  536. run Facial_Experiment_sequence_1_1
  537.  
  538. define loop Facial_Experiment_loop_1_1_2
  539. set skip 0
  540. set repeat 0.1
  541. set order random
  542. set offset no
  543. set item Facial_Experiment_sequence_1_1_2
  544. set description "Repeatedly runs another item"
  545. set cycles 36
  546. set column_order "Emotion;Person;Intensity;correct_emotion;correct_response"
  547. set break_if never
  548. setcycle 0 Emotion "anger"
  549. setcycle 0 Person "SW"
  550. setcycle 0 Intensity "60%"
  551. setcycle 0 correct_response "1"
  552. setcycle 0 correct_emotion "Boos"
  553. setcycle 1 Emotion "anger"
  554. setcycle 1 Person "WF"
  555. setcycle 1 Intensity "60%"
  556. setcycle 1 correct_response "1"
  557. setcycle 1 correct_emotion "Boos"
  558. setcycle 2 Emotion "anger"
  559. setcycle 2 Person "PF"
  560. setcycle 2 Intensity "80%"
  561. setcycle 2 correct_response "1"
  562. setcycle 2 correct_emotion "Boos"
  563. setcycle 3 Emotion "anger"
  564. setcycle 3 Person "JJ"
  565. setcycle 3 Intensity "80%"
  566. setcycle 3 correct_response "1"
  567. setcycle 3 correct_emotion "Boos"
  568. setcycle 4 Emotion "anger"
  569. setcycle 4 Person "MF"
  570. setcycle 4 Intensity "100%"
  571. setcycle 4 correct_response "1"
  572. setcycle 4 correct_emotion "Boos"
  573. setcycle 5 Emotion "anger"
  574. setcycle 5 Person "EM"
  575. setcycle 5 Intensity "100%"
  576. setcycle 5 correct_response "1"
  577. setcycle 5 correct_emotion "Boos"
  578. setcycle 6 Emotion "disgust"
  579. setcycle 6 Person "MF"
  580. setcycle 6 Intensity "60%"
  581. setcycle 6 correct_response "2"
  582. setcycle 6 correct_emotion "Walging"
  583. setcycle 7 Emotion "disgust"
  584. setcycle 7 Person "EM"
  585. setcycle 7 Intensity "60%"
  586. setcycle 7 correct_response "2"
  587. setcycle 7 correct_emotion "Walging"
  588. setcycle 8 Emotion "disgust"
  589. setcycle 8 Person "SW"
  590. setcycle 8 Intensity "80%"
  591. setcycle 8 correct_response "2"
  592. setcycle 8 correct_emotion "Walging"
  593. setcycle 9 Emotion "disgust"
  594. setcycle 9 Person "WF"
  595. setcycle 9 Intensity "80%"
  596. setcycle 9 correct_response "2"
  597. setcycle 9 correct_emotion "Walging"
  598. setcycle 10 Emotion "disgust"
  599. setcycle 10 Person "PF"
  600. setcycle 10 Intensity "100%"
  601. setcycle 10 correct_response "2"
  602. setcycle 10 correct_emotion "Walging"
  603. setcycle 11 Emotion "disgust"
  604. setcycle 11 Person "JJ"
  605. setcycle 11 Intensity "100%"
  606. setcycle 11 correct_response "2"
  607. setcycle 11 correct_emotion "Walging"
  608. setcycle 12 Emotion "fear"
  609. setcycle 12 Person "PF"
  610. setcycle 12 Intensity "60%"
  611. setcycle 12 correct_response "6"
  612. setcycle 12 correct_emotion "Angst"
  613. setcycle 13 Emotion "fear"
  614. setcycle 13 Person "JJ"
  615. setcycle 13 Intensity "60%"
  616. setcycle 13 correct_response "6"
  617. setcycle 13 correct_emotion "Angst"
  618. setcycle 14 Emotion "fear"
  619. setcycle 14 Person "MF"
  620. setcycle 14 Intensity "80%"
  621. setcycle 14 correct_response "6"
  622. setcycle 14 correct_emotion "Angst"
  623. setcycle 15 Emotion "fear"
  624. setcycle 15 Person "EM"
  625. setcycle 15 Intensity "80%"
  626. setcycle 15 correct_response "6"
  627. setcycle 15 correct_emotion "Angst"
  628. setcycle 16 Emotion "fear"
  629. setcycle 16 Person "SW"
  630. setcycle 16 Intensity "100%"
  631. setcycle 16 correct_response "6"
  632. setcycle 16 correct_emotion "Angst"
  633. setcycle 17 Emotion "fear"
  634. setcycle 17 Person "WF"
  635. setcycle 17 Intensity "100%"
  636. setcycle 17 correct_response "6"
  637. setcycle 17 correct_emotion "Angst"
  638. setcycle 18 Emotion "happy"
  639. setcycle 18 Person "SW"
  640. setcycle 18 Intensity "60%"
  641. setcycle 18 correct_response "3"
  642. setcycle 18 correct_emotion "Blij"
  643. setcycle 19 Emotion "happy"
  644. setcycle 19 Person "WF"
  645. setcycle 19 Intensity "60%"
  646. setcycle 19 correct_response "3"
  647. setcycle 19 correct_emotion "Blij"
  648. setcycle 20 Emotion "happy"
  649. setcycle 20 Person "PF"
  650. setcycle 20 Intensity "80%"
  651. setcycle 20 correct_response "3"
  652. setcycle 20 correct_emotion "Blij"
  653. setcycle 21 Emotion "happy"
  654. setcycle 21 Person "JJ"
  655. setcycle 21 Intensity "80%"
  656. setcycle 21 correct_response "3"
  657. setcycle 21 correct_emotion "Blij"
  658. setcycle 22 Emotion "happy"
  659. setcycle 22 Person "MF"
  660. setcycle 22 Intensity "100%"
  661. setcycle 22 correct_response "3"
  662. setcycle 22 correct_emotion "Blij"
  663. setcycle 23 Emotion "happy"
  664. setcycle 23 Person "EM"
  665. setcycle 23 Intensity "100%"
  666. setcycle 23 correct_response "3"
  667. setcycle 23 correct_emotion "Blij"
  668. setcycle 24 Emotion "sad"
  669. setcycle 24 Person "MF"
  670. setcycle 24 Intensity "60%"
  671. setcycle 24 correct_response "4"
  672. setcycle 24 correct_emotion "Verdrietig"
  673. setcycle 25 Emotion "sad"
  674. setcycle 25 Person "EM"
  675. setcycle 25 Intensity "60%"
  676. setcycle 25 correct_response "4"
  677. setcycle 25 correct_emotion "Verdrietig"
  678. setcycle 26 Emotion "sad"
  679. setcycle 26 Person "SW"
  680. setcycle 26 Intensity "80%"
  681. setcycle 26 correct_response "4"
  682. setcycle 26 correct_emotion "Verdrietig"
  683. setcycle 27 Emotion "sad"
  684. setcycle 27 Person "WF"
  685. setcycle 27 Intensity "80%"
  686. setcycle 27 correct_response "4"
  687. setcycle 27 correct_emotion "Verdrietig"
  688. setcycle 28 Emotion "sad"
  689. setcycle 28 Person "PF"
  690. setcycle 28 Intensity "100%"
  691. setcycle 28 correct_response "4"
  692. setcycle 28 correct_emotion "Verdrietig"
  693. setcycle 29 Emotion "sad"
  694. setcycle 29 Person "JJ"
  695. setcycle 29 Intensity "100%"
  696. setcycle 29 correct_response "4"
  697. setcycle 29 correct_emotion "Verdrietig"
  698. setcycle 30 Emotion "surprise"
  699. setcycle 30 Person "PF"
  700. setcycle 30 Intensity "60%"
  701. setcycle 30 correct_response "5"
  702. setcycle 30 correct_emotion "Verbazing"
  703. setcycle 31 Emotion "surprise"
  704. setcycle 31 Person "JJ"
  705. setcycle 31 Intensity "60%"
  706. setcycle 31 correct_response "5"
  707. setcycle 31 correct_emotion "Verbazing"
  708. setcycle 32 Emotion "surprise"
  709. setcycle 32 Person "MF"
  710. setcycle 32 Intensity "80%"
  711. setcycle 32 correct_response "5"
  712. setcycle 32 correct_emotion "Verbazing"
  713. setcycle 33 Emotion "surprise"
  714. setcycle 33 Person "EM"
  715. setcycle 33 Intensity "80%"
  716. setcycle 33 correct_response "5"
  717. setcycle 33 correct_emotion "Verbazing"
  718. setcycle 34 Emotion "surprise"
  719. setcycle 34 Person "SW"
  720. setcycle 34 Intensity "100%"
  721. setcycle 34 correct_response "5"
  722. setcycle 34 correct_emotion "Verbazing"
  723. setcycle 35 Emotion "surprise"
  724. setcycle 35 Person "WF"
  725. setcycle 35 Intensity "100%"
  726. setcycle 35 correct_response "5"
  727. setcycle 35 correct_emotion "Verbazing"
  728. run Facial_Experiment_sequence_1_1_2
  729.  
  730. define loop Facial_Experiment_loop_1_1_3
  731. set skip 0
  732. set repeat 0.1
  733. set order random
  734. set offset no
  735. set item Facial_Experiment_sequence_1_1_2
  736. set description "Repeatedly runs another item"
  737. set cycles 36
  738. set column_order "Emotion;Person;Intensity;correct_emotion;correct_response"
  739. set break_if never
  740. setcycle 0 Emotion "anger"
  741. setcycle 0 Person "SW"
  742. setcycle 0 Intensity "60%"
  743. setcycle 0 correct_response "1"
  744. setcycle 0 correct_emotion "Boos"
  745. setcycle 1 Emotion "anger"
  746. setcycle 1 Person "WF"
  747. setcycle 1 Intensity "60%"
  748. setcycle 1 correct_response "1"
  749. setcycle 1 correct_emotion "Boos"
  750. setcycle 2 Emotion "anger"
  751. setcycle 2 Person "PF"
  752. setcycle 2 Intensity "80%"
  753. setcycle 2 correct_response "1"
  754. setcycle 2 correct_emotion "Boos"
  755. setcycle 3 Emotion "anger"
  756. setcycle 3 Person "JJ"
  757. setcycle 3 Intensity "80%"
  758. setcycle 3 correct_response "1"
  759. setcycle 3 correct_emotion "Boos"
  760. setcycle 4 Emotion "anger"
  761. setcycle 4 Person "MF"
  762. setcycle 4 Intensity "100%"
  763. setcycle 4 correct_response "1"
  764. setcycle 4 correct_emotion "Boos"
  765. setcycle 5 Emotion "anger"
  766. setcycle 5 Person "EM"
  767. setcycle 5 Intensity "100%"
  768. setcycle 5 correct_response "1"
  769. setcycle 5 correct_emotion "Boos"
  770. setcycle 6 Emotion "disgust"
  771. setcycle 6 Person "MF"
  772. setcycle 6 Intensity "60%"
  773. setcycle 6 correct_response "2"
  774. setcycle 6 correct_emotion "Walging"
  775. setcycle 7 Emotion "disgust"
  776. setcycle 7 Person "EM"
  777. setcycle 7 Intensity "60%"
  778. setcycle 7 correct_response "2"
  779. setcycle 7 correct_emotion "Walging"
  780. setcycle 8 Emotion "disgust"
  781. setcycle 8 Person "SW"
  782. setcycle 8 Intensity "80%"
  783. setcycle 8 correct_response "2"
  784. setcycle 8 correct_emotion "Walging"
  785. setcycle 9 Emotion "disgust"
  786. setcycle 9 Person "WF"
  787. setcycle 9 Intensity "80%"
  788. setcycle 9 correct_response "2"
  789. setcycle 9 correct_emotion "Walging"
  790. setcycle 10 Emotion "disgust"
  791. setcycle 10 Person "PF"
  792. setcycle 10 Intensity "100%"
  793. setcycle 10 correct_response "2"
  794. setcycle 10 correct_emotion "Walging"
  795. setcycle 11 Emotion "disgust"
  796. setcycle 11 Person "JJ"
  797. setcycle 11 Intensity "100%"
  798. setcycle 11 correct_response "2"
  799. setcycle 11 correct_emotion "Walging"
  800. setcycle 12 Emotion "fear"
  801. setcycle 12 Person "PF"
  802. setcycle 12 Intensity "60%"
  803. setcycle 12 correct_response "6"
  804. setcycle 12 correct_emotion "Angst"
  805. setcycle 13 Emotion "fear"
  806. setcycle 13 Person "JJ"
  807. setcycle 13 Intensity "60%"
  808. setcycle 13 correct_response "6"
  809. setcycle 13 correct_emotion "Angst"
  810. setcycle 14 Emotion "fear"
  811. setcycle 14 Person "MF"
  812. setcycle 14 Intensity "80%"
  813. setcycle 14 correct_response "6"
  814. setcycle 14 correct_emotion "Angst"
  815. setcycle 15 Emotion "fear"
  816. setcycle 15 Person "EM"
  817. setcycle 15 Intensity "80%"
  818. setcycle 15 correct_response "6"
  819. setcycle 15 correct_emotion "Angst"
  820. setcycle 16 Emotion "fear"
  821. setcycle 16 Person "SW"
  822. setcycle 16 Intensity "100%"
  823. setcycle 16 correct_response "6"
  824. setcycle 16 correct_emotion "Angst"
  825. setcycle 17 Emotion "fear"
  826. setcycle 17 Person "WF"
  827. setcycle 17 Intensity "100%"
  828. setcycle 17 correct_response "6"
  829. setcycle 17 correct_emotion "Angst"
  830. setcycle 18 Emotion "happy"
  831. setcycle 18 Person "SW"
  832. setcycle 18 Intensity "60%"
  833. setcycle 18 correct_response "3"
  834. setcycle 18 correct_emotion "Blij"
  835. setcycle 19 Emotion "happy"
  836. setcycle 19 Person "WF"
  837. setcycle 19 Intensity "60%"
  838. setcycle 19 correct_response "3"
  839. setcycle 19 correct_emotion "Blij"
  840. setcycle 20 Emotion "happy"
  841. setcycle 20 Person "PF"
  842. setcycle 20 Intensity "80%"
  843. setcycle 20 correct_response "3"
  844. setcycle 20 correct_emotion "Blij"
  845. setcycle 21 Emotion "happy"
  846. setcycle 21 Person "JJ"
  847. setcycle 21 Intensity "80%"
  848. setcycle 21 correct_response "3"
  849. setcycle 21 correct_emotion "Blij"
  850. setcycle 22 Emotion "happy"
  851. setcycle 22 Person "MF"
  852. setcycle 22 Intensity "100%"
  853. setcycle 22 correct_response "3"
  854. setcycle 22 correct_emotion "Blij"
  855. setcycle 23 Emotion "happy"
  856. setcycle 23 Person "EM"
  857. setcycle 23 Intensity "100%"
  858. setcycle 23 correct_response "3"
  859. setcycle 23 correct_emotion "Blij"
  860. setcycle 24 Emotion "sad"
  861. setcycle 24 Person "MF"
  862. setcycle 24 Intensity "60%"
  863. setcycle 24 correct_response "4"
  864. setcycle 24 correct_emotion "Verdrietig"
  865. setcycle 25 Emotion "sad"
  866. setcycle 25 Person "EM"
  867. setcycle 25 Intensity "60%"
  868. setcycle 25 correct_response "4"
  869. setcycle 25 correct_emotion "Verdrietig"
  870. setcycle 26 Emotion "sad"
  871. setcycle 26 Person "SW"
  872. setcycle 26 Intensity "80%"
  873. setcycle 26 correct_response "4"
  874. setcycle 26 correct_emotion "Verdrietig"
  875. setcycle 27 Emotion "sad"
  876. setcycle 27 Person "WF"
  877. setcycle 27 Intensity "80%"
  878. setcycle 27 correct_response "4"
  879. setcycle 27 correct_emotion "Verdrietig"
  880. setcycle 28 Emotion "sad"
  881. setcycle 28 Person "PF"
  882. setcycle 28 Intensity "100%"
  883. setcycle 28 correct_response "4"
  884. setcycle 28 correct_emotion "Verdrietig"
  885. setcycle 29 Emotion "sad"
  886. setcycle 29 Person "JJ"
  887. setcycle 29 Intensity "100%"
  888. setcycle 29 correct_response "4"
  889. setcycle 29 correct_emotion "Verdrietig"
  890. setcycle 30 Emotion "surprise"
  891. setcycle 30 Person "PF"
  892. setcycle 30 Intensity "60%"
  893. setcycle 30 correct_response "5"
  894. setcycle 30 correct_emotion "Verbazing"
  895. setcycle 31 Emotion "surprise"
  896. setcycle 31 Person "JJ"
  897. setcycle 31 Intensity "60%"
  898. setcycle 31 correct_response "5"
  899. setcycle 31 correct_emotion "Verbazing"
  900. setcycle 32 Emotion "surprise"
  901. setcycle 32 Person "MF"
  902. setcycle 32 Intensity "80%"
  903. setcycle 32 correct_response "5"
  904. setcycle 32 correct_emotion "Verbazing"
  905. setcycle 33 Emotion "surprise"
  906. setcycle 33 Person "EM"
  907. setcycle 33 Intensity "80%"
  908. setcycle 33 correct_response "5"
  909. setcycle 33 correct_emotion "Verbazing"
  910. setcycle 34 Emotion "surprise"
  911. setcycle 34 Person "SW"
  912. setcycle 34 Intensity "100%"
  913. setcycle 34 correct_response "5"
  914. setcycle 34 correct_emotion "Verbazing"
  915. setcycle 35 Emotion "surprise"
  916. setcycle 35 Person "WF"
  917. setcycle 35 Intensity "100%"
  918. setcycle 35 correct_response "5"
  919. setcycle 35 correct_emotion "Verbazing"
  920. run Facial_Experiment_sequence_1_1_2
  921.  
  922. define sequence Facial_Experiment_sequence
  923. set flush_keyboard yes
  924. set description "Runs a number of items in sequence"
  925. run new_reset_feedback_1 always
  926. run Facial_Experiment_loop_1_1 always
  927. run Pauze_vocal_1 always
  928. run Facial_Experiment_loop_1_1 always
  929. run End_of_facialtask always
  930.  
  931. define sequence Facial_Experiment_sequence_1
  932. set flush_keyboard yes
  933. set description "Runs a number of items in sequence"
  934. run new_reset_feedback_1_3 always
  935. run Facial_Experiment_loop_1_1_2 always
  936. run Pauze_vocal_1_1 always
  937. run Facial_Experiment_loop_1_1_2 always
  938. run End_of_facialtask_1 always
  939.  
  940. define sequence Facial_Experiment_sequence_1_1
  941. set flush_keyboard yes
  942. set description "Runs a number of items in sequence"
  943. run Klik_verder_1_1 always
  944. run fixation_dot_facialexp_1 always
  945. run facial_stimulus_experiment_1 always
  946. run facial_ans_exp_1 always
  947. run facial_antwoord_experiment_1 always
  948. run Facial_correct_response_1 always
  949. run Experiment_Logger_3 always
  950.  
  951. define sequence Facial_Experiment_sequence_1_1_1
  952. set flush_keyboard yes
  953. set description "Runs a number of items in sequence"
  954. run Klik_verder_1_1 always
  955. run fixation_dot_facialexp_1 always
  956. run facial_stimulus_experiment_1 always
  957. run facial_ans_exp_1 always
  958. run facial_antwoord_experiment_1 always
  959. run Facial_correct_response_1 always
  960. run Experiment_Logger_3 always
  961.  
  962. define sequence Facial_Experiment_sequence_1_1_2
  963. set flush_keyboard yes
  964. set description "Runs a number of items in sequence"
  965. run Klik_verder_1_1_2 always
  966. run fixation_dot_facialexp_1_2 always
  967. run facial_stimulus_experiment_1_2 always
  968. run facial_ans_exp_1_2 always
  969. run facial_antwoord_experiment_1_2 always
  970. run Facial_correct_response_1_2 always
  971. run Experiment_Logger_3_1 always
  972.  
  973. define sequence Facial_Experiment_sequence_1_1_3
  974. set flush_keyboard yes
  975. set description "Runs a number of items in sequence"
  976. run Klik_verder_1_1_2 always
  977. run fixation_dot_facialexp_1_2 always
  978. run facial_stimulus_experiment_1_2 always
  979. run facial_ans_exp_1_2 always
  980. run facial_antwoord_experiment_1_2 always
  981. run Facial_correct_response_1_2 always
  982. run Experiment_Logger_3_1 always
  983.  
  984. define loop Facial_Practice_loop
  985. set skip 0
  986. set repeat 0.4
  987. set order random
  988. set offset no
  989. set item Facial_practice_sequence_2
  990. set description "Repeatedly runs another item"
  991. set cycles 12
  992. set column_order "Emotion;Person;Intensity;correct_emotion;correct_response"
  993. set break_if never
  994. setcycle 0 Emotion "anger"
  995. setcycle 0 Person "JJ"
  996. setcycle 0 Intensity "100%"
  997. setcycle 0 correct_response "1"
  998. setcycle 0 correct_emotion "Boos"
  999. setcycle 1 Emotion "disgust"
  1000. setcycle 1 Person "WF"
  1001. setcycle 1 Intensity "100%"
  1002. setcycle 1 correct_response "2"
  1003. setcycle 1 correct_emotion "Walging"
  1004. setcycle 2 Emotion "happy"
  1005. setcycle 2 Person "PF"
  1006. setcycle 2 Intensity "100%"
  1007. setcycle 2 correct_response "3"
  1008. setcycle 2 correct_emotion "Blij"
  1009. setcycle 3 Emotion "sad"
  1010. setcycle 3 Person "SW"
  1011. setcycle 3 Intensity "100%"
  1012. setcycle 3 correct_response "4"
  1013. setcycle 3 correct_emotion "Verdrietig"
  1014. setcycle 4 Emotion "surprise"
  1015. setcycle 4 Person "MF"
  1016. setcycle 4 Intensity "100%"
  1017. setcycle 4 correct_response "5"
  1018. setcycle 4 correct_emotion "Verbazing"
  1019. setcycle 5 Emotion "fear"
  1020. setcycle 5 Person "EM"
  1021. setcycle 5 Intensity "100%"
  1022. setcycle 5 correct_response "6"
  1023. setcycle 5 correct_emotion "Angst"
  1024. setcycle 6 Emotion "anger"
  1025. setcycle 6 Person "PF"
  1026. setcycle 6 Intensity "60%"
  1027. setcycle 6 correct_response "1"
  1028. setcycle 6 correct_emotion "Boos"
  1029. setcycle 7 Emotion "fear"
  1030. setcycle 7 Person "SW"
  1031. setcycle 7 Intensity "60%"
  1032. setcycle 7 correct_response "6"
  1033. setcycle 7 correct_emotion "Angst"
  1034. setcycle 8 Emotion "happy"
  1035. setcycle 8 Person "WF"
  1036. setcycle 8 Intensity "60%"
  1037. setcycle 8 correct_response "3"
  1038. setcycle 8 correct_emotion "Blij"
  1039. setcycle 9 Emotion "sad"
  1040. setcycle 9 Person "MF"
  1041. setcycle 9 Intensity "80%"
  1042. setcycle 9 correct_response "4"
  1043. setcycle 9 correct_emotion "Verdrietig"
  1044. setcycle 10 Emotion "surprise"
  1045. setcycle 10 Person "JJ"
  1046. setcycle 10 Intensity "80%"
  1047. setcycle 10 correct_response "5"
  1048. setcycle 10 correct_emotion "Verbazing"
  1049. setcycle 11 Emotion "disgust"
  1050. setcycle 11 Person "EM"
  1051. setcycle 11 Intensity "80%"
  1052. setcycle 11 correct_response "2"
  1053. setcycle 11 correct_emotion "Walging"
  1054. run Facial_practice_sequence_2
  1055.  
  1056. define loop Facial_Practice_loop_1
  1057. set skip 0
  1058. set repeat 0.4
  1059. set order random
  1060. set offset no
  1061. set item Facial_practice_sequence_2_1
  1062. set description "Repeatedly runs another item"
  1063. set cycles 12
  1064. set column_order "Emotion;Person;Intensity;correct_emotion;correct_response"
  1065. set break_if never
  1066. setcycle 0 Emotion "anger"
  1067. setcycle 0 Person "JJ"
  1068. setcycle 0 Intensity "100%"
  1069. setcycle 0 correct_response "1"
  1070. setcycle 0 correct_emotion "Boos"
  1071. setcycle 1 Emotion "disgust"
  1072. setcycle 1 Person "WF"
  1073. setcycle 1 Intensity "100%"
  1074. setcycle 1 correct_response "2"
  1075. setcycle 1 correct_emotion "Walging"
  1076. setcycle 2 Emotion "happy"
  1077. setcycle 2 Person "PF"
  1078. setcycle 2 Intensity "100%"
  1079. setcycle 2 correct_response "3"
  1080. setcycle 2 correct_emotion "Blij"
  1081. setcycle 3 Emotion "sad"
  1082. setcycle 3 Person "SW"
  1083. setcycle 3 Intensity "100%"
  1084. setcycle 3 correct_response "4"
  1085. setcycle 3 correct_emotion "Verdrietig"
  1086. setcycle 4 Emotion "surprise"
  1087. setcycle 4 Person "MF"
  1088. setcycle 4 Intensity "100%"
  1089. setcycle 4 correct_response "5"
  1090. setcycle 4 correct_emotion "Verbazing"
  1091. setcycle 5 Emotion "fear"
  1092. setcycle 5 Person "EM"
  1093. setcycle 5 Intensity "100%"
  1094. setcycle 5 correct_response "6"
  1095. setcycle 5 correct_emotion "Angst"
  1096. setcycle 6 Emotion "anger"
  1097. setcycle 6 Person "PF"
  1098. setcycle 6 Intensity "60%"
  1099. setcycle 6 correct_response "1"
  1100. setcycle 6 correct_emotion "Boos"
  1101. setcycle 7 Emotion "fear"
  1102. setcycle 7 Person "SW"
  1103. setcycle 7 Intensity "60%"
  1104. setcycle 7 correct_response "6"
  1105. setcycle 7 correct_emotion "Angst"
  1106. setcycle 8 Emotion "happy"
  1107. setcycle 8 Person "WF"
  1108. setcycle 8 Intensity "60%"
  1109. setcycle 8 correct_response "3"
  1110. setcycle 8 correct_emotion "Blij"
  1111. setcycle 9 Emotion "sad"
  1112. setcycle 9 Person "MF"
  1113. setcycle 9 Intensity "80%"
  1114. setcycle 9 correct_response "4"
  1115. setcycle 9 correct_emotion "Verdrietig"
  1116. setcycle 10 Emotion "surprise"
  1117. setcycle 10 Person "JJ"
  1118. setcycle 10 Intensity "80%"
  1119. setcycle 10 correct_response "5"
  1120. setcycle 10 correct_emotion "Verbazing"
  1121. setcycle 11 Emotion "disgust"
  1122. setcycle 11 Person "EM"
  1123. setcycle 11 Intensity "80%"
  1124. setcycle 11 correct_response "2"
  1125. setcycle 11 correct_emotion "Walging"
  1126. run Facial_practice_sequence_2_1
  1127.  
  1128. define sequence Facial_Practice_sequence
  1129. set flush_keyboard yes
  1130. set description "Runs a number of items in sequence"
  1131. run Instructie_facial_1 always
  1132. run new_reset_feedback_1 always
  1133. run Facial_Practice_loop always
  1134. run Facial_practice_feedback always
  1135.  
  1136. define sequence Facial_Practice_sequence_1
  1137. set flush_keyboard yes
  1138. set description "Runs a number of items in sequence"
  1139. run Instructie_facial_1_1 always
  1140. run new_reset_feedback_1_3 always
  1141. run Facial_Practice_loop_1 always
  1142. run Facial_practice_feedback_1 always
  1143.  
  1144. define inline_script Facial_correct_response_1
  1145. set description "Executes Python code"
  1146. ___run__
  1147.  
  1148.  
  1149. # Calculate accuracy
  1150. if var.correct == 1:
  1151. var.facial_total_correct += 1
  1152.  
  1153. elif var.correct == 0:
  1154. var.facial_total_incorrect += 1
  1155.  
  1156. var.facial_total_responses += 1
  1157. print var.facial_total_responses
  1158.  
  1159. var.facial_acc= (var.total_correct / float(var.facial_total_responses )) *100
  1160.  
  1161. print('Accuracy is %.2f%%' % var.facial_acc)
  1162. __end__
  1163. set _prepare ""
  1164.  
  1165. define inline_script Facial_correct_response_1_1
  1166. set description "Executes Python code"
  1167. ___run__
  1168.  
  1169.  
  1170. # Calculate accuracy
  1171. if var.correct == 1:
  1172. var.total_correct += 1
  1173.  
  1174. elif var.correct == 0:
  1175. var.total_incorrect += 1
  1176.  
  1177. var.facial_total_responses += 1
  1178. print var.facial_total_responses
  1179.  
  1180. var.acc= (var.total_correct / float(var.facial_total_responses )) *100
  1181.  
  1182. print('Accuracy is %.2f%%' % var.acc)
  1183. __end__
  1184. set _prepare ""
  1185.  
  1186. define inline_script Facial_correct_response_1_2
  1187. set description "Executes Python code"
  1188. ___run__
  1189.  
  1190.  
  1191. # Calculate accuracy
  1192. if var.correct == 1:
  1193. var.facial_total_correct += 1
  1194.  
  1195. elif var.correct == 0:
  1196. var.facial_total_incorrect += 1
  1197.  
  1198. var.facial_total_responses += 1
  1199. print var.facial_total_responses
  1200.  
  1201. var.facial_acc= (var.total_correct / float(var.facial_total_responses )) *100
  1202.  
  1203. print('Accuracy is %.2f%%' % var.facial_acc)
  1204. __end__
  1205. set _prepare ""
  1206.  
  1207. define inline_script Facial_correct_response_1_3
  1208. set description "Executes Python code"
  1209. ___run__
  1210.  
  1211.  
  1212. # Calculate accuracy
  1213. if var.correct == 1:
  1214. var.facial_total_correct += 1
  1215.  
  1216. elif var.correct == 0:
  1217. var.facial_total_incorrect += 1
  1218.  
  1219. var.facial_total_responses += 1
  1220. print var.facial_total_responses
  1221.  
  1222. var.facial_acc= (var.total_correct / float(var.facial_total_responses )) *100
  1223.  
  1224. print('Accuracy is %.2f%%' % var.facial_acc)
  1225. __end__
  1226. set _prepare ""
  1227.  
  1228. define inline_script Facial_correct_response_1_4
  1229. set description "Executes Python code"
  1230. ___run__
  1231.  
  1232.  
  1233. # Calculate accuracy
  1234. if var.correct == 1:
  1235. var.facial_total_correct += 1
  1236.  
  1237. elif var.correct == 0:
  1238. var.facial_total_incorrect += 1
  1239.  
  1240. var.facial_total_responses += 1
  1241. print var.facial_total_responses
  1242.  
  1243. var.facial_acc= (var.total_correct / float(var.facial_total_responses )) *100
  1244.  
  1245. print('Accuracy is %.2f%%' % var.facial_acc)
  1246. __end__
  1247. set _prepare ""
  1248.  
  1249. define inline_script Facial_correct_response_2
  1250. set description "Executes Python code"
  1251. ___run__
  1252.  
  1253.  
  1254. # Calculate accuracy
  1255. if var.correct == 1:
  1256. var.total_correct += 1
  1257.  
  1258. elif var.correct == 0:
  1259. var.total_incorrect += 1
  1260.  
  1261. var.facial_total_responses += 1
  1262. print var.facial_total_responses
  1263.  
  1264. var.acc= (var.total_correct / float(var.facial_total_responses )) *100
  1265.  
  1266. print('Accuracy is %.2f%%' % var.acc)
  1267. __end__
  1268. set _prepare ""
  1269.  
  1270. define loop Facial_loop
  1271. set skip 0
  1272. set repeat 1
  1273. set order sequential
  1274. set offset no
  1275. set item Facial_sequence
  1276. set description "Repeatedly runs another item"
  1277. set cycles 1
  1278. set column_order ""
  1279. set break_if never
  1280. run Facial_sequence
  1281.  
  1282. define loop Facial_loop_1
  1283. set skip 0
  1284. set repeat 1
  1285. set order sequential
  1286. set offset no
  1287. set item Facial_sequence_1
  1288. set description "Repeatedly runs another item"
  1289. set cycles 1
  1290. set column_order ""
  1291. set break_if never
  1292. run Facial_sequence_1
  1293.  
  1294. define loop Facial_practice_emotion
  1295. set skip 0
  1296. set repeat 1
  1297. set order random
  1298. set offset no
  1299. set item Facial_Practice_sequence
  1300. set description "Repeatedly runs another item"
  1301. set cycles 1
  1302. set column_order ""
  1303. set break_if never
  1304. run Facial_Practice_sequence
  1305.  
  1306. define loop Facial_practice_emotion_1
  1307. set skip 0
  1308. set repeat 1
  1309. set order random
  1310. set offset no
  1311. set item Facial_Practice_sequence_1
  1312. set description "Repeatedly runs another item"
  1313. set cycles 1
  1314. set column_order ""
  1315. set break_if never
  1316. run Facial_Practice_sequence_1
  1317.  
  1318. define feedback Facial_practice_feedback
  1319. set reset_variables yes
  1320. set duration mouseclick
  1321. set description "Provides feedback to the participant"
  1322. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=27 html=yes show_if=always text="Dit was de oefenronde!<br /><br />Je snelheid was gemiddeld [avg_rt] miliseconden en je had [facial_acc] % goed!<br /><br /><br />Nu begint de echte test<br /><br />Je krijgt nu GEEN feedback meer<br/><br/>Probeer weer zo GOED en zo SNEL mogelijk antwoord te geven.<br /><br />Klik om door te gaan." x=0 y=0 z_index=2
  1323.  
  1324. define feedback Facial_practice_feedback_1
  1325. set reset_variables yes
  1326. set duration mouseclick
  1327. set description "Provides feedback to the participant"
  1328. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=27 html=yes show_if=always text="Dit was de oefenronde!<br /><br />Je snelheid was gemiddeld [avg_rt] miliseconden en je had [facial_acc] % goed!<br /><br /><br />Nu begint de echte test<br /><br />Je krijgt nu GEEN feedback meer<br/><br/>Probeer weer zo GOED en zo SNEL mogelijk antwoord te geven.<br /><br />Klik om door te gaan." x=0 y=0 z_index=2
  1329.  
  1330. define reset_feedback Facial_practice_reset_feedback
  1331. set description "Resets the feedback variables, such as 'avg_rt' and 'acc'"
  1332.  
  1333. define sequence Facial_practice_sequence_2
  1334. set flush_keyboard yes
  1335. set description "Runs a number of items in sequence"
  1336. run Klik_verder always
  1337. run fixation_dot_facial always
  1338. run facial_stimulus_prractice always
  1339. run facial_ans_practice always
  1340. run facial_antwoord_practice always
  1341. run Feedback_negative_2 "[correct]=0"
  1342. run Feedback_positive_4_1 "[correct]=1"
  1343. run Facial_correct_response_1 always
  1344. run Experiment_Logger_3 always
  1345.  
  1346. define sequence Facial_practice_sequence_2_1
  1347. set flush_keyboard yes
  1348. set description "Runs a number of items in sequence"
  1349. run Klik_verder_1 always
  1350. run fixation_dot_facial_1 always
  1351. run facial_stimulus_prractice_1 always
  1352. run facial_ans_practice_1 always
  1353. run facial_antwoord_practice_1 always
  1354. run Feedback_negative_2_1 "[correct]=0"
  1355. run Feedback_positive_4_1_1 "[correct]=1"
  1356. run Facial_correct_response_1_2 always
  1357. run Experiment_Logger_3_1 always
  1358.  
  1359. define sequence Facial_sequence
  1360. set flush_keyboard yes
  1361. set description "Runs a number of items in sequence"
  1362. run new_inline_script always
  1363. run Facial_practice_emotion always
  1364. run Facial_Experiment always
  1365.  
  1366. define sequence Facial_sequence_1
  1367. set flush_keyboard yes
  1368. set description "Runs a number of items in sequence"
  1369. run new_inline_script_2 always
  1370. run Facial_practice_emotion_1 always
  1371. run Facial_Experiment_1 always
  1372.  
  1373. define sketchpad Feedback_negative
  1374. set duration 495
  1375. set description "Displays stimuli"
  1376. draw image center=1 file="NegativeFeedback.PNG" scale=1 show_if=always x=0 y=0 z_index=0
  1377.  
  1378. define sketchpad Feedback_negative_1
  1379. set duration 495
  1380. set description "Displays stimuli"
  1381. draw image center=1 file="NegativeFeedback.PNG" scale=1 show_if=always x=0 y=0 z_index=0
  1382.  
  1383. define sketchpad Feedback_negative_2
  1384. set duration 495
  1385. set description "Displays stimuli"
  1386. draw image center=1 file="NegativeFeedback.PNG" scale=1 show_if=always x=0 y=0 z_index=0
  1387.  
  1388. define sketchpad Feedback_negative_2_1
  1389. set duration 495
  1390. set description "Displays stimuli"
  1391. draw image center=1 file="NegativeFeedback.PNG" scale=1 show_if=always x=0 y=0 z_index=0
  1392.  
  1393. define sketchpad Feedback_positive_3
  1394. set duration 495
  1395. set description "Displays stimuli"
  1396. draw image center=1 file="PositiveFeedback.PNG" scale=1 show_if=always x=0 y=0 z_index=0
  1397.  
  1398. define sketchpad Feedback_positive_3_1
  1399. set duration 495
  1400. set description "Displays stimuli"
  1401. draw image center=1 file="PositiveFeedback.PNG" scale=1 show_if=always x=0 y=0 z_index=0
  1402.  
  1403. define sketchpad Feedback_positive_4_1
  1404. set duration 495
  1405. set description "Displays stimuli"
  1406. draw image center=1 file="PositiveFeedback.PNG" scale=1 show_if=always x=0 y=0 z_index=0
  1407.  
  1408. define sketchpad Feedback_positive_4_1_1
  1409. set duration 495
  1410. set description "Displays stimuli"
  1411. draw image center=1 file="PositiveFeedback.PNG" scale=1 show_if=always x=0 y=0 z_index=0
  1412.  
  1413. define sketchpad Instructie_facial_1
  1414. set duration mouseclick
  1415. set description "Displays stimuli"
  1416. draw textline center=1 color="#000000" font_bold=yes font_family=sans font_italic=no font_size=18 html=yes show_if=always text="Deze taak gaat over het herkennen van emoties uit gezichten" x=0 y=-160 z_index=0
  1417. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=18 html=yes show_if=always text="Je krijgt een aantal gezichten te zien die een emotie uitdrukken. <br />Aan jou de taak om zo GOED en zo SNEL mogelijk aan te geven welke <br />emotie je hebt gezien door te klikken op een van de volgende smileys:<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Er komt nu eerst een oefenronde MET feedback <br /><br/>Klik om door te gaan. " x=0 y=32 z_index=0
  1418. draw image center=1 file="boos.png" scale=0.8 show_if=always x=-416 y=50 z_index=0
  1419. draw image center=1 file="walging.png" scale=0.8 show_if=always x=-256 y=50 z_index=0
  1420. draw image center=1 file="blij.png" scale=0.8 show_if=always x=-96 y=50 z_index=0
  1421. draw image center=1 file="verdrietig.png" scale=0.8 show_if=always x=64 y=50 z_index=0
  1422. draw image center=1 file="verbaasd.png" scale=0.8 show_if=always x=224 y=50 z_index=0
  1423. draw image center=1 file="bang1.png" scale=0.8 show_if=always x=384 y=50 z_index=0
  1424.  
  1425. define sketchpad Instructie_facial_1_1
  1426. set duration mouseclick
  1427. set description "Displays stimuli"
  1428. draw textline center=1 color="#000000" font_bold=yes font_family=sans font_italic=no font_size=18 html=yes show_if=always text="Deze taak gaat over het herkennen van emoties uit gezichten" x=0 y=-160 z_index=0
  1429. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=18 html=yes show_if=always text="Je krijgt een aantal gezichten te zien die een emotie uitdrukken. <br />Aan jou de taak om zo GOED en zo SNEL mogelijk aan te geven welke <br />emotie je hebt gezien door te klikken op een van de volgende smileys:<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Er komt nu eerst een oefenronde MET feedback <br /><br/>Klik om door te gaan. " x=0 y=32 z_index=0
  1430. draw image center=1 file="boos.png" scale=0.8 show_if=always x=-416 y=50 z_index=0
  1431. draw image center=1 file="walging.png" scale=0.8 show_if=always x=-256 y=50 z_index=0
  1432. draw image center=1 file="blij.png" scale=0.8 show_if=always x=-96 y=50 z_index=0
  1433. draw image center=1 file="verdrietig.png" scale=0.8 show_if=always x=64 y=50 z_index=0
  1434. draw image center=1 file="verbaasd.png" scale=0.8 show_if=always x=224 y=50 z_index=0
  1435. draw image center=1 file="bang1.png" scale=0.8 show_if=always x=384 y=50 z_index=0
  1436.  
  1437. define sketchpad Introductie_vocal
  1438. set duration mouseclick
  1439. set description "Displays stimuli"
  1440. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=18 html=yes show_if=always text="<br /><br />Je hoort zo een aantal stemmen die een niet-bestaand woord uitspreken: op een boze, blije of verdrietige manier.<br />Nadat je het woord hebt gehoord, komen deze drie smileys in beeld:<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Aan jou de taak om zo GOED en zo SNEL mogelijk de smiley aan te <br />klikken die de emotie laat zien die je net hebt gehoord.<br /><br/>Je gaat nu eerst een ronde oefenen MET feedback <br />Klik om door te gaan." x=0 y=0 z_index=0
  1441. draw textline center=1 color="#000000" font_bold=yes font_family=sans font_italic=no font_size=18 html=yes show_if=always text="Deze taak gaat over het herkennen van emoties uit spraak" x=0 y=-192 z_index=0
  1442. draw image center=1 file="blij.png" scale=0.8 show_if=always x=0 y=0 z_index=0
  1443. draw image center=1 file="boos.png" scale=0.8 show_if=always x=-220 y=0 z_index=0
  1444. draw image center=1 file="verdrietig.png" scale=0.8 show_if=always x=220 y=0 z_index=0
  1445.  
  1446. define sketchpad Introductie_vocal_1
  1447. set duration mouseclick
  1448. set description "Displays stimuli"
  1449. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=18 html=yes show_if=always text="<br /><br />Je hoort zo een aantal stemmen die een niet-bestaand woord uitspreken: op een boze, blije of verdrietige manier.<br />Nadat je het woord hebt gehoord, komen deze drie smileys in beeld:<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Aan jou de taak om zo GOED en zo SNEL mogelijk de smiley aan te <br />klikken die de emotie laat zien die je net hebt gehoord.<br /><br/>Je gaat nu eerst een ronde oefenen MET feedback <br />Klik om door te gaan." x=0 y=0 z_index=0
  1450. draw textline center=1 color="#000000" font_bold=yes font_family=sans font_italic=no font_size=18 html=yes show_if=always text="Deze taak gaat over het herkennen van emoties uit spraak" x=0 y=-192 z_index=0
  1451. draw image center=1 file="blij.png" scale=0.8 show_if=always x=0 y=0 z_index=0
  1452. draw image center=1 file="boos.png" scale=0.8 show_if=always x=-220 y=0 z_index=0
  1453. draw image center=1 file="verdrietig.png" scale=0.8 show_if=always x=220 y=0 z_index=0
  1454.  
  1455. define sketchpad Klik_verder
  1456. set duration mouseclick
  1457. set description "Displays stimuli"
  1458. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=32 y=0 z_index=0
  1459.  
  1460. define sketchpad Klik_verder_1
  1461. set duration mouseclick
  1462. set description "Displays stimuli"
  1463. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=32 y=0 z_index=0
  1464.  
  1465. define sketchpad Klik_verder_1_1
  1466. set duration mouseclick
  1467. set description "Displays stimuli"
  1468. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=32 y=0 z_index=0
  1469.  
  1470. define sketchpad Klik_verder_1_1_1
  1471. set duration mouseclick
  1472. set description "Displays stimuli"
  1473. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=32 y=0 z_index=0
  1474.  
  1475. define sketchpad Klik_verder_1_1_2
  1476. set duration mouseclick
  1477. set description "Displays stimuli"
  1478. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=32 y=0 z_index=0
  1479.  
  1480. define sketchpad Klik_verder_1_1_3
  1481. set duration mouseclick
  1482. set description "Displays stimuli"
  1483. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=32 y=0 z_index=0
  1484.  
  1485. define sketchpad Luidspreker
  1486. set duration mouseclick
  1487. set description "Displays stimuli"
  1488. draw fixdot color="#000000" show_if=always style=default x=0 y=0 z_index=0
  1489. draw fixdot color="#000000" show_if=always style=default x=0 y=0 z_index=0
  1490. draw fixdot color="#000000" show_if=always style=default x=0 y=0 z_index=0
  1491. draw fixdot color="#000000" show_if=always style=default x=0 y=0 z_index=0
  1492. draw image center=1 file="luidspreker.png" scale=0.3 show_if=always x=0 y=0 z_index=0
  1493. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=0 y=192 z_index=0
  1494.  
  1495. define sketchpad Luidspreker_1
  1496. set duration mouseclick
  1497. set description "Displays stimuli"
  1498. draw fixdot color="#000000" show_if=always style=default x=0 y=0 z_index=0
  1499. draw fixdot color="#000000" show_if=always style=default x=0 y=0 z_index=0
  1500. draw fixdot color="#000000" show_if=always style=default x=0 y=0 z_index=0
  1501. draw fixdot color="#000000" show_if=always style=default x=0 y=0 z_index=0
  1502. draw image center=1 file="luidspreker.png" scale=0.3 show_if=always x=0 y=0 z_index=0
  1503. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=0 y=192 z_index=0
  1504.  
  1505. define sketchpad Luidspreker_1_1
  1506. set duration mouseclick
  1507. set description "Displays stimuli"
  1508. draw image center=1 file="luidspreker.png" scale=0.3 show_if=always x=0 y=0 z_index=0
  1509. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=0 y=160 z_index=0
  1510.  
  1511. define sketchpad Luidspreker_1_1_1
  1512. set duration mouseclick
  1513. set description "Displays stimuli"
  1514. draw image center=1 file="luidspreker.png" scale=0.3 show_if=always x=0 y=0 z_index=0
  1515. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=0 y=160 z_index=0
  1516.  
  1517. define sketchpad Luidspreker_1_1_2
  1518. set duration mouseclick
  1519. set description "Displays stimuli"
  1520. draw image center=1 file="luidspreker.png" scale=0.3 show_if=always x=0 y=0 z_index=0
  1521. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=0 y=160 z_index=0
  1522.  
  1523. define sketchpad Luidspreker_1_1_3
  1524. set duration mouseclick
  1525. set description "Displays stimuli"
  1526. draw image center=1 file="luidspreker.png" scale=0.3 show_if=always x=0 y=0 z_index=0
  1527. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=34 html=yes show_if=always text="Klik om verder te gaan" x=0 y=160 z_index=0
  1528.  
  1529. define sketchpad Pauze_vocal
  1530. set duration mouseclick
  1531. set description "Displays stimuli"
  1532. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=36 html=yes show_if=always text="Je kan nu een korte pauze nemen <br/><br />Klik om verder te gaan" x=0 y=0 z_index=0
  1533.  
  1534. define sketchpad Pauze_vocal_1
  1535. set duration mouseclick
  1536. set description "Displays stimuli"
  1537. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=18 html=yes show_if=always text="Je kan nu een korte pauze nemen. <br />Klik wanneer je klaar bent om door te gaan." x=0 y=0 z_index=0
  1538.  
  1539. define sketchpad Pauze_vocal_1_1
  1540. set duration mouseclick
  1541. set description "Displays stimuli"
  1542. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=18 html=yes show_if=always text="Je kan nu een korte pauze nemen. <br />Klik wanneer je klaar bent om door te gaan." x=0 y=0 z_index=0
  1543.  
  1544. define sketchpad Pauze_vocal_2
  1545. set duration mouseclick
  1546. set description "Displays stimuli"
  1547. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=36 html=yes show_if=always text="Je kan nu een korte pauze nemen <br/><br />Klik om verder te gaan" x=0 y=0 z_index=0
  1548.  
  1549. define inline_script Random_locatie_smilies_1
  1550. set description "Executes Python code"
  1551. set _run ""
  1552. ___prepare__
  1553. exp.set('xco1',-380)
  1554. exp.set('xco2',0)
  1555. exp.set('xco3',380)
  1556.  
  1557. x_loc = [-380,0,380]
  1558.  
  1559. import random
  1560.  
  1561. random.shuffle(x_loc)
  1562. print x_loc
  1563.  
  1564. var.xco1 = x_loc[0]
  1565. var.xco2 = x_loc[1]
  1566. var.xco3 = x_loc[2]
  1567.  
  1568. if var.correctemotion == 'blij':
  1569. var.correct_response = var.xco1
  1570.  
  1571. elif var.correctemotion == 'boos':
  1572. var.correct_response = var.xco2
  1573.  
  1574. else:
  1575. var.correct_response = var.xco3
  1576. __end__
  1577.  
  1578. define inline_script Random_locatie_smilies_1_1
  1579. set description "Executes Python code"
  1580. set _run ""
  1581. ___prepare__
  1582. exp.set('xco1',-380)
  1583. exp.set('xco2',0)
  1584. exp.set('xco3',380)
  1585.  
  1586. x_loc = [-380,0,380]
  1587.  
  1588. import random
  1589.  
  1590. random.shuffle(x_loc)
  1591. print x_loc
  1592.  
  1593. var.xco1 = x_loc[0]
  1594. var.xco2 = x_loc[1]
  1595. var.xco3 = x_loc[2]
  1596.  
  1597. if var.correctemotion == 'blij':
  1598. var.correct_response = var.xco1
  1599.  
  1600. elif var.correctemotion == 'boos':
  1601. var.correct_response = var.xco2
  1602.  
  1603. else:
  1604. var.correct_response = var.xco3
  1605. __end__
  1606.  
  1607. define inline_script Random_locatie_smilies_1_2
  1608. set description "Executes Python code"
  1609. set _run ""
  1610. ___prepare__
  1611. exp.set('xco1',-380)
  1612. exp.set('xco2',0)
  1613. exp.set('xco3',380)
  1614.  
  1615. x_loc = [-380,0,380]
  1616.  
  1617. import random
  1618.  
  1619. random.shuffle(x_loc)
  1620. print x_loc
  1621.  
  1622. var.xco1 = x_loc[0]
  1623. var.xco2 = x_loc[1]
  1624. var.xco3 = x_loc[2]
  1625.  
  1626. if var.correctemotion == 'blij':
  1627. var.correct_response = var.xco1
  1628.  
  1629. elif var.correctemotion == 'boos':
  1630. var.correct_response = var.xco2
  1631.  
  1632. else:
  1633. var.correct_response = var.xco3
  1634. __end__
  1635.  
  1636. define inline_script Random_locatie_smilies_1_3
  1637. set description "Executes Python code"
  1638. set _run ""
  1639. ___prepare__
  1640. exp.set('xco1',-380)
  1641. exp.set('xco2',0)
  1642. exp.set('xco3',380)
  1643.  
  1644. x_loc = [-380,0,380]
  1645.  
  1646. import random
  1647.  
  1648. random.shuffle(x_loc)
  1649. print x_loc
  1650.  
  1651. var.xco1 = x_loc[0]
  1652. var.xco2 = x_loc[1]
  1653. var.xco3 = x_loc[2]
  1654.  
  1655. if var.correctemotion == 'blij':
  1656. var.correct_response = var.xco1
  1657.  
  1658. elif var.correctemotion == 'boos':
  1659. var.correct_response = var.xco2
  1660.  
  1661. else:
  1662. var.correct_response = var.xco3
  1663. __end__
  1664.  
  1665. define inline_script Random_locatie_smilies_1_4
  1666. set description "Executes Python code"
  1667. set _run ""
  1668. ___prepare__
  1669. exp.set('xco1',-380)
  1670. exp.set('xco2',0)
  1671. exp.set('xco3',380)
  1672.  
  1673. x_loc = [-380,0,380]
  1674.  
  1675. import random
  1676.  
  1677. random.shuffle(x_loc)
  1678. print x_loc
  1679.  
  1680. var.xco1 = x_loc[0]
  1681. var.xco2 = x_loc[1]
  1682. var.xco3 = x_loc[2]
  1683.  
  1684. if var.correctemotion == 'blij':
  1685. var.correct_response = var.xco1
  1686.  
  1687. elif var.correctemotion == 'boos':
  1688. var.correct_response = var.xco2
  1689.  
  1690. else:
  1691. var.correct_response = var.xco3
  1692. __end__
  1693.  
  1694. define inline_script Random_locatie_smilies_2
  1695. set description "Executes Python code"
  1696. set _run ""
  1697. ___prepare__
  1698. exp.set('xco1',-380)
  1699. exp.set('xco2',0)
  1700. exp.set('xco3',380)
  1701.  
  1702. x_loc = [-380,0,380]
  1703.  
  1704. import random
  1705.  
  1706. random.shuffle(x_loc)
  1707. print x_loc
  1708.  
  1709. var.xco1 = x_loc[0]
  1710. var.xco2 = x_loc[1]
  1711. var.xco3 = x_loc[2]
  1712.  
  1713. if var.correctemotion == 'blij':
  1714. var.correct_response = var.xco1
  1715.  
  1716. elif var.correctemotion == 'boos':
  1717. var.correct_response = var.xco2
  1718.  
  1719. else:
  1720. var.correct_response = var.xco3
  1721. __end__
  1722.  
  1723. define sketchpad Smilies
  1724. set duration 0
  1725. set description "Displays stimuli"
  1726. draw image center=1 file="boos.png" scale=1 show_if=always x="[xco2]" y=0 z_index=0
  1727. draw image center=1 file="blij.png" scale=1 show_if=always x="[xco1]" y=0 z_index=0
  1728. draw image center=1 file="verdrietig.png" scale=1 show_if=always x="[xco3]" y=0 z_index=0
  1729.  
  1730. define sketchpad Smilies_1
  1731. set duration 0
  1732. set description "Displays stimuli"
  1733. draw image center=1 file="boos.png" scale=1 show_if=always x="[xco2]" y=0 z_index=0
  1734. draw image center=1 file="blij.png" scale=1 show_if=always x="[xco1]" y=0 z_index=0
  1735. draw image center=1 file="verdrietig.png" scale=1 show_if=always x="[xco3]" y=0 z_index=0
  1736.  
  1737. define sketchpad Smilies_1_1
  1738. set duration 0
  1739. set description "Displays stimuli"
  1740. draw image center=1 file="blij.png" scale=1 show_if=always x="[xco1]" y=0 z_index=0
  1741. draw image center=1 file="boos.png" scale=1 show_if=always x="[xco2]" y=0 z_index=0
  1742. draw image center=1 file="verdrietig.png" scale=1 show_if=always x="[xco3]" y=0 z_index=0
  1743.  
  1744. define sketchpad Smilies_1_1_1
  1745. set duration 0
  1746. set description "Displays stimuli"
  1747. draw image center=1 file="Smiley_blij2.jpg" scale=0.6 show_if=always x="[xco1]" y=0 z_index=0
  1748. draw image center=1 file="Smiley_boos2.png" scale=1.2 show_if=always x="[xco2]" y=0 z_index=0
  1749. draw image center=1 file="Smiley_verdrietig2.jpg" scale=0.6 show_if=always x="[xco3]" y=0 z_index=0
  1750.  
  1751. define sketchpad Smilies_1_1_2
  1752. set duration 0
  1753. set description "Displays stimuli"
  1754. draw image center=1 file="blij.png" scale=1 show_if=always x="[xco1]" y=0 z_index=0
  1755. draw image center=1 file="boos.png" scale=1 show_if=always x="[xco2]" y=0 z_index=0
  1756. draw image center=1 file="verdrietig.png" scale=1 show_if=always x="[xco3]" y=0 z_index=0
  1757.  
  1758. define sketchpad Smilies_1_1_3
  1759. set duration 0
  1760. set description "Displays stimuli"
  1761. draw image center=1 file="blij.png" scale=1 show_if=always x="[xco1]" y=0 z_index=0
  1762. draw image center=1 file="boos.png" scale=1 show_if=always x="[xco2]" y=0 z_index=0
  1763. draw image center=1 file="verdrietig.png" scale=1 show_if=always x="[xco3]" y=0 z_index=0
  1764.  
  1765. define sampler Sound_1
  1766. set volume 1
  1767. set stop_after 0
  1768. set sample "s[speaker_nr]e[emotion_nr]n[attempt_nr].wav"
  1769. set pitch 1
  1770. set pan 0
  1771. set fade_in 0
  1772. set duration sound
  1773. set description "Plays a sound file in .wav or .ogg format"
  1774.  
  1775. define sampler Sound_1_1
  1776. set volume 1
  1777. set stop_after 0
  1778. set sample "s[speaker_nr]e[emotion_nr]n[attempt_nr].wav"
  1779. set pitch 1
  1780. set pan 0
  1781. set fade_in 0
  1782. set duration sound
  1783. set description "Plays a sound file in .wav or .ogg format"
  1784.  
  1785. define sampler Sound_1_2
  1786. set volume 1
  1787. set stop_after 0
  1788. set sample "s[speaker_nr]e[emotion_nr]n[attempt_nr].wav"
  1789. set pitch 1
  1790. set pan 0
  1791. set fade_in 0
  1792. set duration sound
  1793. set description "Plays a sound file in .wav or .ogg format"
  1794.  
  1795. define sampler Sound_1_3
  1796. set volume 1
  1797. set stop_after 0
  1798. set sample "s[speaker_nr]e[emotion_nr]n[attempt_nr].wav"
  1799. set pitch 1
  1800. set pan 0
  1801. set fade_in 0
  1802. set duration sound
  1803. set description "Plays a sound file in .wav or .ogg format"
  1804.  
  1805. define loop Vocal_Block_loop_1
  1806. set skip 0
  1807. set repeat 0.5
  1808. set order random
  1809. set offset no
  1810. set item Vocal_Trial_sequence_1_1
  1811. set description "Repeatedly runs another item"
  1812. set cycles 12
  1813. set column_order "speaker_nr;emotion_nr;attempt_nr;correctemotion;correct_response"
  1814. set break_if never
  1815. setcycle 0 emotion_nr "2"
  1816. setcycle 0 correct_response "2"
  1817. setcycle 0 attempt_nr "4"
  1818. setcycle 0 speaker_nr "2"
  1819. setcycle 0 correctemotion "boos"
  1820. setcycle 1 emotion_nr "3"
  1821. setcycle 1 correct_response "3"
  1822. setcycle 1 attempt_nr "2"
  1823. setcycle 1 speaker_nr "2"
  1824. setcycle 1 correctemotion "verdrietig"
  1825. setcycle 2 emotion_nr "5"
  1826. setcycle 2 correct_response "1"
  1827. setcycle 2 attempt_nr "1"
  1828. setcycle 2 speaker_nr "2"
  1829. setcycle 2 correctemotion "blij"
  1830. setcycle 3 emotion_nr "2"
  1831. setcycle 3 correct_response "2"
  1832. setcycle 3 attempt_nr "3"
  1833. setcycle 3 speaker_nr "3"
  1834. setcycle 3 correctemotion "boos"
  1835. setcycle 4 emotion_nr "3"
  1836. setcycle 4 correct_response "3"
  1837. setcycle 4 attempt_nr "2"
  1838. setcycle 4 speaker_nr "3"
  1839. setcycle 4 correctemotion "verdrietig"
  1840. setcycle 5 emotion_nr "5"
  1841. setcycle 5 correct_response "1"
  1842. setcycle 5 attempt_nr "1"
  1843. setcycle 5 speaker_nr "3"
  1844. setcycle 5 correctemotion "blij"
  1845. setcycle 6 emotion_nr "2"
  1846. setcycle 6 correct_response "2"
  1847. setcycle 6 attempt_nr "4"
  1848. setcycle 6 speaker_nr "6"
  1849. setcycle 6 correctemotion "boos"
  1850. setcycle 7 emotion_nr "3"
  1851. setcycle 7 correct_response "3"
  1852. setcycle 7 attempt_nr "1"
  1853. setcycle 7 speaker_nr "6"
  1854. setcycle 7 correctemotion "verdrietig"
  1855. setcycle 8 emotion_nr "5"
  1856. setcycle 8 correct_response "1"
  1857. setcycle 8 attempt_nr "4"
  1858. setcycle 8 speaker_nr "6"
  1859. setcycle 8 correctemotion "blij"
  1860. setcycle 9 emotion_nr "2"
  1861. setcycle 9 correct_response "2"
  1862. setcycle 9 attempt_nr "2"
  1863. setcycle 9 speaker_nr "7"
  1864. setcycle 9 correctemotion "boos"
  1865. setcycle 10 emotion_nr "3"
  1866. setcycle 10 correct_response "3"
  1867. setcycle 10 attempt_nr "4"
  1868. setcycle 10 speaker_nr "7"
  1869. setcycle 10 correctemotion "verdrietig"
  1870. setcycle 11 emotion_nr "5"
  1871. setcycle 11 correct_response "1"
  1872. setcycle 11 attempt_nr "3"
  1873. setcycle 11 speaker_nr "7"
  1874. setcycle 11 correctemotion "blij"
  1875. run Vocal_Trial_sequence_1_1
  1876.  
  1877. define loop Vocal_Block_loop_1_1
  1878. set skip 0
  1879. set repeat 0.5
  1880. set order random
  1881. set offset no
  1882. set item Vocal_Trial_sequence_1_1
  1883. set description "Repeatedly runs another item"
  1884. set cycles 12
  1885. set column_order "speaker_nr;emotion_nr;attempt_nr;correctemotion;correct_response"
  1886. set break_if never
  1887. setcycle 0 emotion_nr "2"
  1888. setcycle 0 correct_response "2"
  1889. setcycle 0 attempt_nr "4"
  1890. setcycle 0 speaker_nr "2"
  1891. setcycle 0 correctemotion "boos"
  1892. setcycle 1 emotion_nr "3"
  1893. setcycle 1 correct_response "3"
  1894. setcycle 1 attempt_nr "2"
  1895. setcycle 1 speaker_nr "2"
  1896. setcycle 1 correctemotion "verdrietig"
  1897. setcycle 2 emotion_nr "5"
  1898. setcycle 2 correct_response "1"
  1899. setcycle 2 attempt_nr "1"
  1900. setcycle 2 speaker_nr "2"
  1901. setcycle 2 correctemotion "blij"
  1902. setcycle 3 emotion_nr "2"
  1903. setcycle 3 correct_response "2"
  1904. setcycle 3 attempt_nr "3"
  1905. setcycle 3 speaker_nr "3"
  1906. setcycle 3 correctemotion "boos"
  1907. setcycle 4 emotion_nr "3"
  1908. setcycle 4 correct_response "3"
  1909. setcycle 4 attempt_nr "2"
  1910. setcycle 4 speaker_nr "3"
  1911. setcycle 4 correctemotion "verdrietig"
  1912. setcycle 5 emotion_nr "5"
  1913. setcycle 5 correct_response "1"
  1914. setcycle 5 attempt_nr "1"
  1915. setcycle 5 speaker_nr "3"
  1916. setcycle 5 correctemotion "blij"
  1917. setcycle 6 emotion_nr "2"
  1918. setcycle 6 correct_response "2"
  1919. setcycle 6 attempt_nr "4"
  1920. setcycle 6 speaker_nr "6"
  1921. setcycle 6 correctemotion "boos"
  1922. setcycle 7 emotion_nr "3"
  1923. setcycle 7 correct_response "3"
  1924. setcycle 7 attempt_nr "1"
  1925. setcycle 7 speaker_nr "6"
  1926. setcycle 7 correctemotion "verdrietig"
  1927. setcycle 8 emotion_nr "5"
  1928. setcycle 8 correct_response "1"
  1929. setcycle 8 attempt_nr "4"
  1930. setcycle 8 speaker_nr "6"
  1931. setcycle 8 correctemotion "blij"
  1932. setcycle 9 emotion_nr "2"
  1933. setcycle 9 correct_response "2"
  1934. setcycle 9 attempt_nr "2"
  1935. setcycle 9 speaker_nr "7"
  1936. setcycle 9 correctemotion "boos"
  1937. setcycle 10 emotion_nr "3"
  1938. setcycle 10 correct_response "3"
  1939. setcycle 10 attempt_nr "4"
  1940. setcycle 10 speaker_nr "7"
  1941. setcycle 10 correctemotion "verdrietig"
  1942. setcycle 11 emotion_nr "5"
  1943. setcycle 11 correct_response "1"
  1944. setcycle 11 attempt_nr "3"
  1945. setcycle 11 speaker_nr "7"
  1946. setcycle 11 correctemotion "blij"
  1947. run Vocal_Trial_sequence_1_1
  1948.  
  1949. define loop Vocal_Block_loop_1_2
  1950. set skip 0
  1951. set repeat 0.5
  1952. set order random
  1953. set offset no
  1954. set item Vocal_Trial_sequence_1_1_2
  1955. set description "Repeatedly runs another item"
  1956. set cycles 12
  1957. set column_order "speaker_nr;emotion_nr;attempt_nr;correctemotion;correct_response"
  1958. set break_if never
  1959. setcycle 0 emotion_nr "2"
  1960. setcycle 0 correct_response "2"
  1961. setcycle 0 attempt_nr "4"
  1962. setcycle 0 speaker_nr "2"
  1963. setcycle 0 correctemotion "boos"
  1964. setcycle 1 emotion_nr "3"
  1965. setcycle 1 correct_response "3"
  1966. setcycle 1 attempt_nr "2"
  1967. setcycle 1 speaker_nr "2"
  1968. setcycle 1 correctemotion "verdrietig"
  1969. setcycle 2 emotion_nr "5"
  1970. setcycle 2 correct_response "1"
  1971. setcycle 2 attempt_nr "1"
  1972. setcycle 2 speaker_nr "2"
  1973. setcycle 2 correctemotion "blij"
  1974. setcycle 3 emotion_nr "2"
  1975. setcycle 3 correct_response "2"
  1976. setcycle 3 attempt_nr "3"
  1977. setcycle 3 speaker_nr "3"
  1978. setcycle 3 correctemotion "boos"
  1979. setcycle 4 emotion_nr "3"
  1980. setcycle 4 correct_response "3"
  1981. setcycle 4 attempt_nr "2"
  1982. setcycle 4 speaker_nr "3"
  1983. setcycle 4 correctemotion "verdrietig"
  1984. setcycle 5 emotion_nr "5"
  1985. setcycle 5 correct_response "1"
  1986. setcycle 5 attempt_nr "1"
  1987. setcycle 5 speaker_nr "3"
  1988. setcycle 5 correctemotion "blij"
  1989. setcycle 6 emotion_nr "2"
  1990. setcycle 6 correct_response "2"
  1991. setcycle 6 attempt_nr "4"
  1992. setcycle 6 speaker_nr "6"
  1993. setcycle 6 correctemotion "boos"
  1994. setcycle 7 emotion_nr "3"
  1995. setcycle 7 correct_response "3"
  1996. setcycle 7 attempt_nr "1"
  1997. setcycle 7 speaker_nr "6"
  1998. setcycle 7 correctemotion "verdrietig"
  1999. setcycle 8 emotion_nr "5"
  2000. setcycle 8 correct_response "1"
  2001. setcycle 8 attempt_nr "4"
  2002. setcycle 8 speaker_nr "6"
  2003. setcycle 8 correctemotion "blij"
  2004. setcycle 9 emotion_nr "2"
  2005. setcycle 9 correct_response "2"
  2006. setcycle 9 attempt_nr "2"
  2007. setcycle 9 speaker_nr "7"
  2008. setcycle 9 correctemotion "boos"
  2009. setcycle 10 emotion_nr "3"
  2010. setcycle 10 correct_response "3"
  2011. setcycle 10 attempt_nr "4"
  2012. setcycle 10 speaker_nr "7"
  2013. setcycle 10 correctemotion "verdrietig"
  2014. setcycle 11 emotion_nr "5"
  2015. setcycle 11 correct_response "1"
  2016. setcycle 11 attempt_nr "3"
  2017. setcycle 11 speaker_nr "7"
  2018. setcycle 11 correctemotion "blij"
  2019. run Vocal_Trial_sequence_1_1_2
  2020.  
  2021. define loop Vocal_Block_loop_1_3
  2022. set skip 0
  2023. set repeat 0.5
  2024. set order random
  2025. set offset no
  2026. set item Vocal_Trial_sequence_1_1_2
  2027. set description "Repeatedly runs another item"
  2028. set cycles 12
  2029. set column_order "speaker_nr;emotion_nr;attempt_nr;correctemotion;correct_response"
  2030. set break_if never
  2031. setcycle 0 emotion_nr "2"
  2032. setcycle 0 correct_response "2"
  2033. setcycle 0 attempt_nr "4"
  2034. setcycle 0 speaker_nr "2"
  2035. setcycle 0 correctemotion "boos"
  2036. setcycle 1 emotion_nr "3"
  2037. setcycle 1 correct_response "3"
  2038. setcycle 1 attempt_nr "2"
  2039. setcycle 1 speaker_nr "2"
  2040. setcycle 1 correctemotion "verdrietig"
  2041. setcycle 2 emotion_nr "5"
  2042. setcycle 2 correct_response "1"
  2043. setcycle 2 attempt_nr "1"
  2044. setcycle 2 speaker_nr "2"
  2045. setcycle 2 correctemotion "blij"
  2046. setcycle 3 emotion_nr "2"
  2047. setcycle 3 correct_response "2"
  2048. setcycle 3 attempt_nr "3"
  2049. setcycle 3 speaker_nr "3"
  2050. setcycle 3 correctemotion "boos"
  2051. setcycle 4 emotion_nr "3"
  2052. setcycle 4 correct_response "3"
  2053. setcycle 4 attempt_nr "2"
  2054. setcycle 4 speaker_nr "3"
  2055. setcycle 4 correctemotion "verdrietig"
  2056. setcycle 5 emotion_nr "5"
  2057. setcycle 5 correct_response "1"
  2058. setcycle 5 attempt_nr "1"
  2059. setcycle 5 speaker_nr "3"
  2060. setcycle 5 correctemotion "blij"
  2061. setcycle 6 emotion_nr "2"
  2062. setcycle 6 correct_response "2"
  2063. setcycle 6 attempt_nr "4"
  2064. setcycle 6 speaker_nr "6"
  2065. setcycle 6 correctemotion "boos"
  2066. setcycle 7 emotion_nr "3"
  2067. setcycle 7 correct_response "3"
  2068. setcycle 7 attempt_nr "1"
  2069. setcycle 7 speaker_nr "6"
  2070. setcycle 7 correctemotion "verdrietig"
  2071. setcycle 8 emotion_nr "5"
  2072. setcycle 8 correct_response "1"
  2073. setcycle 8 attempt_nr "4"
  2074. setcycle 8 speaker_nr "6"
  2075. setcycle 8 correctemotion "blij"
  2076. setcycle 9 emotion_nr "2"
  2077. setcycle 9 correct_response "2"
  2078. setcycle 9 attempt_nr "2"
  2079. setcycle 9 speaker_nr "7"
  2080. setcycle 9 correctemotion "boos"
  2081. setcycle 10 emotion_nr "3"
  2082. setcycle 10 correct_response "3"
  2083. setcycle 10 attempt_nr "4"
  2084. setcycle 10 speaker_nr "7"
  2085. setcycle 10 correctemotion "verdrietig"
  2086. setcycle 11 emotion_nr "5"
  2087. setcycle 11 correct_response "1"
  2088. setcycle 11 attempt_nr "3"
  2089. setcycle 11 speaker_nr "7"
  2090. setcycle 11 correctemotion "blij"
  2091. run Vocal_Trial_sequence_1_1_2
  2092.  
  2093. define sequence Vocal_Trial_sequence_1_1
  2094. set flush_keyboard yes
  2095. set description "Runs a number of items in sequence"
  2096. run Luidspreker_1_1 always
  2097. run Sound_1 always
  2098. run Random_locatie_smilies_1 always
  2099. run Smilies_1_1 always
  2100. run antwoord_exp always
  2101. run correct_response_1_1 always
  2102. run Experiment_Logger_1 always
  2103.  
  2104. define sequence Vocal_Trial_sequence_1_1_1
  2105. set flush_keyboard yes
  2106. set description "Runs a number of items in sequence"
  2107. run Luidspreker_1_1 always
  2108. run Sound_1 always
  2109. run Random_locatie_smilies_1 always
  2110. run Smilies_1_1 always
  2111. run antwoord_exp always
  2112. run correct_response_1_1 always
  2113. run Experiment_Logger_1 always
  2114.  
  2115. define sequence Vocal_Trial_sequence_1_1_2
  2116. set flush_keyboard yes
  2117. set description "Runs a number of items in sequence"
  2118. run Luidspreker_1_1_2 always
  2119. run Sound_1_2 always
  2120. run Random_locatie_smilies_1_2 always
  2121. run Smilies_1_1_2 always
  2122. run antwoord_exp_1 always
  2123. run correct_response_1_1_2 always
  2124. run Experiment_Logger_1_2 always
  2125.  
  2126. define sequence Vocal_Trial_sequence_1_1_3
  2127. set flush_keyboard yes
  2128. set description "Runs a number of items in sequence"
  2129. run Luidspreker_1_1_2 always
  2130. run Sound_1_2 always
  2131. run Random_locatie_smilies_1_2 always
  2132. run Smilies_1_1_2 always
  2133. run antwoord_exp_1 always
  2134. run correct_response_1_1_2 always
  2135. run Experiment_Logger_1_2 always
  2136.  
  2137. define sequence Vocal_experiment_block_sequence
  2138. set flush_keyboard yes
  2139. set description "Runs a number of items in sequence"
  2140. run new_reset_feedback_1 always
  2141. run Vocal_Block_loop_1 always
  2142. run Pauze_vocal always
  2143. run Vocal_Block_loop_1 always
  2144.  
  2145. define sequence Vocal_experiment_block_sequence_1
  2146. set flush_keyboard yes
  2147. set description "Runs a number of items in sequence"
  2148. run new_reset_feedback_1_1 always
  2149. run Vocal_Block_loop_1_2 always
  2150. run Pauze_vocal_2 always
  2151. run Vocal_Block_loop_1_2 always
  2152.  
  2153. define loop Vocal_experiment_loop_main
  2154. set skip 0
  2155. set repeat 0
  2156. set order random
  2157. set offset no
  2158. set item Vocal_experiment_block_sequence
  2159. set description "Repeatedly runs another item"
  2160. set cycles 1
  2161. set column_order ""
  2162. set break_if never
  2163. run Vocal_experiment_block_sequence
  2164.  
  2165. define loop Vocal_experiment_loop_main_1
  2166. set skip 0
  2167. set repeat 0
  2168. set order random
  2169. set offset no
  2170. set item Vocal_experiment_block_sequence_1
  2171. set description "Repeatedly runs another item"
  2172. set cycles 1
  2173. set column_order ""
  2174. set break_if never
  2175. run Vocal_experiment_block_sequence_1
  2176.  
  2177. define loop Vocal_loop
  2178. set skip 0
  2179. set repeat 1
  2180. set order sequential
  2181. set offset no
  2182. set item Vocal_sequence
  2183. set description "Repeatedly runs another item"
  2184. set cycles 1
  2185. set column_order ""
  2186. set break_if never
  2187. run Vocal_sequence
  2188.  
  2189. define loop Vocal_loop_1
  2190. set skip 0
  2191. set repeat 1
  2192. set order sequential
  2193. set offset no
  2194. set item Vocal_sequence_1
  2195. set description "Repeatedly runs another item"
  2196. set cycles 1
  2197. set column_order ""
  2198. set break_if never
  2199. run Vocal_sequence_1
  2200.  
  2201. define sequence Vocal_practice_block_sequence
  2202. set flush_keyboard yes
  2203. set description "Runs a number of items in sequence"
  2204. run new_reset_feedback_1 always
  2205. run Introductie_vocal always
  2206. run Vocal_practice_loop always
  2207. run Vocal_practice_feedback always
  2208.  
  2209. define sequence Vocal_practice_block_sequence_1
  2210. set flush_keyboard yes
  2211. set description "Runs a number of items in sequence"
  2212. run new_reset_feedback_1_1 always
  2213. run Introductie_vocal_1 always
  2214. run Vocal_practice_loop_1 always
  2215. run Vocal_practice_feedback_1 always
  2216.  
  2217. define feedback Vocal_practice_feedback
  2218. set reset_variables yes
  2219. set duration mouseclick
  2220. set description "Provides feedback to the participant"
  2221. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=27 html=yes show_if=always text="Dit was de oefenronde!<br /><br />Je snelheid was gemiddeld [avg_rt] miliseconden en je had [acc] % goed.<br /><br /><br />Nu begint de echte test<br /><br />Je krijgt GEEN feedback meer<br/><br/>Probeer weer zo GOED en zo SNEL mogelijk antwoord te geven.<br /><br />Klik om verder te gaan." x=0 y=0 z_index=2
  2222.  
  2223. define feedback Vocal_practice_feedback_1
  2224. set reset_variables yes
  2225. set duration mouseclick
  2226. set description "Provides feedback to the participant"
  2227. draw textline center=1 color="#000000" font_bold=no font_family=sans font_italic=no font_size=27 html=yes show_if=always text="Dit was de oefenronde!<br /><br />Je snelheid was gemiddeld [avg_rt] miliseconden en je had [acc] % goed.<br /><br /><br />Nu begint de echte test<br /><br />Je krijgt GEEN feedback meer<br/><br/>Probeer weer zo GOED en zo SNEL mogelijk antwoord te geven.<br /><br />Klik om verder te gaan." x=0 y=0 z_index=2
  2228.  
  2229. define loop Vocal_practice_loop
  2230. set skip 0
  2231. set repeat 0.4
  2232. set order random
  2233. set offset no
  2234. set item Vocal_practice_sequence
  2235. set description "Repeatedly runs another item"
  2236. set cycles 12
  2237. set column_order "speaker_nr;emotion_nr;attempt_nr;correctemotion;correct_response"
  2238. set break_if never
  2239. setcycle 0 emotion_nr "2"
  2240. setcycle 0 correct_response "2"
  2241. setcycle 0 attempt_nr "4"
  2242. setcycle 0 speaker_nr "1"
  2243. setcycle 0 correctemotion "boos"
  2244. setcycle 1 emotion_nr "3"
  2245. setcycle 1 correct_response "3"
  2246. setcycle 1 attempt_nr "4"
  2247. setcycle 1 speaker_nr "1"
  2248. setcycle 1 correctemotion "verdrietig"
  2249. setcycle 2 emotion_nr "5"
  2250. setcycle 2 correct_response "1"
  2251. setcycle 2 attempt_nr "2"
  2252. setcycle 2 speaker_nr "1"
  2253. setcycle 2 correctemotion "blij"
  2254. setcycle 3 emotion_nr "2"
  2255. setcycle 3 correct_response "2"
  2256. setcycle 3 attempt_nr "3"
  2257. setcycle 3 speaker_nr "4"
  2258. setcycle 3 correctemotion "boos"
  2259. setcycle 4 emotion_nr "3"
  2260. setcycle 4 correct_response "3"
  2261. setcycle 4 attempt_nr "1"
  2262. setcycle 4 speaker_nr "4"
  2263. setcycle 4 correctemotion "verdrietig"
  2264. setcycle 5 emotion_nr "5"
  2265. setcycle 5 correct_response "1"
  2266. setcycle 5 attempt_nr "2"
  2267. setcycle 5 speaker_nr "4"
  2268. setcycle 5 correctemotion "blij"
  2269. setcycle 6 emotion_nr "2"
  2270. setcycle 6 correct_response "2"
  2271. setcycle 6 attempt_nr "3"
  2272. setcycle 6 speaker_nr "5"
  2273. setcycle 6 correctemotion "boos"
  2274. setcycle 7 emotion_nr "3"
  2275. setcycle 7 correct_response "3"
  2276. setcycle 7 attempt_nr "2"
  2277. setcycle 7 speaker_nr "5"
  2278. setcycle 7 correctemotion "verdrietig"
  2279. setcycle 8 emotion_nr "5"
  2280. setcycle 8 correct_response "1"
  2281. setcycle 8 attempt_nr "1"
  2282. setcycle 8 speaker_nr "5"
  2283. setcycle 8 correctemotion "blij"
  2284. setcycle 9 emotion_nr "2"
  2285. setcycle 9 correct_response "2"
  2286. setcycle 9 attempt_nr "2"
  2287. setcycle 9 speaker_nr "8"
  2288. setcycle 9 correctemotion "boos"
  2289. setcycle 10 emotion_nr "3"
  2290. setcycle 10 correct_response "3"
  2291. setcycle 10 attempt_nr "1"
  2292. setcycle 10 speaker_nr "8"
  2293. setcycle 10 correctemotion "verdrietig"
  2294. setcycle 11 emotion_nr "5"
  2295. setcycle 11 correct_response "1"
  2296. setcycle 11 attempt_nr "4"
  2297. setcycle 11 speaker_nr "8"
  2298. setcycle 11 correctemotion "blij"
  2299. run Vocal_practice_sequence
  2300.  
  2301. define loop Vocal_practice_loop_1
  2302. set skip 0
  2303. set repeat 0.4
  2304. set order random
  2305. set offset no
  2306. set item Vocal_practice_sequence_1
  2307. set description "Repeatedly runs another item"
  2308. set cycles 12
  2309. set column_order "speaker_nr;emotion_nr;attempt_nr;correctemotion;correct_response"
  2310. set break_if never
  2311. setcycle 0 emotion_nr "2"
  2312. setcycle 0 correct_response "2"
  2313. setcycle 0 attempt_nr "4"
  2314. setcycle 0 speaker_nr "1"
  2315. setcycle 0 correctemotion "boos"
  2316. setcycle 1 emotion_nr "3"
  2317. setcycle 1 correct_response "3"
  2318. setcycle 1 attempt_nr "4"
  2319. setcycle 1 speaker_nr "1"
  2320. setcycle 1 correctemotion "verdrietig"
  2321. setcycle 2 emotion_nr "5"
  2322. setcycle 2 correct_response "1"
  2323. setcycle 2 attempt_nr "2"
  2324. setcycle 2 speaker_nr "1"
  2325. setcycle 2 correctemotion "blij"
  2326. setcycle 3 emotion_nr "2"
  2327. setcycle 3 correct_response "2"
  2328. setcycle 3 attempt_nr "3"
  2329. setcycle 3 speaker_nr "4"
  2330. setcycle 3 correctemotion "boos"
  2331. setcycle 4 emotion_nr "3"
  2332. setcycle 4 correct_response "3"
  2333. setcycle 4 attempt_nr "1"
  2334. setcycle 4 speaker_nr "4"
  2335. setcycle 4 correctemotion "verdrietig"
  2336. setcycle 5 emotion_nr "5"
  2337. setcycle 5 correct_response "1"
  2338. setcycle 5 attempt_nr "2"
  2339. setcycle 5 speaker_nr "4"
  2340. setcycle 5 correctemotion "blij"
  2341. setcycle 6 emotion_nr "2"
  2342. setcycle 6 correct_response "2"
  2343. setcycle 6 attempt_nr "3"
  2344. setcycle 6 speaker_nr "5"
  2345. setcycle 6 correctemotion "boos"
  2346. setcycle 7 emotion_nr "3"
  2347. setcycle 7 correct_response "3"
  2348. setcycle 7 attempt_nr "2"
  2349. setcycle 7 speaker_nr "5"
  2350. setcycle 7 correctemotion "verdrietig"
  2351. setcycle 8 emotion_nr "5"
  2352. setcycle 8 correct_response "1"
  2353. setcycle 8 attempt_nr "1"
  2354. setcycle 8 speaker_nr "5"
  2355. setcycle 8 correctemotion "blij"
  2356. setcycle 9 emotion_nr "2"
  2357. setcycle 9 correct_response "2"
  2358. setcycle 9 attempt_nr "2"
  2359. setcycle 9 speaker_nr "8"
  2360. setcycle 9 correctemotion "boos"
  2361. setcycle 10 emotion_nr "3"
  2362. setcycle 10 correct_response "3"
  2363. setcycle 10 attempt_nr "1"
  2364. setcycle 10 speaker_nr "8"
  2365. setcycle 10 correctemotion "verdrietig"
  2366. setcycle 11 emotion_nr "5"
  2367. setcycle 11 correct_response "1"
  2368. setcycle 11 attempt_nr "4"
  2369. setcycle 11 speaker_nr "8"
  2370. setcycle 11 correctemotion "blij"
  2371. run Vocal_practice_sequence_1
  2372.  
  2373. define loop Vocal_practice_loop_main
  2374. set skip 0
  2375. set repeat 1
  2376. set order random
  2377. set offset no
  2378. set item Vocal_practice_block_sequence
  2379. set description "Repeatedly runs another item"
  2380. set cycles 1
  2381. set column_order ""
  2382. set break_if never
  2383. run Vocal_practice_block_sequence
  2384.  
  2385. define loop Vocal_practice_loop_main_1
  2386. set skip 0
  2387. set repeat 1
  2388. set order random
  2389. set offset no
  2390. set item Vocal_practice_block_sequence_1
  2391. set description "Repeatedly runs another item"
  2392. set cycles 1
  2393. set column_order ""
  2394. set break_if never
  2395. run Vocal_practice_block_sequence_1
  2396.  
  2397. define sequence Vocal_practice_sequence
  2398. # run Feedback_positive "[Antwoord_1]=![correctanswer]"
  2399. set flush_keyboard yes
  2400. set description "Runs a number of items in sequence"
  2401. run Luidspreker always
  2402. run Vocal_sound always
  2403. run Random_locatie_smilies_1 always
  2404. run Smilies always
  2405. run antwoord_practice always
  2406. run correct_response always
  2407. run Feedback_negative "[vocal_correct]=0"
  2408. run Feedback_positive_3 "[vocal_correct]=1"
  2409. run Experiment_Logger_1 always
  2410.  
  2411. define sequence Vocal_practice_sequence_1
  2412. # run Feedback_positive "[Antwoord_1]=![correctanswer]"
  2413. set flush_keyboard yes
  2414. set description "Runs a number of items in sequence"
  2415. run Luidspreker_1 always
  2416. run Vocal_sound_1 always
  2417. run Random_locatie_smilies_1_2 always
  2418. run Smilies_1 always
  2419. run antwoord_practice_1 always
  2420. run correct_response_1 always
  2421. run Feedback_negative_1 "[vocal_correct]=0"
  2422. run Feedback_positive_3_1 "[vocal_correct]=1"
  2423. run Experiment_Logger_1_2 always
  2424.  
  2425. define reset_feedback Vocal_reset_feedback_4
  2426. set description "Resets the feedback variables, such as 'avg_rt' and 'acc'"
  2427.  
  2428. define sequence Vocal_sequence
  2429. set flush_keyboard yes
  2430. set description "Runs a number of items in sequence"
  2431. run new_inline_script always
  2432. run Vocal_practice_loop_main always
  2433. run Vocal_experiment_loop_main always
  2434. run End_of_vocaltask always
  2435.  
  2436. define sequence Vocal_sequence_1
  2437. set flush_keyboard yes
  2438. set description "Runs a number of items in sequence"
  2439. run new_inline_script_1 always
  2440. run Vocal_practice_loop_main_1 always
  2441. run Vocal_experiment_loop_main_1 always
  2442. run End_of_vocaltask_1 always
  2443.  
  2444. define sampler Vocal_sound
  2445. set volume 1
  2446. set stop_after 0
  2447. set sample "s[speaker_nr]e[emotion_nr]n[attempt_nr].wav"
  2448. set pitch 1
  2449. set pan 0
  2450. set fade_in 0
  2451. set duration sound
  2452. set description "Plays a sound file in .wav or .ogg format"
  2453.  
  2454. define sampler Vocal_sound_1
  2455. set volume 1
  2456. set stop_after 0
  2457. set sample "s[speaker_nr]e[emotion_nr]n[attempt_nr].wav"
  2458. set pitch 1
  2459. set pan 0
  2460. set fade_in 0
  2461. set duration sound
  2462. set description "Plays a sound file in .wav or .ogg format"
  2463.  
  2464. define touch_response antwoord_exp
  2465. set timeout infinite
  2466. set show_cursor yes
  2467. set flush yes
  2468. set duration mouseclick
  2469. set description "A grid-based response item, convenient for touch screens"
  2470. set _nrow 1
  2471. set _ncol 3
  2472.  
  2473. define touch_response antwoord_exp_1
  2474. set timeout infinite
  2475. set show_cursor yes
  2476. set flush yes
  2477. set duration mouseclick
  2478. set description "A grid-based response item, convenient for touch screens"
  2479. set _nrow 1
  2480. set _ncol 3
  2481.  
  2482. define touch_response antwoord_exp_2
  2483. set timeout infinite
  2484. set show_cursor yes
  2485. set flush yes
  2486. set duration mouseclick
  2487. set description "A grid-based response item, convenient for touch screens"
  2488. set _nrow 1
  2489. set _ncol 3
  2490.  
  2491. define touch_response antwoord_experiment_1_1
  2492. set timeout infinite
  2493. set show_cursor yes
  2494. set flush yes
  2495. set duration mouseclick
  2496. set description "A grid-based response item, convenient for touch screens"
  2497. set _nrow 1
  2498. set _ncol 3
  2499.  
  2500. define touch_response antwoord_practice
  2501. set timeout infinite
  2502. set show_cursor yes
  2503. set flush yes
  2504. set duration mouseclick
  2505. set description "A grid-based response item, convenient for touch screens"
  2506. set _nrow 1
  2507. set _ncol 3
  2508.  
  2509. define touch_response antwoord_practice_1
  2510. set timeout infinite
  2511. set show_cursor yes
  2512. set flush yes
  2513. set duration mouseclick
  2514. set description "A grid-based response item, convenient for touch screens"
  2515. set _nrow 1
  2516. set _ncol 3
  2517.  
  2518. define inline_script correct_response
  2519. set description "Executes Python code"
  2520. ___run__
  2521. print var.response_antwoord_practice
  2522. print var.correct_response
  2523.  
  2524. var.vocal_total_responses += 1
  2525.  
  2526. # Recode response from touchscreen to coordinates
  2527. if var.response_antwoord_practice == 1:
  2528. var.response_antwoord_practice = -380
  2529.  
  2530. elif var.response_antwoord_practice == 2:
  2531. var.response_antwoord_practice = 0
  2532.  
  2533. else:
  2534. var.response_antwoord_practice = 380
  2535.  
  2536. # Check if response is correct response
  2537. if var.response_antwoord_practice == var.correct_response:
  2538. var.vocal_correct = 1
  2539.  
  2540. else:
  2541. var.vocal_correct = 0
  2542.  
  2543. print var.vocal_correct
  2544.  
  2545. # Calculate accuracy
  2546. if var.vocal_correct == 1:
  2547. var.vocal_total_correct += 1
  2548.  
  2549. elif var.vocal_correct == 0:
  2550. var.vocal_total_incorrect += 1
  2551.  
  2552. # Calculate accuracy, total_responses is updated automatically
  2553.  
  2554. var.vocal_acc= (var.vocal_total_correct / float(var.vocal_total_responses )) *100
  2555.  
  2556. print('Accuracy is %.2f%%' % var.vocal_acc)
  2557. __end__
  2558. set _prepare ""
  2559.  
  2560. define inline_script correct_response_1
  2561. set description "Executes Python code"
  2562. ___run__
  2563. print var.response_antwoord_practice
  2564. print var.correct_response
  2565.  
  2566. var.vocal_total_responses += 1
  2567.  
  2568. # Recode response from touchscreen to coordinates
  2569. if var.response_antwoord_practice == 1:
  2570. var.response_antwoord_practice = -380
  2571.  
  2572. elif var.response_antwoord_practice == 2:
  2573. var.response_antwoord_practice = 0
  2574.  
  2575. else:
  2576. var.response_antwoord_practice = 380
  2577.  
  2578. # Check if response is correct response
  2579. if var.response_antwoord_practice == var.correct_response:
  2580. var.vocal_correct = 1
  2581.  
  2582. else:
  2583. var.vocal_correct = 0
  2584.  
  2585. print var.vocal_correct
  2586.  
  2587. # Calculate accuracy
  2588. if var.vocal_correct == 1:
  2589. var.vocal_total_correct += 1
  2590.  
  2591. elif var.vocal_correct == 0:
  2592. var.vocal_total_incorrect += 1
  2593.  
  2594. # Calculate accuracy, total_responses is updated automatically
  2595.  
  2596. var.vocal_acc= (var.vocal_total_correct / float(var.vocal_total_responses )) *100
  2597.  
  2598. print('Accuracy is %.2f%%' % var.vocal_acc)
  2599. __end__
  2600. set _prepare ""
  2601.  
  2602. define inline_script correct_response_1_1
  2603. set description "Executes Python code"
  2604. ___run__
  2605. print var.response_antwoord_exp
  2606. print var.correct_response
  2607.  
  2608. var.vocal_total_responses += 1
  2609.  
  2610. # Recode response from touchscreen to coordinates
  2611. if var.response_antwoord_exp == 1:
  2612. var.response_antwoord_exp = -380
  2613.  
  2614. elif var.response_antwoord_exp == 2:
  2615. var.response_antwoord_exp = 0
  2616.  
  2617. else:
  2618. var.response_antwoord_exp = 380
  2619.  
  2620. # Check if response is correct response
  2621. if var.response_antwoord_exp == var.correct_response:
  2622. var.correct = 1
  2623.  
  2624. else:
  2625. var.correct = 0
  2626.  
  2627. print var.correct
  2628.  
  2629. # Calculate accuracy
  2630. if var.correct == 1:
  2631. var.total_correct += 1
  2632.  
  2633. elif var.correct == 0:
  2634. var.total_incorrect += 1
  2635.  
  2636. var.acc= (var.total_correct / float(var.total_responses )) *100
  2637.  
  2638. print('Accuracy is %.2f%%' % var.acc)
  2639. __end__
  2640. set _prepare ""
  2641.  
  2642. define inline_script correct_response_1_1_1
  2643. set description "Executes Python code"
  2644. ___run__
  2645. print var.response_antwoord_experiment
  2646. print var.correct_response
  2647.  
  2648. # Recode response from touchscreen to coordinates
  2649. if var.response_antwoord_experiment == 1:
  2650. var.response_antwoord_experiment = -380
  2651.  
  2652. elif var.response_antwoord_experiment == 2:
  2653. var.response_antwoord_experiment = 0
  2654.  
  2655. else:
  2656. var.response_antwoord_experiment = 380
  2657.  
  2658. # Check if response is correct response
  2659. if var.response_antwoord_experiment == var.correct_response:
  2660. var.correct = 1
  2661.  
  2662. else:
  2663. var.correct = 0
  2664.  
  2665. print var.correct
  2666.  
  2667. # Calculate accuracy
  2668. if var.correct == 1:
  2669. var.total_correct += 1
  2670.  
  2671. elif var.correct == 0:
  2672. var.total_incorrect += 1
  2673.  
  2674. var.acc= (var.total_correct / float(var.total_responses )) *100
  2675.  
  2676. print('Accuracy is %.2f%%' % var.acc)
  2677. __end__
  2678. set _prepare ""
  2679.  
  2680. define inline_script correct_response_1_1_2
  2681. set description "Executes Python code"
  2682. ___run__
  2683. print var.response_antwoord_exp
  2684. print var.correct_response
  2685.  
  2686. var.vocal_total_responses += 1
  2687.  
  2688. # Recode response from touchscreen to coordinates
  2689. if var.response_antwoord_exp == 1:
  2690. var.response_antwoord_exp = -380
  2691.  
  2692. elif var.response_antwoord_exp == 2:
  2693. var.response_antwoord_exp = 0
  2694.  
  2695. else:
  2696. var.response_antwoord_exp = 380
  2697.  
  2698. # Check if response is correct response
  2699. if var.response_antwoord_exp == var.correct_response:
  2700. var.correct = 1
  2701.  
  2702. else:
  2703. var.correct = 0
  2704.  
  2705. print var.correct
  2706.  
  2707. # Calculate accuracy
  2708. if var.correct == 1:
  2709. var.total_correct += 1
  2710.  
  2711. elif var.correct == 0:
  2712. var.total_incorrect += 1
  2713.  
  2714. var.acc= (var.total_correct / float(var.total_responses )) *100
  2715.  
  2716. print('Accuracy is %.2f%%' % var.acc)
  2717. __end__
  2718. set _prepare ""
  2719.  
  2720. define inline_script correct_response_1_1_3
  2721. set description "Executes Python code"
  2722. ___run__
  2723. print var.response_antwoord_exp
  2724. print var.correct_response
  2725.  
  2726. var.vocal_total_responses += 1
  2727.  
  2728. # Recode response from touchscreen to coordinates
  2729. if var.response_antwoord_exp == 1:
  2730. var.response_antwoord_exp = -380
  2731.  
  2732. elif var.response_antwoord_exp == 2:
  2733. var.response_antwoord_exp = 0
  2734.  
  2735. else:
  2736. var.response_antwoord_exp = 380
  2737.  
  2738. # Check if response is correct response
  2739. if var.response_antwoord_exp == var.correct_response:
  2740. var.correct = 1
  2741.  
  2742. else:
  2743. var.correct = 0
  2744.  
  2745. print var.correct
  2746.  
  2747. # Calculate accuracy
  2748. if var.correct == 1:
  2749. var.total_correct += 1
  2750.  
  2751. elif var.correct == 0:
  2752. var.total_incorrect += 1
  2753.  
  2754. var.acc= (var.total_correct / float(var.total_responses )) *100
  2755.  
  2756. print('Accuracy is %.2f%%' % var.acc)
  2757. __end__
  2758. set _prepare ""
  2759.  
  2760. define sequence experiment
  2761. set flush_keyboard yes
  2762. set description "Runs a number of items in sequence"
  2763. run init_variables always
  2764. run Algemene_introductie_1 always
  2765. run Algemene_loop always
  2766. run End_task always
  2767.  
  2768. define sketchpad facial_ans_exp_1
  2769. set duration 0
  2770. set description "Displays stimuli"
  2771. draw image center=1 file="boos.png" scale=0.8 show_if=always x=-425 y=100 z_index=0
  2772. draw image center=1 file="walging.png" scale=0.8 show_if=always x=-255 y=100 z_index=0
  2773. draw image center=1 file="blij.png" scale=0.8 show_if=always x=-85 y=100 z_index=0
  2774. draw image center=1 file="verdrietig.png" scale=0.8 show_if=always x=85 y=100 z_index=0
  2775. draw image center=1 file="verbaasd.png" scale=0.8 show_if=always x=255 y=100 z_index=0
  2776. draw image center=1 file="bang1.png" scale=0.8 show_if=always x=425 y=100 z_index=0
  2777.  
  2778. define sketchpad facial_ans_exp_1_1
  2779. set duration 0
  2780. set description "Displays stimuli"
  2781. draw image center=1 file="boos.png" scale=0.8 show_if=always x=-425 y=100 z_index=0
  2782. draw image center=1 file="walging.png" scale=0.8 show_if=always x=-255 y=100 z_index=0
  2783. draw image center=1 file="blij.png" scale=0.8 show_if=always x=-85 y=100 z_index=0
  2784. draw image center=1 file="verdrietig.png" scale=0.8 show_if=always x=85 y=100 z_index=0
  2785. draw image center=1 file="verbaasd.png" scale=0.8 show_if=always x=255 y=100 z_index=0
  2786. draw image center=1 file="bang1.png" scale=0.8 show_if=always x=425 y=100 z_index=0
  2787.  
  2788. define sketchpad facial_ans_exp_1_2
  2789. set duration 0
  2790. set description "Displays stimuli"
  2791. draw image center=1 file="boos.png" scale=0.8 show_if=always x=-425 y=100 z_index=0
  2792. draw image center=1 file="walging.png" scale=0.8 show_if=always x=-255 y=100 z_index=0
  2793. draw image center=1 file="blij.png" scale=0.8 show_if=always x=-85 y=100 z_index=0
  2794. draw image center=1 file="verdrietig.png" scale=0.8 show_if=always x=85 y=100 z_index=0
  2795. draw image center=1 file="verbaasd.png" scale=0.8 show_if=always x=255 y=100 z_index=0
  2796. draw image center=1 file="bang1.png" scale=0.8 show_if=always x=425 y=100 z_index=0
  2797.  
  2798. define sketchpad facial_ans_exp_1_3
  2799. set duration 0
  2800. set description "Displays stimuli"
  2801. draw image center=1 file="boos.png" scale=0.8 show_if=always x=-425 y=100 z_index=0
  2802. draw image center=1 file="walging.png" scale=0.8 show_if=always x=-255 y=100 z_index=0
  2803. draw image center=1 file="blij.png" scale=0.8 show_if=always x=-85 y=100 z_index=0
  2804. draw image center=1 file="verdrietig.png" scale=0.8 show_if=always x=85 y=100 z_index=0
  2805. draw image center=1 file="verbaasd.png" scale=0.8 show_if=always x=255 y=100 z_index=0
  2806. draw image center=1 file="bang1.png" scale=0.8 show_if=always x=425 y=100 z_index=0
  2807.  
  2808. define sketchpad facial_ans_practice
  2809. set duration 0
  2810. set description "Displays stimuli"
  2811. draw image center=1 file="boos.png" scale=0.8 show_if=always x=-425 y=100 z_index=0
  2812. draw image center=1 file="walging.png" scale=0.8 show_if=always x=-255 y=100 z_index=0
  2813. draw image center=1 file="blij.png" scale=0.8 show_if=always x=-85 y=100 z_index=0
  2814. draw image center=1 file="verdrietig.png" scale=0.8 show_if=always x=85 y=100 z_index=0
  2815. draw image center=1 file="verbaasd.png" scale=0.8 show_if=always x=255 y=100 z_index=0
  2816. draw image center=1 file="bang1.png" scale=0.8 show_if=always x=425 y=100 z_index=0
  2817.  
  2818. define sketchpad facial_ans_practice_1
  2819. set duration 0
  2820. set description "Displays stimuli"
  2821. draw image center=1 file="boos.png" scale=0.8 show_if=always x=-425 y=100 z_index=0
  2822. draw image center=1 file="walging.png" scale=0.8 show_if=always x=-255 y=100 z_index=0
  2823. draw image center=1 file="blij.png" scale=0.8 show_if=always x=-85 y=100 z_index=0
  2824. draw image center=1 file="verdrietig.png" scale=0.8 show_if=always x=85 y=100 z_index=0
  2825. draw image center=1 file="verbaasd.png" scale=0.8 show_if=always x=255 y=100 z_index=0
  2826. draw image center=1 file="bang1.png" scale=0.8 show_if=always x=425 y=100 z_index=0
  2827.  
  2828. define touch_response facial_antwoord_experiment_1
  2829. set timeout infinite
  2830. set show_cursor yes
  2831. set flush yes
  2832. set duration mouseclick
  2833. set description "A grid-based response item, convenient for touch screens"
  2834. set _nrow 1
  2835. set _ncol 6
  2836.  
  2837. define touch_response facial_antwoord_experiment_1_1
  2838. set timeout infinite
  2839. set show_cursor yes
  2840. set flush yes
  2841. set duration mouseclick
  2842. set description "A grid-based response item, convenient for touch screens"
  2843. set _nrow 1
  2844. set _ncol 6
  2845.  
  2846. define touch_response facial_antwoord_experiment_1_2
  2847. set timeout infinite
  2848. set show_cursor yes
  2849. set flush yes
  2850. set duration mouseclick
  2851. set description "A grid-based response item, convenient for touch screens"
  2852. set _nrow 1
  2853. set _ncol 6
  2854.  
  2855. define touch_response facial_antwoord_experiment_1_3
  2856. set timeout infinite
  2857. set show_cursor yes
  2858. set flush yes
  2859. set duration mouseclick
  2860. set description "A grid-based response item, convenient for touch screens"
  2861. set _nrow 1
  2862. set _ncol 6
  2863.  
  2864. define touch_response facial_antwoord_practice
  2865. set timeout infinite
  2866. set show_cursor yes
  2867. set flush yes
  2868. set duration mouseclick
  2869. set description "A grid-based response item, convenient for touch screens"
  2870. set _nrow 1
  2871. set _ncol 6
  2872.  
  2873. define touch_response facial_antwoord_practice_1
  2874. set timeout infinite
  2875. set show_cursor yes
  2876. set flush yes
  2877. set duration mouseclick
  2878. set description "A grid-based response item, convenient for touch screens"
  2879. set _nrow 1
  2880. set _ncol 6
  2881.  
  2882. define sketchpad facial_stimulus_experiment_1
  2883. set duration 2000
  2884. set description "Displays stimuli"
  2885. set background "#000000"
  2886. draw image center=1 file="[Person][Emotion][Intensity].jpg" scale=1 show_if=always x=0 y=0 z_index=0
  2887.  
  2888. define sketchpad facial_stimulus_experiment_1_1
  2889. set duration 2000
  2890. set description "Displays stimuli"
  2891. set background "#000000"
  2892. draw image center=1 file="[Person][Emotion][Intensity].jpg" scale=1 show_if=always x=0 y=0 z_index=0
  2893.  
  2894. define sketchpad facial_stimulus_experiment_1_2
  2895. set duration 2000
  2896. set description "Displays stimuli"
  2897. set background "#000000"
  2898. draw image center=1 file="[Person][Emotion][Intensity].jpg" scale=1 show_if=always x=0 y=0 z_index=0
  2899.  
  2900. define sketchpad facial_stimulus_experiment_1_3
  2901. set duration 2000
  2902. set description "Displays stimuli"
  2903. set background "#000000"
  2904. draw image center=1 file="[Person][Emotion][Intensity].jpg" scale=1 show_if=always x=0 y=0 z_index=0
  2905.  
  2906. define sketchpad facial_stimulus_prractice
  2907. set duration 2000
  2908. set description "Displays stimuli"
  2909. set background "#000000"
  2910. draw image center=1 file="[Person][Emotion][Intensity].jpg" scale=1 show_if=always x=0 y=0 z_index=0
  2911.  
  2912. define sketchpad facial_stimulus_prractice_1
  2913. set duration 2000
  2914. set description "Displays stimuli"
  2915. set background "#000000"
  2916. draw image center=1 file="[Person][Emotion][Intensity].jpg" scale=1 show_if=always x=0 y=0 z_index=0
  2917.  
  2918. define fixation_dot fixation_dot_facial
  2919. set y 0
  2920. set x 0
  2921. set style "large-cross"
  2922. set penwidth 3
  2923. set foreground "#ffffff"
  2924. set duration 500
  2925. set description "Presents a central fixation dot with a choice of various styles"
  2926. set background "#000000"
  2927.  
  2928. define fixation_dot fixation_dot_facial_1
  2929. set y 0
  2930. set x 0
  2931. set style "large-cross"
  2932. set penwidth 3
  2933. set foreground "#ffffff"
  2934. set duration 500
  2935. set description "Presents a central fixation dot with a choice of various styles"
  2936. set background "#000000"
  2937.  
  2938. define fixation_dot fixation_dot_facialexp_1
  2939. set y 0
  2940. set x 0
  2941. set style "large-cross"
  2942. set penwidth 3
  2943. set foreground "#ffffff"
  2944. set duration 500
  2945. set description "Presents a central fixation dot with a choice of various styles"
  2946. set background "#000000"
  2947.  
  2948. define fixation_dot fixation_dot_facialexp_1_1
  2949. set y 0
  2950. set x 0
  2951. set style "large-cross"
  2952. set penwidth 3
  2953. set foreground "#ffffff"
  2954. set duration 500
  2955. set description "Presents a central fixation dot with a choice of various styles"
  2956. set background "#000000"
  2957.  
  2958. define fixation_dot fixation_dot_facialexp_1_2
  2959. set y 0
  2960. set x 0
  2961. set style "large-cross"
  2962. set penwidth 3
  2963. set foreground "#ffffff"
  2964. set duration 500
  2965. set description "Presents a central fixation dot with a choice of various styles"
  2966. set background "#000000"
  2967.  
  2968. define fixation_dot fixation_dot_facialexp_1_3
  2969. set y 0
  2970. set x 0
  2971. set style "large-cross"
  2972. set penwidth 3
  2973. set foreground "#ffffff"
  2974. set duration 500
  2975. set description "Presents a central fixation dot with a choice of various styles"
  2976. set background "#000000"
  2977.  
  2978. define notepad getting_started
  2979. __note__
  2980. Welcome to OpenSesame 3.0 "Interactive Ising"!
  2981. If you are new to OpenSesame, it is a good idea to follow one of the tutorials,
  2982. which can be found on the documentation site:
  2983. - <http://osdoc.cogsci.nl/>
  2984. You can also check out the examples. These can be opened via:
  2985. - Menu -> Tools -> Example experiments.
  2986. And feel free to ask for help on the forum:
  2987. - <http://forum.cogsci.nl/>
  2988. Have fun with OpenSesame!
  2989. __end__
  2990. set description "Some pointers to help you get started!"
  2991.  
  2992. define inline_script init_variables
  2993. set description "Executes Python code"
  2994. ___run__
  2995. var.total_correct = 0
  2996. var.total_responses = 0
  2997. var.total_incorrect = 0
  2998. var.facial_correct = 0
  2999. var.facial_incorrect = 0
  3000. var.facial_total_responses=0
  3001. var.facial_acc = 0
  3002. var.facial_total_correct = 0
  3003. var.facial_total_incorrect = 0
  3004. var.vocal_correct = 0
  3005. var.vocal_incorrect = 0
  3006. var.vocal_acc = 0
  3007. var.vocal_total_responses = 0
  3008. var.vocal_total_correct = 0
  3009. var.vocal_total_incorrect = 0
  3010. var.Volgorde = []
  3011. __end__
  3012. set _prepare ""
  3013.  
  3014. define inline_script new_inline_script
  3015. set description "Executes Python code"
  3016. set _run ""
  3017. ___prepare__
  3018. var.acc = 0
  3019. var.avg_rt=0
  3020. __end__
  3021.  
  3022. define inline_script new_inline_script_1
  3023. set description "Executes Python code"
  3024. set _run ""
  3025. ___prepare__
  3026. var.acc = 0
  3027. var.avg_rt=0
  3028. __end__
  3029.  
  3030. define inline_script new_inline_script_2
  3031. set description "Executes Python code"
  3032. set _run ""
  3033. ___prepare__
  3034. var.acc = 0
  3035. var.avg_rt=0
  3036. __end__
  3037.  
  3038. define reset_feedback new_reset_feedback_1
  3039. set description "Resets the feedback variables, such as 'avg_rt' and 'acc'"
  3040.  
  3041. define reset_feedback new_reset_feedback_1_1
  3042. set description "Resets the feedback variables, such as 'avg_rt' and 'acc'"
  3043.  
  3044. define reset_feedback new_reset_feedback_1_2
  3045. set description "Resets the feedback variables, such as 'avg_rt' and 'acc'"
  3046.  
  3047. define reset_feedback new_reset_feedback_1_3
  3048. set description "Resets the feedback variables, such as 'avg_rt' and 'acc'"
  3049.  
  3050. define reset_feedback new_reset_feedback_1_4
  3051. set description "Resets the feedback variables, such as 'avg_rt' and 'acc'"
  3052.  
  3053. define reset_feedback new_reset_feedback_3
  3054. set description "Resets the feedback variables, such as 'avg_rt' and 'acc'"
  3055.  
  3056. define inline_script random_volgorde_taken
  3057. set description "Executes Python code"
  3058. set _run ""
  3059. ___prepare__
  3060. # Select random number
  3061. import random
  3062. var.rand = []
  3063. var.rand = random.randint(0,1)
  3064.  
  3065. print var.rand
  3066.  
  3067. if var.rand == 0:
  3068. var.Volgorde = 0
  3069. else:
  3070. var.Volgorde = 1
  3071.  
  3072. print var.Volgorde
  3073. __end__
  3074.  
  3075. define sketchpad welcome
  3076. set start_response_interval no
  3077. set reset_variables no
  3078. set duration keypress
  3079. set description "Displays stimuli"
  3080. draw textline center=1 color=white font_bold=no font_family=serif font_italic=no font_size=32 html=yes show_if=always text="OpenSesame 3.0 <i>Interactive Ising</i>" x=0 y=0 z_index=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement