There are a couple of ways to accomplish what you want.
The first method is to use an event of type Digital Output like you have been doing. You will need three events:
- A sound file that plays and that has the option [B]Wait for audio to finish playing[/B] turned off.
- A digital output event that sends an event marker, say, 10 milliseconds long. This will coincide with the start of the sound file. This event should have a time limit of 4990 milliseconds (that’s 5000 minus 10).
- Another digital output event for sending the second event marker. This event marker will go out approximately 5000 milliseconds into the sound file being played.
The second method takes advantage of StimTracker’s built-in audio marking capabilities. If your experiment does not involve dichotic listening, you can use a sound editor to do the following: have the actual sound play on one channel, and place event markers on the second channel. When playing the sound file, you want to make sure that the second channel is turned off (easily accomplished if using external speakers) so that the participant doesn’t hear noise caused by the event markers.
I highly recommend the second approach if it’s suitable for your experiment. It will take a little bit of work to edit the sound files, but this approach offers three advantages:
- It will be accurate down to sub-milliseconds, microseconds even, with no variability.
- It simplifies the design of your experiment in SuperLab because you will no longer need to send event markers to mark the onset of audio.
- If you want to send event codes from SuperLab, e.g. to describe the trial being presented, you now have at least one more bit of information available.
Let me know if you have any follow up questions.