Debian Codegraph @

fon/manual_ExperimentMFC.cpp

raw symbols SCIP
1 /* manual_ExperimentMFC.cpp
2 *
3 * Copyright (C) 2001-2011,2013,2015-2017,2019-2021,2023-2025 Paul Boersma
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #include "ManPagesM.h"cxx . . $ `<file>/sys/ManPagesM.h`/
20
21 void manual_ExperimentMFC_initcxx . . $ manual_ExperimentMFC_init(e57bd08652fa63a5). (ManPagescxx . . $ ManPages# me);
22 void manual_ExperimentMFC_initcxx . . $ manual_ExperimentMFC_init(e57bd08652fa63a5). (ManPagescxx . . $ ManPages# me) {
23
24 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC", U"ppgb", 20130101)
25 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"One of the @@types of objects@ in Praat, "
26 "for running a Multiple Forced Choice listening experiment.")
27 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 1. When to use Praat")
28 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2. The first example")
29 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.1. The experiment file")
30 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.2. The stimuli")
31 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.3. The carrier phrase")
32 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.4. Breaks")
33 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.5. Randomization strategies")
34 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.6. Instructions")
35 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.7. Response categories")
36 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.8. Goodness judgments")
37 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.9. How an experiment proceeds")
38 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 3. More examples")
39 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 3.1. A simple discrimination experiment")
40 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 3.2. An AXB discrimination experiment")
41 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 3.3. A 4I-oddity experiment")
42 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 3.4. Variable inter-stimulus intervals")
43 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 4. Special buttons")
44 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 4.1. The replay button")
45 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 4.2. The OK button")
46 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 4.3. The oops button")
47 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 5. Stimulus-dependent texts")
48 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 5.1. The stimulus-dependent run text")
49 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 5.2. Stimulus-dependent response buttons")
50 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 6. Responses are sounds")
51 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 7. Blanking the screen")
52 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 8. Running multiple experiments")
53 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
54
55 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 1. When to use Praat", U"ppgb", 20160925) // 2023-06-08
56 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"With Praat's ExperimentMFC, you can do simple experiments on identification and discrimination. "
57 "“Simple” means that for identification, the subject hears a sound and has to click in one of a set of "
58 "labelled rectangles (optionally, you can have the subject give a goodness-of-fit judgment). "
59 "For discrimination, you can have simple same-different choices, or more intricate things like AXB, 4I-oddity, and so on.")
60 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The advantage of using Praat's ExperimentMFC for this is that it is free, it works on Windows, Unix, and Macintosh, "
61 "and the whole experiment (experiment file plus sound files) is portable across computers "
62 "(you can run it from a USB stick, for instance). Because of the limited possibilities, "
63 "it is also quite easy to set up the experiment. Just read the description below.")
64 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you require more from your experiment design, you can use Praat's @@Demo window@; "
65 "with that less simple method you could for instance let the stimulus depend on the subject's previous responses. "
66 "Alternatively, you could use a dedicated program like Presentation or E-prime instead of Praat; "
67 "with these programs, you can also sometimes measure reaction times more accurately.")
68 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
69
70 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 2. The first example", U"ppgb", 20051205)
71 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"The following pages give an example of an experiment definition, "
72 "and explain the main features of an identification task.")
73 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.1. The experiment file")
74 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.2. The stimuli")
75 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.3. The carrier phrase")
76 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.4. Breaks")
77 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.5. Randomization strategies")
78 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.6. Instructions")
79 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.7. Response categories")
80 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.8. Goodness judgments")
81 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 2.9. How an experiment proceeds")
82 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
83
84 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 2.1. The experiment file", U"ppgb", 20160925)
85 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"An experiment is defined in a simple text file, which we call an %%experiment file%. "
86 "The following is an example of such an experiment file. The first two lines have to be typed "
87 "exactly as in this example, the rest depends on your stimuli, on your response categories, "
88 "and on the way the experiment is to be presented to the listener. "
89 "The order of the elements in this file cannot be changed, and nothing can be skipped. "
90 "The first two lines make the file recognizable for Praat as an ExperimentMFC file; "
91 "the number 7 is the version number of this type of ExperimentMFC file "
92 "(Praat can still read older ExperimentMFC files with a lower version number).")
93 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ooTextFile\"")
94 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ExperimentMFC 7\"")
95 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"blankWhilePlaying? <no>")
96 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimuliAreSounds? <yes>")
97 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusFileNameHead = \"Sounds/\"")
98 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusFileNameTail = \".wav\"")
99 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusCarrierBefore = \"weSayTheWord\"")
100 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusCarrierAfter = \"again\"")
101 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusInitialSilenceDuration = 0.5 seconds")
102 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusMedialSilenceDuration = 0")
103 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusFinalSilenceDuration = 0.5 seconds")
104 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentStimuli = 4")
105 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"heed\" \"\"")
106 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hid\" \"\"")
107 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hood\" \"\"")
108 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hud\" \"\"")
109 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfReplicationsPerStimulus = 3")
110 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"breakAfterEvery = 0")
111 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"randomize = <PermuteBalancedNoDoublets>")
112 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"startText = \"This is a listening experiment.")
113 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"After hearing a sound, choose the vowel that is most similar to what you heard.")
114 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"")
115 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"Click to start.\"")
116 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"runText = \"Choose the vowel that you heard.\"")
117 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"pauseText = \"You can have a short break if you like. Click to proceed.\"")
118 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"endText = \"The experiment has finished.\"")
119 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"maximumNumberOfReplays = 0")
120 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"replayButton = 0 0 0 0 \"\" \"\"")
121 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"okButton = 0 0 0 0 \"\" \"\"")
122 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"oopsButton = 0 0 0 0 \"\" \"\"")
123 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responsesAreSounds? <no> \"\" \"\" \"\" \"\" 0 0 0")
124 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentResponses = 5")
125 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.3 0.7 0.8 \"h I d\" 40 \"\" \"i\"")
126 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.3 0.4 0.5 0.6 \"h E d\" 40 \"\" \"e\"")
127 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.4 0.5 0.3 0.4 \"h A d\" 40 \"\" \"a\"")
128 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.5 0.6 0.5 0.6 \"h O d\" 40 \"\" \"o\"")
129 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.6 0.7 0.7 0.8 \"h U d\" 40 \"\" \"u\"")
130 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfGoodnessCategories = 5")
131 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.25 0.35 0.10 0.20 \"1 (poor)\" 24 \"\"")
132 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.35 0.45 0.10 0.20 \"2\" 24 \"\"")
133 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.45 0.55 0.10 0.20 \"3\" 24 \"\"")
134 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.55 0.65 0.10 0.20 \"4\" 24 \"\"")
135 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.65 0.75 0.10 0.20 \"5 (good)\" 24 \"\"")
136 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This experiment will play 4 different stimuli to the listener, each 3 times. "
137 "Thus, the listener is confronted with 12 trials.")
138 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
139
140 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 2.2. The stimuli", U"ppgb", 20201229)
141 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"You can see that the @@ExperimentMFC 2.1. The experiment file|example experiment@ "
142 "contains four different stimuli: %heed, %hid, %hood, and %hud. "
143 "These are the %names of the four stimuli.")
144 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Because in the example experiment stimuli are sounds, "
145 "each of the four stimuli should be in a sound file. "
146 "The names of these sound files must be identical to the names "
147 "of the stimuli, bracketed with %stimulusFileNamehead and %stimulusFileNameTail. "
148 "Hence, the stimuli are expected in the following four files:")
149 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"Sounds/heed.wav")
150 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"Sounds/hid.wav")
151 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"Sounds/hood.wav")
152 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"Sounds/hud.wav")
153 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"You need not use WAV files. You can also use AIFF files, "
154 "in which case $%stimulusFileNameTail would probably be “.aiff”, or any other "
155 "type of sound file that Praat supports. But all sound files must have the same number of channels "
156 "(i.e. all mono or all stereo) and the same sampling frequency.")
157 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this example, the experiment will look for the sound files in the folder #Sounds, "
158 "which has to be in the same folder as your experiment file. "
159 "In other words, “Sounds/heed.wav” is a %%relative file path%.")
160 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Instead of a relative path, you can also supply a %%full file path%. "
161 "Such a path depends on your computer and on your operating system. "
162 "For instance, if you have a Windows computer and the stimuli are in the folder ##D:\\bsCorpus\\bsAutumn\\bsSpeaker23#, "
163 "you can write")
164 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"fileNameHead = \"D:\\Corpus\\Autumn\\Speaker23\\\"")
165 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you have a Macintosh (OS X) or Unix computer and the stimuli are in ##/Users/mietta/Sounds/Dutch#, you write")
166 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"fileNameHead = \"/Users/mietta/Sounds/Dutch/\"")
167 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"But relative file paths will usually be preferred: they are more %portable. "
168 "The advantage of using relative file paths is that you can move your whole experiment (experiment file plus sounds) "
169 "from one computer to another without changing the experiment file, "
170 "as long as you put the experiment file in the same folder as where you put the folder #Sounds. "
171 "Or you can put the whole experiment on a USB stick and run the experiment directly from the stick. "
172 "Since Praat supports the forward slash “/” as a folder separator on all computers, "
173 "you can run the exact same experiment on Macintosh, Windows and Unix computers, "
174 "independent of the type of computer where you have created your experiment.")
175 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
176
177 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 2.3. The carrier phrase", U"ppgb", 20201229)
178 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The stimuli can be embedded in a %%carrier phrase%. "
179 "In the @@ExperimentMFC 2.1. The experiment file|example experiment@, we see that the stimulus "
180 "will be inserted between the sounds in the files ##weSayTheWord.wav# "
181 "and ##again.wav#, both of which are expected to be in the folder #Sounds. "
182 "If you do not want a carrier phrase, you do")
183 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusCarrierBefore = \"\"")
184 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusCarrierAfter = \"\"")
185 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you want only an introductory phrase before the stimulus, and nothing after the stimulus, "
186 "you do something like")
187 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusCarrierBefore = \"listenTo\"")
188 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusCarrierAfter = \"\"")
189 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"and of course you supply the file ##listenTo.wav# in the folder #Sounds.")
190 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you want to have a short silence before every stimulus (and before the carrier phrase), "
191 "you supply a non-zero %stimulusInitialSilenceDuration, as in the example.")
192 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Since the carrier phrase is concatenated with the stimulus before it is played, it should have the same "
193 "sampling frequency as the stimulus files.")
194 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
195
196 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 2.4. Breaks", U"ppgb", 20051205)
197 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"A new stimulus will arrive as soon as the listener makes her choice. To allow her some breathing "
198 "time, you can insert a break after every so many trials. In the example, %breakAfterEvery is 0, "
199 "because there are only 12 trials. A typical experiment has perhaps 180 trials, and you may want to "
200 "insert a break after every 40 trials. In that case, you do")
201 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"breakAfterEvery = 40")
202 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
203
204 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 2.5. Randomization strategies", U"ppgb", 20051205)
205 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The 3 times 4 stimuli will have to be played in a certain order. For the least random order, you say")
206 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"randomize = <CyclicNonRandom>")
207 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this case, the stimuli will be played in the order in which they were specified in the file, 3 times:")
208 EQUATIONcxx . . $ `sys/ManPagesM.h:57:9`! (U"heed hid hood hud heed hid hood hud heed hid hood hud")
209 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The most likely case in which you would want to use this randomization strategy, is if you have, say, 120 "
210 "different stimuli and you want to play them only once (%numberOfReplicationsPerStimulus = 1) in a fixed order.")
211 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The other extreme, the most random order, is")
212 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"randomize = <WithReplacement>")
213 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this case, a stimulus will be chosen at random 12 times without memory, for instance")
214 EQUATIONcxx . . $ `sys/ManPagesM.h:57:9`! (U"hid hood hood heed hid hood hud hud hid hood heed hid")
215 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The order will probably be different for each listener. "
216 "In this example, %hood and %hid occur four times each, %heed and %hud only twice each. "
217 "This strategy is too random for most experiments. Usually, you will want to have the same number "
218 "of replications of each stimulus. The most random way to do this is")
219 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"randomize = <PermuteAll>")
220 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this case, all stimuli will be played exactly 3 times, for instance")
221 EQUATIONcxx . . $ `sys/ManPagesM.h:57:9`! (U"heed hood hud hud hid heed heed hud hood hid hid hood")
222 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Quite often, you will want a less random order, namely one in which the 12 trials are divided into "
223 "3 blocks of 4 stimuli. Within each block, all 4 different stimuli occur in a random order:")
224 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"randomize = <PermuteBalanced>")
225 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this case, each stimulus occurs exactly once within each block:")
226 EQUATIONcxx . . $ `sys/ManPagesM.h:57:9`! (U"heed hood hud hid hood hud hid heed heed hud hood hid")
227 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This strategy ensures a certain spreading of the stimuli over the sequence of 12 trials. "
228 "As we see here, it is still possible that the same stimulus (%heed) occurs twice in a row, "
229 "namely as the last stimulus of the second block and the first stimulus of the third. "
230 "If you want to prevent that situation, you use")
231 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"randomize = <PermuteBalancedNoDoublets>")
232 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This will ensure that the same stimulus is never applied twice in a row:")
233 EQUATIONcxx . . $ `sys/ManPagesM.h:57:9`! (U"heed hood hud hid hood hud hid heed hud heed hood hid")
234 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This randomization strategy is used in our example, and advised for most listening experiments "
235 "in which you want to minimize effects of stimulus order.")
236 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The randomization procedure does not interfere in any way with the breaks. The order is determined "
237 "before any breaks are inserted.")
238 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
239
240 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 2.6. Instructions", U"ppgb", 20081123)
241 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Before the experiment begins, the listener will see the %startText in the centre of the screen. "
242 "During each trial, she will see the %runText at the top of the screen. "
243 "During breaks, she will see the %pauseText in the centre of the screen. "
244 "After all the trials have been performed, she will see the %endText. "
245 "As you can see in the example, all these texts can consist of multiple lines.")
246 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
247
248 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 2.7. Response categories", U"ppgb", 20201229)
249 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Every trial comes with the same set of response categories. "
250 "The @@ExperimentMFC 2.1. The experiment file|example experiment@ has five of them. "
251 "For each response category, you supply the area of the screen where a rectangle will be drawn. "
252 "The whole screen measures from 0.0 (left) to 1.0 (right) and from 0.0 (bottom) to 1.0 (top). "
253 "Thus, “0.2 0.3 0.7 0.8” means that a rectangle will be drawn somewhere in the top left quadrant "
254 "of the screen. You also supply the text that will be drawn in this rectangle, for instance the text “h I d”. "
255 "After this you supply the font size for this text, for instance 40.")
256 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The second text that you supply for every response is a response key on the keyboard. "
257 "In the above example this is “”, i.e. the subject cannot press a key as a response. "
258 "If you want the user to be able to press the “m” key instead of clicking in the “h I d” rectangle, "
259 "the line in the experiment file would be:")
260 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.3 0.7 0.8 \"h I d\" 40 \"m\" \"i\"")
261 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The third text that you supply for each rectangle is the response category as it will be reported by Praat to you when the user clicks it, "
262 "e.g. the text “i”. If you want Praat to ignore mouse clicks on this rectangle, specify an empty response "
263 "category, i.e. \"\".")
264 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The border of the rectangles will be maroon, the background of the screen will be light grey. "
265 "The colour of clickable rectangles will be yellow, that of non-clickable rectangles (those with "
266 "empty category specifications) light grey.")
267 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"You can have a picture instead of a text on a response button, by using \\bsFI:")
268 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.3 0.7 0.8 \"\\FIpictures/hello.jpg\" 40 \"m\" \"i\"")
269 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this example, the picture ##hello.jpg# from the subfolder #pictures "
270 "(i.e. a subfolder of the folder where your experiment file is) "
271 "will be drawn into the rectangle [0.2, 0.3] \\xx [0.7, 0.8]. "
272 "This currently (September 2011) works only on the Mac and Windows.")
273 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
274
275 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 2.8. Goodness judgments", U"ppgb", 20160925)
276 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If %numberOfGoodnessCategories is not 0, some more rectangles will be drawn, "
277 "as in the @@ExperimentMFC 2.1. The experiment file|example experiment@. "
278 "You specify again the locations of these rectangles (in the example, they touch each other), "
279 "the texts on them, the font sizes, and the response keys. "
280 "Praat will record the number of the button when the listener clicks on it. "
281 "Thus, if she clicks on the button labelled \"1 (poor)\", Praat will record a goodness judgment of 1, "
282 "because this is the first button in the list. If she clicks on \"5 (good)\", Praat will record a "
283 "goodness judgment of 5.")
284 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
285
286 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 2.9. How an experiment proceeds", U"ppgb", 20110317)
287 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"A text file with an ExperimentMFC object can be read into Praat with @@Read from file...@ "
288 "(it is not a script but a data file, so do not try to read it with ##Open Praat script...#). "
289 "You can then choose #Run. After the experiment finishes, you can close the experiment window "
290 "and choose ##Extract results#. The resulting ResultsMFC object contains for each trial the stimulus "
291 "name (e.g. “hood”), the response category (e.g. “u”), and the goodness judgment (e.g. 4). "
292 "You will want to save this ResultsMFC object to a text file with @@Save as text file...@. "
293 "You may want to call these text files by the names of the subjects, e.g. ##ts.ResultsMFC# "
294 "and ##mj.ResultsMFC#. Once you have collected the results of all your subjects, you can read "
295 "all the results files into Praat with @@Read from file...@, then select all the resulting "
296 "ResultsMFC objects (which will have automatically been named #ts, #mj, and so on), then choose "
297 "##Collect to table#. This will result in a table whose first column contains the names of the subjects, "
298 "the second column contains the stimulus names, the third column contains the responses, "
299 "and the last column contains the approximate reaction times (measured from the start of the stimulus sound, i.e. after the initial silence duration). "
300 "If there are goodness judgments, these will go into the fourth column. The table can be saved "
301 "as a table file (with ##Save as tab-separated file...#), which can be read by programs like Excel and SPSS.")
302 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
303
304 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 3. More examples", U"ppgb", 20051205)
305 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"You can do many more kinds of experiments than simple identification experiments.")
306 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 3.1. A simple discrimination experiment")
307 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 3.2. An AXB discrimination experiment")
308 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 3.3. A 4I-oddity experiment")
309 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 3.4. Variable inter-stimulus intervals")
310 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
311
312 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 3.1. A simple discrimination experiment", U"ppgb", 20160925)
313 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The @@ExperimentMFC 2.1. The experiment file|example experiment@ was an %identification experiment: "
314 "the subject had identify a single sound as one element of a set of categories. "
315 "Phoneticians will often do %discrimination experiments, which are experiments in which "
316 "a stimulus consists of multiple sub-stimuli played in sequence, and the subject has to judge the similarity "
317 "between these sub-stimuli.")
318 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The simplest discrimination task has only two sub-stimuli, and the subject has to say whether these are "
319 "the %same or %different. Suppose you have vowel-like sounds along an F1 continuum with seven steps, "
320 "say 300, 320, 340, 360, 380, 400, and 420 hertz, and you are interested in knowing how well the listeners "
321 "can distinguish these. As your stimuli, you create pairs of these sounds, separated by 0.8 seconds of silence. "
322 "It is important to include stimuli in which the sounds are identical, e.g. stimuli in which both sounds have an F1 "
323 "of 340 Hz (see the literature on signal detection theory). Since sounds that are very different acoustically "
324 "will always be heard as different, you do not include pairs in which the distance is larger than 60 Hz. "
325 "The experiment file will look like this:")
326 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ooTextFile\"")
327 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ExperimentMFC 7\"")
328 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"blank while playing? <no>")
329 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimuli are sounds? <yes>")
330 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"stimuli/\" \".wav\"")
331 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"carrier phrase \"\" \"\"")
332 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"initial silence duration 0.5 seconds")
333 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"medial silence duration 0.8 seconds ! inter-stimulus interval")
334 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"final silence duration 0 seconds")
335 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"37 different stimuli")
336 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"300,300\" \"\" \"300,320\" \"\" \"300,340\" \"\" \"300,360\" \"\"")
337 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"320,300\" \"\" \"320,320\" \"\" \"320,340\" \"\" \"320,360\" \"\" \"320,380\" \"\"")
338 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"340,300\" \"\" \"340,320\" \"\" \"340,340\" \"\" \"340,360\" \"\" \"340,380\" \"\" \"340,400\" \"\"")
339 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"360,300\" \"\" \"360,320\" \"\" \"360,340\" \"\" \"360,360\" \"\" \"360,380\" \"\" \"360,400\" \"\" \"360,420\" \"\"")
340 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"380,320\" \"\" \"380,340\" \"\" \"380,360\" \"\" \"380,380\" \"\" \"380,400\" \"\" \"380,420\" \"\"")
341 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"400,340\" \"\" \"400,360\" \"\" \"400,380\" \"\" \"400,400\" \"\" \"400,420\" \"\"")
342 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"420,360\" \"\" \"420,380\" \"\" \"420,400\" \"\" \"420,420\" \"\"")
343 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"10 replications per stimulus")
344 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"break after every 50 stimuli")
345 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"<PermuteBalancedNoDoublets>")
346 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"Click to start.\"")
347 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"Say whether these sounds were the same or different.\"")
348 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"You can have a short break if you like. Click to proceed.\"")
349 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"The experiment has finished. Call the experimenter.\"")
350 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"0 replays")
351 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"replay button 0 0 0 0 \"\" \"\"")
352 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"ok button 0 0 0 0 \"\" \"\"")
353 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"oops button 0 0 0 0 \"\" \"\"")
354 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responses are sounds? <no> \"\" \"\" \"\" \"\" 0 0 0")
355 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2 response categories")
356 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.1 0.4 0.35 0.65 \"same\" 24 \"\" \"same\"")
357 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.6 0.9 0.35 0.65 \"different\" 24 \"\" \"different\"")
358 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"0 goodness categories")
359 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this example, the subject will have to click 370 times. After every 50 times, she will have the "
360 "opportunity to sip her tea. A 0.5-seconds silence is played before every stimulus, so that the listener "
361 "will not hear the stimulus immediately after her mouse click.")
362 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The experimenter does not have to create the stimulus pairs as sound files. "
363 "You can specify multiple sound files by separating them with commas. Thus, \"320,300\" means that "
364 "Praat will play the files ##320.wav# and ##300.wav#. These two substimuli will be separated here by a silence "
365 "of 0.8 seconds, called the %%inter-stimulus interval% (or %stimulusMedialSilenceDuration).")
366 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Note that the text in this file is rather different from the previous example. "
367 "It does not matter whether you write %`numberOfDifferentStimuli`, or %`different stimuli`, or anything else; "
368 "Praat ignores these texts as long as they do not contain numbers, quoted strings, or things between <>.")
369 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
370
371 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 3.2. An AXB discrimination experiment", U"ppgb", 20160925)
372 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"In the AXB task, the subject will hear three stimuli in sequence, and has to say "
373 "whether the second (X) is more similar to the first (A) or to the second (B). "
374 "An experiment file could look like follows:")
375 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ooTextFile\"")
376 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ExperimentMFC 7\"")
377 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"blankWhilePlaying? <no>")
378 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimuliAreSounds? <yes>")
379 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"stimuli/\" \".wav\"")
380 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"carrier \"\" \"\"")
381 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"initial silence 0.5")
382 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"inter-stimulus interval 0.3")
383 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"final silence 0")
384 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"100 stimuli")
385 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"300,300,320\" \"\" \"300,320,340\" \"\" \"300,340,340\" \"\" \"300,340,360\" \"\"")
386 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"...")
387 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"(and 96 more triplets of substimuli)")
388 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"...")
389 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"4 replications")
390 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"break every 50")
391 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"<PermuteBalancedNoDoublets>")
392 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"Click to start.\"")
393 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"Say whether the second sound is more similar to the first or to the third.\"")
394 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"You can have a short break if you like. Click to proceed.\"")
395 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"The experiment has finished.\"")
396 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"0 replays")
397 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"replay button 0 0 0 0 \"\" \"\"")
398 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"ok button 0 0 0 0 \"\" \"\"")
399 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"oops button 0 0 0 0 \"\" \"\"")
400 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responses are sounds? <no> \"\" \"\" \"\" \"\" 0 0 0")
401 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"3 response categories")
402 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.1 0.3 0.4 0.6 \"first\" 30 \"\" \"A\"")
403 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.4 0.6 0.4 0.6 \"second\" 30 \"\" \"\"")
404 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.7 0.9 0.4 0.6 \"third\" 30 \"\" \"B\"")
405 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"0 goodness categories")
406 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this example, the subject has to click 400 times. She sees three buttons, "
407 "labelled %first, %second, and %third, but the second button (the one with the empty response category) "
408 "is not clickable: it has a light grey rather than a yellow interior and cannot be chosen by the subject. "
409 "In your ResultsMFC object, you will only see %A and %B responses.")
410 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
411
412 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 3.3. A 4I-oddity experiment", U"ppgb", 20160925)
413 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In the four-items-oddity task, the subject will hear four stimuli in sequence, and has to say "
414 "whether the second or the third is the odd one out. The other three substimuli are identical. "
415 "An experiment file could look as follows:")
416 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ooTextFile\"")
417 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ExperimentMFC 7\"")
418 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"blankWhilePlaying? <no>")
419 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimuliAreSounds? <yes>")
420 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusFileNameHead = \"stimuli/\"")
421 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusFileNameTail = \".wav\"")
422 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusCarrierBefore = \"\"")
423 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusCarrierAfter = \"\"")
424 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusInitialSilenceDuration = 0.5 seconds")
425 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimulusMedialSilenceDuration = 0.3 seconds")
426 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentStimuli = 60")
427 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"300,300,320,300\" \"\" \"300,320,300,300\" \"\"")
428 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"300,300,340,300\" \"\" \"300,340,300,300\" \"\"")
429 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"300,300,360,300\" \"\" \"300,360,300,300\" \"\"")
430 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"320,320,300,320\" \"\" \"320,300,320,320\" \"\"")
431 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"320,320,340,320\" \"\" \"320,340,320,320\" \"\"")
432 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"320,320,360,320\" \"\" \"320,360,320,320\" \"\"")
433 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"320,320,380,320\" \"\" \"320,380,320,320\" \"\"")
434 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"340,340,300,340\" \"\" \"340,300,340,340\" \"\"")
435 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"340,340,320,340\" \"\" \"340,320,340,340\" \"\"")
436 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"340,340,360,340\" \"\" \"340,360,340,340\" \"\"")
437 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"340,340,380,340\" \"\" \"340,380,340,340\" \"\"")
438 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"340,340,400,340\" \"\" \"340,400,340,340\" \"\"")
439 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"360,360,300,360\" \"\" \"360,300,360,360\" \"\"")
440 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"360,360,320,360\" \"\" \"360,320,360,360\" \"\"")
441 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"360,360,340,360\" \"\" \"360,340,360,360\" \"\"")
442 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"360,360,380,360\" \"\" \"360,380,360,360\" \"\"")
443 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"360,360,400,360\" \"\" \"360,400,360,360\" \"\"")
444 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"360,360,420,360\" \"\" \"360,420,360,360\" \"\"")
445 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"380,380,320,380\" \"\" \"380,320,380,380\" \"\"")
446 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"380,380,340,380\" \"\" \"380,340,380,380\" \"\"")
447 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"380,380,360,380\" \"\" \"380,360,380,380\" \"\"")
448 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"380,380,400,380\" \"\" \"380,400,380,380\" \"\"")
449 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"380,380,420,380\" \"\" \"380,420,380,380\" \"\"")
450 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"400,400,340,400\" \"\" \"400,340,400,400\" \"\"")
451 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"400,400,360,400\" \"\" \"400,360,400,400\" \"\"")
452 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"400,400,380,400\" \"\" \"400,380,400,400\" \"\"")
453 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"400,400,420,400\" \"\" \"400,420,400,400\" \"\"")
454 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"420,420,360,420\" \"\" \"420,360,420,420\" \"\"")
455 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"420,420,380,420\" \"\" \"420,380,420,420\" \"\"")
456 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"420,420,400,420\" \"\" \"420,400,420,420\" \"\"")
457 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfReplicationsPerStimulus = 5")
458 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"breakAfterEvery = 40")
459 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"randomize = <PermuteBalancedNoDoublets>")
460 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"startText = \"Click to start.\"")
461 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"runText = \"Say whether the second or the third sound is different from the rest.\"")
462 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"pauseText = \"You can have a short break if you like. Click to proceed.\"")
463 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"endText = \"The experiment has finished.\"")
464 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"maximumNumberOfReplays = 0")
465 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"replayButton = 0 0 0 0 \"\" \"\"")
466 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"okButton = 0 0 0 0 \"\" \"\"")
467 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"oopsButton = 0 0 0 0 \"\" \"\"")
468 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responsesAreSounds? <no>")
469 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFileNameHead = \"\"")
470 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFileNameTail = \"\"")
471 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseCarrierBefore = \"\"")
472 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseCarrierAfter = \"\"")
473 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseInitialSilenceDuration = 0")
474 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseMedialSilenceDuration = 0")
475 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFinalSilenceDuration = 0")
476 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfResponseCategories = 4")
477 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.04 0.24 0.4 0.6 \"first\" 30 \"\" \"\"")
478 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.28 0.48 0.4 0.6 \"second\" 30 \"\" \"2\"")
479 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.52 0.72 0.4 0.6 \"third\" 30 \"\" \"3\"")
480 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.76 0.96 0.4 0.6 \"fourth\" 30 \"\" \"\"")
481 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfGoodnessCategories = 0")
482 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this example, the subject has to click 300 times. She sees four buttons, "
483 "but the first and fourth buttons cannot be chosen. "
484 "In your ResultsMFC object, you will only see the responses %2 and %3.")
485 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
486
487 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 3.4. Variable inter-stimulus intervals", U"ppgb", 20130101)
488 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Praat only supports a fixed inter-stimulus interval, but sometimes you may want to test "
489 "discrimination as a function of the inter-stimulus interval itself. You can achieve this by "
490 "supplying an %stimulusMedialSilenceDuration of 0 and using sound files with various silences:")
491 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"300,silence0.5,320\" \"300,silence1.5,320\" \"300,silence4.5,320\"")
492 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this example, you have to supply the sound files ##silence0.5.wav# and so on. You can "
493 "create them with the help of @@Create Sound from formula...@ (supply a %formula of 0).")
494 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
495
496 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 4. Special buttons", U"ppgb", 20051205)
497 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"You can include up to three special buttons on the screen that the participant sees. "
498 "It is probably inadvisable to use all three at the same time.")
499 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 4.1. The replay button")
500 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 4.2. The OK button")
501 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 4.3. The oops button")
502 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
503
504 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 4.1. The replay button", U"ppgb", 20051205)
505 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"The @@ExperimentMFC 2.1. The experiment file|example experiment@ contained the following lines:")
506 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"maximumNumberOfReplays = 0")
507 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"replayButton = 0 0 0 0 \"\" \"\"")
508 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This means that that experiment did not have a #replay button. "
509 "To add a replay button along the lower edge of the screen, you do something like")
510 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"maximumNumberOfReplays = 1000")
511 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"replayButton = 0.3 0.7 0.01 0.07 \"Click here to play the last sound again\" \"\"")
512 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you supply a right edge (here 0.7) that is greater than the left edge (here 0.3), "
513 "Praat will know that you want to show a #replay button.")
514 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"When the participant clicks this button, Praat will play the current stimulus again. "
515 "In this example, the button will be visible until the partipant has clicked it 1000 times.")
516 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"To assign a keyboard shortcut to the #replay button, do something like")
517 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"maximumNumberOfReplays = 1000")
518 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"replayButton = 0.1 0.9 0.01 0.07 \"Click here or press the space bar to play the last sound again\" \" \"")
519 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
520
521 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 4.2. The OK button", U"ppgb", 20051205)
522 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"The @@ExperimentMFC 2.1. The experiment file|example experiment@ contained the following lines:")
523 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"okButton = 0 0 0 0 \"\" \"\"")
524 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This means that that experiment did not have an #OK button. "
525 "To add an OK button in the lower right corner of the screen, you do something like")
526 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"okButton = 0.8 0.95 0.05 0.15 \"OK\" \"\"")
527 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you supply a right edge (here 0.95) that is greater than the left edge (here 0.8), "
528 "Praat will know that you want to show an #OK button.")
529 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The behaviour of the experiment changes appreciably if you include an #OK button. "
530 "If you do not include an #OK button, Praat will present the next stimulus as soon as the participant "
531 "has clicked a response category (and a goodness category, if there are such). "
532 "If you do include an #OK button, it will become visible to the participant as soon as she has chosen "
533 "a response category (and a goodness category, if there are such). "
534 "The participant can then click the #OK button, but she can also choose to click the response "
535 "(and goodness buttons) a bit more first.")
536 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The OK button seems to be useful only if there is also a replay button, "
537 "or if the response categories are sounds (see @@ExperimentMFC 6. Responses are sounds@).")
538 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"To assign a keyboard shortcut (here, the space bar) to the OK button, do something like")
539 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"okButton = 0.8 0.95 0.05 0.15 \"OK\" \" \"")
540 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
541
542 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 4.3. The oops button", U"ppgb", 20051205)
543 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"The @@ExperimentMFC 2.1. The experiment file|example experiment@ contained the following lines:")
544 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"oopsButton = 0 0 0 0 \"\" \"\"")
545 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This means that that experiment did not have an #oops button. "
546 "To add an #oops button in the lower left corner of the screen, you do something like")
547 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"oopsButton = 0.05 0.2 0.05 0.15 \"oops\" \"\"")
548 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you supply a right edge (here 0.2) that is greater than the left edge (here 0.05), "
549 "Praat will know that you want to show an #oops button.")
550 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you include an #oops button, it will become visible to the participant for every stimulus except the first, "
551 "and it will also be visible on the pause (break) screens and on the final screen.")
552 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If the participant clicks the #oops button, Praat will forget everything the participant did "
553 "with the current stimulus and the previous stimulus. The experiment will continue with playing "
554 "the previous stimulus again and waiting for the participant’s choice.")
555 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
556
557 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 5. Stimulus-dependent texts", U"ppgb", 20051205)
558 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"In the @@ExperimentMFC 2.1. The experiment file|example experiment@, the text at the top of the screen "
559 "stayed the same throughout the experiment, and so did the texts on the response buttons. "
560 "There are ways to have these texts depend on the stimulus at hand.")
561 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 5.1. The stimulus-dependent run text")
562 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@ExperimentMFC 5.2. Stimulus-dependent response buttons")
563 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
564
565 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 5.1. The stimulus-dependent run text", U"ppgb", 20051205)
566 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"The @@ExperimentMFC 2.1. The experiment file|example experiment@ contained the following lines:")
567 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentStimuli = 4")
568 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"heed\" \"\"")
569 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hid\" \"\"")
570 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hood\" \"\"")
571 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hud\" \"\"")
572 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"...")
573 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"...")
574 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"runText = \"Choose the vowel that you heard.\"")
575 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For every stimulus, the same “run text” was written at the top of the screen. "
576 "But suppose you want to make that text dependent on the stimulus. You would do:")
577 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"heed\" \"Choose the vowel you heard.\"")
578 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hid\" \"Click the vowel you heard.\"")
579 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hood\" \"Select the vowel you heard.\"")
580 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hud\" \"What's the vowel you heard?\"")
581 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"...")
582 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"...")
583 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"runText = \"\"")
584 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this case, each stimulus comes with its own text. The %runText will only show up for stimuli "
585 "for which you do not supply a separate text.")
586 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This feature is useful mainly in cases where the responses are sounds but the stimulus is not "
587 "(see @@ExperimentMFC 6. Responses are sounds@) or if you want to cause some lexical priming.")
588 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
589
590 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 5.2. Stimulus-dependent response buttons", U"ppgb", 20070926)
591 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"The @@ExperimentMFC 2.1. The experiment file|example experiment@ contained the following lines:")
592 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentStimuli = 4")
593 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"heed\" \"\"")
594 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hid\" \"\"")
595 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hood\" \"\"")
596 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"hud\" \"\"")
597 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"...")
598 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"...")
599 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentResponses = 5")
600 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.3 0.7 0.8 \"h I d\" 40 \"\" \"i\"")
601 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.3 0.4 0.5 0.6 \"h E d\" 40 \"\" \"e\"")
602 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.4 0.5 0.3 0.4 \"h A d\" 40 \"\" \"a\"")
603 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.5 0.6 0.5 0.6 \"h O d\" 40 \"\" \"o\"")
604 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.6 0.7 0.7 0.8 \"h U d\" 40 \"\" \"u\"")
605 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For every stimulus, the buttons contained the same visible texts, such as \"h I d\" and \"h A d\".")
606 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"But suppose you have an experiment about the perception of voicing in plosives. "
607 "The first stimulus starts with an ambiguous /b/ or /p/, and you want the participant "
608 "to choose between \"bath\" and \"path\". The next stimulus starts with an ambiguous /d/ or /t/, "
609 "and you want the participant to choose between \"dart\" and \"tart\". "
610 "You would go about like this:")
611 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentStimuli = 6")
612 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"bpath1\" \"|bath|path\"")
613 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"bpath2\" \"|bath|path\"")
614 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"bpath3\" \"|bath|path\"")
615 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"dtart1\" \"|dart|tart\"")
616 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"dtart2\" \"|dart|tart\"")
617 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"dtart3\" \"|dart|tart\"")
618 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"...")
619 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"...")
620 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentResponses = 2")
621 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.4 0.7 0.8 \"\" 40 \"\" \"left\"")
622 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.6 0.8 0.7 0.8 \"\" 40 \"\" \"right\"")
623 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this case, the two response buttons show either \"path\" and \"path\", or \"dart\" and \"tart\".")
624 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In the ResultsMFC (see @@ExperimentMFC 2.9. How an experiment proceeds@), "
625 "the stimuli will be recorded as “bpath1|bath|path” and the like, not just as “bpath1”. "
626 "Praat does this in order to be able to cope with balanced designs such as")
627 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"bpath1\" \"|bath|path\"")
628 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"bpath1\" \"|path|bath\"")
629 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In other words, the button ordering is considered part of the stimulus.")
630 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This trick can be combined with a stimulus-dependent run text:")
631 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentStimuli = 32")
632 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"bpath1\" \"Throw a...|bath|path\"")
633 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"bpath1\" \"Walk a...|bath|path\"")
634 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"bpath2\" \"Walk a...|bath|path\"")
635 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"dtart1\" \"Throw a...|dart|tart\"")
636 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"dtart1\" \"Carry a...|dart|tart\"")
637 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"...")
638 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"runText = \"\"")
639 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"...")
640 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentResponses = 2")
641 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.4 0.7 0.8 \"\" 40 \"\" \"left\"")
642 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.6 0.8 0.7 0.8 \"\" 40 \"\" \"right\"")
643 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
644
645 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 6. Responses are sounds", U"ppgb", 20160925)
646 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"In the @@ExperimentMFC 2.1. The experiment file|example experiment@, "
647 "the stimuli were sounds, and the responses were categories whose labels appeared on buttons. "
648 "Sometimes you want it the other way around.")
649 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"An example is the %%/i/ prototype% task: the top of the screen just says “Please choose the best %ee”, "
650 "and no stimulus sound is played. Instead, the participant can click repeatedly on an array of 40 buttons, "
651 "each of which contains a different [i]-like sound. That is, if the participant clicks on a response button, "
652 "an [i]-like sound is played, and every response button has its own sound.")
653 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Such a task can be regarded as reversing the task of the example experiment, "
654 "in which the stimulus was a sound and the reponse was a phonological category. "
655 "In the /i/ prototype task, the stimulus is a phonological category, and the response is a sound.")
656 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This is what the experiment file could look like:")
657 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ooTextFile\"")
658 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ExperimentMFC 7\"")
659 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"blankWhilePlaying? <no>")
660 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimuliAreSounds? <no> \"\" \"\" \"\" \"\" 0 0 0")
661 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentStimuli = 2")
662 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"i\" \"Choose the best %%ee%.\"")
663 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"I\" \"Choose the best %%i%.\"")
664 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfReplicationsPerStimulus = 1")
665 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"breakAfterEvery = 1")
666 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"randomize = <CyclicNonRandom>")
667 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"startText = \"Click to start.\"")
668 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"runText = \"\"")
669 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"pauseText = \"You can have a short break if you like. Click to proceed.\"")
670 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"endText = \"The experiment has finished.\"")
671 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"maximumNumberOfReplays = 0")
672 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"replayButton = 0 0 0 0 \"\" \"\"")
673 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"okButton = 0.8 0.95 0.45 0.55 \"OK\" \"\"")
674 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"oopsButton = 0 0 0 0 \"\" \"\"")
675 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responsesAreSounds? <yes>")
676 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFileNameHead = \"Sounds/\"")
677 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFileNameTail = \".wav\"")
678 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseCarrierBefore = \"\"")
679 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseCarrierAfter = \"\"")
680 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseInitialSilenceDuration = 0.3")
681 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseMedialSilenceDuration = 0")
682 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFinalSilenceDuration = 0")
683 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentResponses = 16")
684 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.3 0.7 0.8 \"\" 10 \"\" \"i11\"")
685 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.3 0.4 0.7 0.8 \"\" 10 \"\" \"i12\"")
686 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.4 0.5 0.7 0.8 \"\" 10 \"\" \"i13\"")
687 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.5 0.6 0.7 0.8 \"\" 10 \"\" \"i14\"")
688 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.3 0.6 0.7 \"\" 10 \"\" \"i21\"")
689 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.3 0.4 0.6 0.7 \"\" 10 \"\" \"i22\"")
690 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.4 0.5 0.6 0.7 \"\" 10 \"\" \"i23\"")
691 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.5 0.6 0.6 0.7 \"\" 10 \"\" \"i24\"")
692 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.3 0.5 0.6 \"\" 10 \"\" \"i31\"")
693 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.3 0.4 0.5 0.6 \"\" 10 \"\" \"i32\"")
694 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.4 0.5 0.5 0.6 \"\" 10 \"\" \"i33\"")
695 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.5 0.6 0.5 0.6 \"\" 10 \"\" \"i34\"")
696 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.3 0.4 0.5 \"\" 10 \"\" \"i41\"")
697 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.3 0.4 0.4 0.5 \"\" 10 \"\" \"i42\"")
698 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.4 0.5 0.4 0.5 \"\" 10 \"\" \"i43\"")
699 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.5 0.6 0.4 0.5 \"\" 10 \"\" \"i44\"")
700 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfGoodnessCategories = 5")
701 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.25 0.35 0.10 0.20 \"1 (poor)\" 24 \"\"")
702 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.35 0.45 0.10 0.20 \"2\" 24 \"\"")
703 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.45 0.55 0.10 0.20 \"3\" 24 \"\"")
704 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.55 0.65 0.10 0.20 \"4\" 24 \"\"")
705 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.65 0.75 0.10 0.20 \"5 (good)\" 24 \"\"")
706 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The participant will see 16 squares on the screen. First she will have to find the best /i/, "
707 "then the best /\\ic/. The sound files “Sounds/i11.wav” and so on must exist and have the same sampling frequency. "
708 "A silence of 0.3 seconds is played just before each response sound.")
709 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
710
711 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 7. Blanking the screen", U"ppgb", 20130102)
712 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"In all the earlier examples, the flag $%blankWhilePlaying was set to `<no>`. This means that in all those cases "
713 "the participant will immediately see the response categories when the sound starts playing "
714 "(or even earlier, if there is an initial silence).")
715 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This can be changed by setting $%blankWhilePlaying to `<yes>`. When you do that, the participant will see a blank screen "
716 "while the stimulus is playing, and the response buttons will come up only after the sound has finished. "
717 "This is useful if you want to prevent the participant from clicking before the sound has finished, "
718 "or for priming experiments. Reaction times are measured from when the response buttons appear.")
719 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you want the response buttons to come up 0.5 seconds after the sound finishes playing, "
720 "you set the $%stimulusFinalSilenceDuration to 0.5.")
721 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
722
723 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"ExperimentMFC 8. Running multiple experiments", U"ppgb", 20160925)
724 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"In all the earlier examples, either the set of stimulus sounds or the set of response sounds stayed "
725 "the same throughout the experiment. If you want more than one set of stimuli, or more than one set of responses, "
726 "you can run several experiments after each other, simply by selecting more than one experiment, then clicking #Run.")
727 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"You can put all these ExperimentMFC objects in one text file. The following example contains two experiments. "
728 "The second line has to contain the text `\"Collection\"`, followed by the number of experiments:")
729 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ooTextFile\"")
730 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"Collection\" 2")
731 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"")
732 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ExperimentMFC 7\" \"i\"")
733 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"blankWhilePlaying? <no>")
734 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimuliAreSounds? <no> \"\" \"\" \"\" \"\" 0 0 0")
735 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentStimuli = 1")
736 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"i\" \"Choose the best %%ee%.\"")
737 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfReplicationsPerStimulus = 1")
738 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"breakAfterEvery = 0")
739 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"randomize = <CyclicNonRandom>")
740 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"startText = \"You are going to choose the best %%ee%. Click to start.\"")
741 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"runText = \"\"")
742 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"pauseText = \"\"")
743 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"endText = \"Thank you for choosing the best %%ee%. Click to proceed.\"")
744 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"maximumNumberOfReplays = 0")
745 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"replayButton = 0 0 0 0 \"\" \"\"")
746 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"okButton = 0.8 0.95 0.45 0.55 \"OK\" \"\"")
747 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"oopsButton = 0 0 0 0 \"\" \"\"")
748 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responsesAreSounds? <yes>")
749 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFileNameHead = \"Sounds/\"")
750 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFileNameTail = \".wav\"")
751 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseCarrierBefore = \"\"")
752 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseCarrierAfter = \"\"")
753 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseInitialSilenceDuration = 0.3")
754 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseMedialSilenceDuration = 0")
755 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFinalSilenceDuration = 0")
756 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentResponses = 6")
757 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.3 0.7 0.8 \"\" 10 \"\" \"i1\"")
758 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.3 0.4 0.7 0.8 \"\" 10 \"\" \"i2\"")
759 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.4 0.5 0.7 0.8 \"\" 10 \"\" \"i3\"")
760 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.5 0.6 0.7 0.8 \"\" 10 \"\" \"i4\"")
761 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.6 0.7 0.7 0.8 \"\" 10 \"\" \"i5\"")
762 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.7 0.8 0.7 0.8 \"\" 10 \"\" \"i6\"")
763 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfGoodnessCategories = 0")
764 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"")
765 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"ExperimentMFC 7\" \"u\"")
766 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"blankWhilePlaying? <no>")
767 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"stimuliAreSounds? <no> \"\" \"\" \"\" \"\" 0 0 0")
768 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentStimuli = 1")
769 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"\"u\" \"Choose the best %%oo%.\"")
770 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfReplicationsPerStimulus = 1")
771 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"breakAfterEvery = 0")
772 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"randomize = <CyclicNonRandom>")
773 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"startText = \"You are going to choose the best %%oo%. Click to start.\"")
774 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"runText = \"\"")
775 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"pauseText = \"\"")
776 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"endText = \"All the experiments have finished. You can call the experimenter.\"")
777 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"maximumNumberOfReplays = 0")
778 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"replayButton = 0 0 0 0 \"\" \"\"")
779 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"okButton = 0.8 0.95 0.45 0.55 \"OK\" \"\"")
780 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"oopsButton = 0 0 0 0 \"\" \"\"")
781 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responsesAreSounds? <yes>")
782 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFileNameHead = \"Sounds/\"")
783 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFileNameTail = \".wav\"")
784 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseCarrierBefore = \"\"")
785 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseCarrierAfter = \"\"")
786 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseInitialSilenceDuration = 0.3")
787 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseMedialSilenceDuration = 0")
788 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"responseFinalSilenceDuration = 0")
789 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfDifferentResponses = 6")
790 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.2 0.3 0.7 0.8 \"\" 10 \"\" \"u1\"")
791 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.3 0.4 0.7 0.8 \"\" 10 \"\" \"u2\"")
792 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.4 0.5 0.7 0.8 \"\" 10 \"\" \"u3\"")
793 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.5 0.6 0.7 0.8 \"\" 10 \"\" \"u4\"")
794 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.6 0.7 0.7 0.8 \"\" 10 \"\" \"u5\"")
795 CODE1cxx . . $ `sys/ManPagesM.h:51:9`! (U"0.7 0.8 0.7 0.8 \"\" 10 \"\" \"u6\"")
796 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"numberOfGoodnessCategories = 0")
797 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this example, the participant first has to choose the best /i/ from among six [i]-like sounds, "
798 "which are in the sound files `i1.wav` through `i6.wav`. After that, she has to choose the best /u/ "
799 "from among six [u]-like sounds, which are in the sound files `u1.wav` through `u6.wav`. "
800 "The percent signs in `%%ee%` mean that %ee will be italicized.")
801 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you read this file with ##Read from file...#, you will see two ExperimentMFC objects, "
802 "named `i` and `u`. They both stand selected. You then click #Run, and after the participant finishes, "
803 "you select both ExperimentMFC objects again (probably they still stand selected), and click ##Extract results#. "
804 "You will then get two #ResultMFC objects.")
805 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
806 }
807
808 /* End of file manual_ExperimentMFC.cpp */