| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>ExperimentMFC 5.2. Stimulus-dependent response buttons</title> |
| 3 |
<style> |
| 4 |
td { padding-left: 5pt; padding-right: 5pt; } |
| 5 |
th { padding-left: 5pt; padding-right: 5pt; } |
| 6 |
code { white-space: pre-wrap; } |
| 7 |
dd { white-space: pre-wrap; } |
| 8 |
</style> |
| 9 |
</head><body bgcolor="#FFFFFF"> |
| 10 |
|
| 11 |
<table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 |
ExperimentMFC 5.2. Stimulus-dependent response buttons |
| 13 |
</b></font></table></table> |
| 14 |
<p>The <a href="ExperimentMFC_2_1__The_experiment_file.html">example experiment</a> contained the following lines:</p> |
| 15 |
<code> numberOfDifferentStimuli = 4<br></code> |
| 16 |
<code> "heed" ""<br></code> |
| 17 |
<code> "hid" ""<br></code> |
| 18 |
<code> "hood" ""<br></code> |
| 19 |
<code> "hud" ""<br></code> |
| 20 |
<code> ...<br></code> |
| 21 |
<code> ...<br></code> |
| 22 |
<code> numberOfDifferentResponses = 5<br></code> |
| 23 |
<code> 0.2 0.3 0.7 0.8 "h I d" 40 "" "i"<br></code> |
| 24 |
<code> 0.3 0.4 0.5 0.6 "h E d" 40 "" "e"<br></code> |
| 25 |
<code> 0.4 0.5 0.3 0.4 "h A d" 40 "" "a"<br></code> |
| 26 |
<code> 0.5 0.6 0.5 0.6 "h O d" 40 "" "o"<br></code> |
| 27 |
<code> 0.6 0.7 0.7 0.8 "h U d" 40 "" "u"<br></code> |
| 28 |
<p>For every stimulus, the buttons contained the same visible texts, such as "h I d" and "h A d".</p> |
| 29 |
<p>But suppose you have an experiment about the perception of voicing in plosives. The first stimulus starts with an ambiguous /b/ or /p/, and you want the participant to choose between "bath" and "path". The next stimulus starts with an ambiguous /d/ or /t/, and you want the participant to choose between "dart" and "tart". You would go about like this:</p> |
| 30 |
<code> numberOfDifferentStimuli = 6<br></code> |
| 31 |
<code> "bpath1" "|bath|path"<br></code> |
| 32 |
<code> "bpath2" "|bath|path"<br></code> |
| 33 |
<code> "bpath3" "|bath|path"<br></code> |
| 34 |
<code> "dtart1" "|dart|tart"<br></code> |
| 35 |
<code> "dtart2" "|dart|tart"<br></code> |
| 36 |
<code> "dtart3" "|dart|tart"<br></code> |
| 37 |
<code> ...<br></code> |
| 38 |
<code> ...<br></code> |
| 39 |
<code> numberOfDifferentResponses = 2<br></code> |
| 40 |
<code> 0.2 0.4 0.7 0.8 "" 40 "" "left"<br></code> |
| 41 |
<code> 0.6 0.8 0.7 0.8 "" 40 "" "right"<br></code> |
| 42 |
<p>In this case, the two response buttons show either "path" and "path", or "dart" and "tart".</p> |
| 43 |
<p>In the ResultsMFC (see <a href="ExperimentMFC_2_9__How_an_experiment_proceeds.html">ExperimentMFC 2.9. How an experiment proceeds</a>), the stimuli will be recorded as “bpath1|bath|path” and the like, not just as “bpath1”. Praat does this in order to be able to cope with balanced designs such as</p> |
| 44 |
<code> "bpath1" "|bath|path"<br></code> |
| 45 |
<code> "bpath1" "|path|bath"<br></code> |
| 46 |
<p>In other words, the button ordering is considered part of the stimulus.</p> |
| 47 |
<p>This trick can be combined with a stimulus-dependent run text:</p> |
| 48 |
<code> numberOfDifferentStimuli = 32<br></code> |
| 49 |
<code> "bpath1" "Throw a...|bath|path"<br></code> |
| 50 |
<code> "bpath1" "Walk a...|bath|path"<br></code> |
| 51 |
<code> "bpath2" "Walk a...|bath|path"<br></code> |
| 52 |
<code> "dtart1" "Throw a...|dart|tart"<br></code> |
| 53 |
<code> "dtart1" "Carry a...|dart|tart"<br></code> |
| 54 |
<code> ...<br></code> |
| 55 |
<code> runText = ""<br></code> |
| 56 |
<code> ...<br></code> |
| 57 |
<code> numberOfDifferentResponses = 2<br></code> |
| 58 |
<code> 0.2 0.4 0.7 0.8 "" 40 "" "left"<br></code> |
| 59 |
<code> 0.6 0.8 0.7 0.8 "" 40 "" "right"<br></code> |
| 60 |
<h3>Links to this page</h3> |
| 61 |
<ul> |
| 62 |
<li><a href="ExperimentMFC.html">ExperimentMFC</a> |
| 63 |
<li><a href="ExperimentMFC_5__Stimulus-dependent_texts.html">ExperimentMFC 5. Stimulus-dependent texts</a> |
| 64 |
</ul> |
| 65 |
<hr> |
| 66 |
<address> |
| 67 |
<p>© ppgb 20070926</p> |
| 68 |
</address> |
| 69 |
</body> |
| 70 |
</html> |