This sample shows how to score a SoundIn recording in an .edat2 data file. A stimulus is randomly presented from a List and participants are asked to read several sentences out loud into a microphone.
A SlideSoundIn sub-object will record the participant and create a sound file for each trial. In the SoundIn properties, the default of '@Auto' in the 'Capture Filename' field will automatically create a sound file name of format 'ExperimentName-Subject-Session-ObjectName-TrialNumber.wav'.
Be sure to connect your microphone to your computer’s sound card before running the experiment.
After you have collected data and opened the .edat2 file in E-DataAid, please follow these steps to score the accuracy of the sound recording:
1) Create a new variable column in the data file to store the subject’s accuracy by going to Edit - Add Variable… Name it whatever you like and select ‘Trial’ as the variable’s level. It would be easiest for you to re-order your data file so that the Trial, Stim, and StimulusSoundIn1.Filename columns are close together. Also, you should move your newly created column next to them. You can do this by clicking on the name of a column and dragging it to the left or right.
2) Read the ‘Stim’ column to see what was presented for a trial. Then, highlight the entry in the StimulusSoundIn1.Filename column for that trial and press the ‘Play’ button. It looks like a CD with a small music note. Compare what you hear to the stimulus that was presented.
3) Record the accuracy however you choose, e.g., typing ‘yes’ or ‘no’ or using ‘0’ or ‘1’.
See E-Prime's Help - Documentation - New Features Guide in E-Prime 18.104.22.168 or earlier for help setting up a SoundIn object or SlideSoundIn sub-object.