Recording vocal response times - again
I know that this is a problem faced multiple times, but since OpenSesame is orphaned the voicerecord plug in, recording vocal answers is painful.
In a speeded detection task, ehat I like to do is to record a wave file, where I artificially put a "spike" at the beginning of each trial, and then record the vocal answer. After the experiment, with an external script, I compute the difference between the ariticial spike and the vocal answer, obtaining in this way the reaction time.
I developed a simple script (that needs pyaudio and portaudio) that allows for stimuli visualisation, sound recording and mouse answer recording (used by the experimenter to pass to the next trial).
This script works in an amazing way on my PC. However, in some cases, when I put the script on other windows-based PCs the script does not work, recording wave files of only 1 ms.
Do you have any suggestions?
In attachment the experiment. CREATE_OUTFILE is at the beginning of the experiment, while audioname shows the stimuli and records the sound.
Thank you very much for any feedback,