Millisecond Forums

Voice recording

https://forums.millisecond.com/Topic26369.aspx

By Forty - 2/4/2019

HI! I am writing an Inquisit script that presents a sound stimuli and at the same time records the responses of the participants (voice recording). The recording works relatively well when the trial is very short (e.g., 10 sec) although not always, but it does not record at all when the trial is 1 minute or longer (I need 9 minutes recording). It typically crashes or works (i.e., the stimuli is presented) but nothing is recorded. We tried different solutions, and in different computers. My question is whether Inquisit 4 supports longer voice recordings, and if yes can you help me identify what is the problem? Thank you very much.

<clock timer2>
/ mode = timer/
 resetrate = block/
 erase = false
/ txcolor = yellow
/ txbgcolor = black
/ timeout = 540000
/ position = (50%, 10%)
/ format = "mm:ss"
</clock>

<sound SoundFILE>
/items = ("file.wav")
/playthrough = false
</sound>

<response Someresponse
/ mode = anyresponse
/ srsignal = sound
/ rwwidth = 540000
</response>

<trial SomeTrial>
/stimulustimes = [0 = SoundFILE; 0 = timer2;]
/response = Someresponse
/inputdevice = voicerecord
/beginresponsetime = 0
/trialduration = 540000
/responseinterrupt = trial
/recorddata = true
</trial> 

<block ImrsImage>
/trials = [1=SomeTrial]
</block>​  
By Dave - 2/5/2019

Forty - Tuesday, February 5, 2019
HI! I am writing an Inquisit script that presents a sound stimuli and at the same time records the responses of the participants (voice recording). The recording works relatively well when the trial is very short (e.g., 10 sec) although not always, but it does not record at all when the trial is 1 minute or longer (I need 9 minutes recording). It typically crashes or works (i.e., the stimuli is presented) but nothing is recorded. We tried different solutions, and in different computers. My question is whether Inquisit 4 supports longer voice recordings, and if yes can you help me identify what is the problem? Thank you very much.

<clock timer2>
/ mode = timer/
 resetrate = block/
 erase = false
/ txcolor = yellow
/ txbgcolor = black
/ timeout = 540000
/ position = (50%, 10%)
/ format = "mm:ss"
</clock>

<sound SoundFILE>
/items = ("file.wav")
/playthrough = false
</sound>

<response Someresponse
/ mode = anyresponse
/ srsignal = sound
/ rwwidth = 540000
</response>

<trial SomeTrial>
/stimulustimes = [0 = SoundFILE; 0 = timer2;]
/response = Someresponse
/inputdevice = voicerecord
/beginresponsetime = 0
/trialduration = 540000
/responseinterrupt = trial
/recorddata = true
</trial> 

<block ImrsImage>
/trials = [1=SomeTrial]
</block>​  

Voice recording is not tailored to extremely long recordings (like several minutes). The files get extremely large and take up a lot of memory, so this will exhaust all available resources on many if not most systems. Your best option is to use a separate recording program running in the background instead of trying Inquisit to do the recording.
By Forty - 2/5/2019

Dave - Tuesday, February 5, 2019
Forty - Tuesday, February 5, 2019
HI! I am writing an Inquisit script that presents a sound stimuli and at the same time records the responses of the participants (voice recording). The recording works relatively well when the trial is very short (e.g., 10 sec) although not always, but it does not record at all when the trial is 1 minute or longer (I need 9 minutes recording). It typically crashes or works (i.e., the stimuli is presented) but nothing is recorded. We tried different solutions, and in different computers. My question is whether Inquisit 4 supports longer voice recordings, and if yes can you help me identify what is the problem? Thank you very much.

<clock timer2>
/ mode = timer/
 resetrate = block/
 erase = false
/ txcolor = yellow
/ txbgcolor = black
/ timeout = 540000
/ position = (50%, 10%)
/ format = "mm:ss"
</clock>

<sound SoundFILE>
/items = ("file.wav")
/playthrough = false
</sound>

<response Someresponse
/ mode = anyresponse
/ srsignal = sound
/ rwwidth = 540000
</response>

<trial SomeTrial>
/stimulustimes = [0 = SoundFILE; 0 = timer2;]
/response = Someresponse
/inputdevice = voicerecord
/beginresponsetime = 0
/trialduration = 540000
/responseinterrupt = trial
/recorddata = true
</trial> 

<block ImrsImage>
/trials = [1=SomeTrial]
</block>​  

Voice recording is not tailored to extremely long recordings (like several minutes). The files get extremely large and take up a lot of memory, so this will exhaust all available resources on many if not most systems. Your best option is to use a separate recording program running in the background instead of trying Inquisit to do the recording.

Thank you for your answer.