Reply To: Priming in reading-aloud experiment

PennController for IBEX Forums Support Priming in reading-aloud experiment Reply To: Priming in reading-aloud experiment

#5011
Jeremy
Keymaster

Hi Monica,

I would say you can partly accomplish what you want using the VoiceRecorder element. Take a look at the required setup here.

To give you an example of a code that does something close to what you want (skipping the setup part):

newTrial(
  newAudio( "sound.mp3" ).play().wait()
  ,
  newTimer(500).start().wait()
  ,
  newText( "Now please repeat the word your heard" ).print()
  ,
  newVoiceRecorder("sample").log().record()
  ,
  newText("recording...").print()
  ,
  newTimer(2000).start().wait()
  , 
  getText("recording...").remove()
  ,
  getVoiceRecorder("sample").stop()
)

Now as you can see, there is no reaction time per se, as VoiceRecorder elements currently do not automatically detect when people start and stop speaking. You could analyze your collected samples with a software like Praat to see how long it took your participants to start speaking. The code above uses a 2s time window, but if you’re willing to ask your participants to press a key, you could let them do that to signal that they are done recording.

Let me know if you have questions

Jeremy