-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample_data.js
More file actions
27 lines (23 loc) · 797 Bytes
/
Copy pathexample_data.js
File metadata and controls
27 lines (23 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Include this line at the top of your scripts
// See the documentation for more information:
// https://lab.florianschwarz.net/PennController/wiki/documentation/
PennController.ResetPrefix(null);
// SAMPLE TRIAL
PennController(
newText("sentence", "<< Chris talks to itself >>")
.print()
,
newText("question", "this sounds...")
.print()
,
newScale("rating", 5)
.settings.before( newText("left" , "bad") )
.settings.after( newText("right", "good") )
.print()
.wait() // The trial will end after a selection has been made
);
// Learn how to use PennController on the website's tutorial:
// https://lab.florianschwarz.net/PennController/wiki/00-tutorial/
//
// Find more example experiments here:
// https://lab.florianschwarz.net/PennController/examples-of-experiments/