In my experiment I will be recording participants' vocalizations, which are cued by both a visual (picture) and auditory (beep sound) signal.
I have coded this as follows:
/ stimulustimes = [0=image, beep]
/ beginresponsetime = 0
/ trialduration = 3000
/ validresponse = (anyresponse)
/ inputdevice = voicerecord
/ recorddata = true
/responseinterrupt = trial
/ items = ("image1.jpg")
/ size = (700, 700)
/items = ("beep.wav")
/playthrough = true
The problem is that when I run this, I get an error: DirectSound Error -2004353017: Unknown DirectSound error.. Line 170, File win\SoundPlayer.cpp
Recording vocal responses without playing a beep sound and vice versa is not a problem, but doing both simultaneously gives this error.
Doe anyone perhaps know how to solve this issue?
Thanks a lot in advance!