Try setting up your trial along the following lines
/ stimulustimes = [0= mask; 500=mypicture; 515=clearscreen; 516=mask; 1015=clearscreen; 1700=correctoption, distractoroption; 2200=mysound]
/ inputdevice = voicerecord
/ validresponse = (anyresponse)/ beginresponsetime = 1700
<-- not sure when you want to start recording, change as needed. 1700 would coincide with the display of correctoption/distractoroption/ responseinterrupt = frames
<-- makes sure any remaining stimuli are displayed / the stimulus presentation is not interrupted by the response/ trialduration = 3000
<-- set to a long enough value, theoretically the entire time starting from the value specified in /beginresponsetime until the value specified in trialduration should be recorded, i.e. with the values specified here you should get a recording of ~1300 ms duration.