ExperimentMFC 8. Running multiple experiments

In all the earlier examples, either the set of stimulus sounds or the set of response sounds stayed the same throughout the experiment. If you want more than one set of stimuli, or more than one set of responses, you can run several experiments after each other, simply by selecting more than one experiment, then clicking Run.

You can put all these ExperimentMFC objects in one text file. The following example contains two experiments. The second line has to contain the text `"Collection"`, followed by the number of experiments:

`"ooTextFile"
` `"Collection" 2
` `
` `"ExperimentMFC 7" "i"
` `blankWhilePlaying? <no>
` `stimuliAreSounds? <no> "" "" "" "" 0 0 0
` `numberOfDifferentStimuli = 1
` `"i" "Choose the best %%ee%."
` `numberOfReplicationsPerStimulus = 1
` `breakAfterEvery = 0
` `randomize = <CyclicNonRandom>
` `startText = "You are going to choose the best %%ee%. Click to start."
` `runText = ""
` `pauseText = ""
` `endText = "Thank you for choosing the best %%ee%. Click to proceed."
` `maximumNumberOfReplays = 0
` `replayButton = 0 0 0 0 "" ""
` `okButton = 0.8 0.95 0.45 0.55 "OK" ""
` `oopsButton = 0 0 0 0 "" ""
` `responsesAreSounds? <yes>
` `responseFileNameHead = "Sounds/"
` `responseFileNameTail = ".wav"
` `responseCarrierBefore = ""
` `responseCarrierAfter = ""
` `responseInitialSilenceDuration = 0.3
` `responseMedialSilenceDuration = 0
` `responseFinalSilenceDuration = 0
` `numberOfDifferentResponses = 6
` `0.2 0.3 0.7 0.8 "" 10 "" "i1"
` `0.3 0.4 0.7 0.8 "" 10 "" "i2"
` `0.4 0.5 0.7 0.8 "" 10 "" "i3"
` `0.5 0.6 0.7 0.8 "" 10 "" "i4"
` `0.6 0.7 0.7 0.8 "" 10 "" "i5"
` `0.7 0.8 0.7 0.8 "" 10 "" "i6"
` `numberOfGoodnessCategories = 0
` `
` `"ExperimentMFC 7" "u"
` `blankWhilePlaying? <no>
` `stimuliAreSounds? <no> "" "" "" "" 0 0 0
` `numberOfDifferentStimuli = 1
` `"u" "Choose the best %%oo%."
` `numberOfReplicationsPerStimulus = 1
` `breakAfterEvery = 0
` `randomize = <CyclicNonRandom>
` `startText = "You are going to choose the best %%oo%. Click to start."
` `runText = ""
` `pauseText = ""
` `endText = "All the experiments have finished. You can call the experimenter."
` `maximumNumberOfReplays = 0
` `replayButton = 0 0 0 0 "" ""
` `okButton = 0.8 0.95 0.45 0.55 "OK" ""
` `oopsButton = 0 0 0 0 "" ""
` `responsesAreSounds? <yes>
` `responseFileNameHead = "Sounds/"
` `responseFileNameTail = ".wav"
` `responseCarrierBefore = ""
` `responseCarrierAfter = ""
` `responseInitialSilenceDuration = 0.3
` `responseMedialSilenceDuration = 0
` `responseFinalSilenceDuration = 0
` `numberOfDifferentResponses = 6
` `0.2 0.3 0.7 0.8 "" 10 "" "u1"
` `0.3 0.4 0.7 0.8 "" 10 "" "u2"
` `0.4 0.5 0.7 0.8 "" 10 "" "u3"
` `0.5 0.6 0.7 0.8 "" 10 "" "u4"
` `0.6 0.7 0.7 0.8 "" 10 "" "u5"
` `0.7 0.8 0.7 0.8 "" 10 "" "u6"
` `numberOfGoodnessCategories = 0
`

In this example, the participant first has to choose the best /i/ from among six [i]-like sounds, which are in the sound files `i1.wav` through `i6.wav`. After that, she has to choose the best /u/ from among six [u]-like sounds, which are in the sound files `u1.wav` through `u6.wav`. The percent signs in `%%ee%` mean that ee will be italicized.

If you read this file with Read from file..., you will see two ExperimentMFC objects, named `i` and `u`. They both stand selected. You then click Run, and after the participant finishes, you select both ExperimentMFC objects again (probably they still stand selected), and click Extract results. You will then get two ResultMFC objects.

### Links to this page

- ExperimentMFC