PennController for IBEX › Forums › Support › Priming in reading-aloud experiment
- This topic has 3 replies, 3 voices, and was last updated 2 years, 8 months ago by Jeremy.
April 7, 2020 at 2:14 pm #5010monicaParticipant
in my priming experiment I will present words preceded by a gif or by a sound. Participants will be asked to read aloud these words, without pressing any buttons. Their voices and RTs will be recorded. I was wondering whether all this can be done with pcIBEX.
Thank you so much for your help!
MonicaApril 7, 2020 at 2:47 pm #5011JeremyKeymaster
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
JeremySeptember 15, 2020 at 3:22 pm #6124samsantoParticipant
Jumping in here… I know this post is relatively recent, but I just want to double check that there is no way for the new MediaRecorder to detect when a participant begins speaking after the recorder begins?
I need to do something along the lines of calculating a “points” system if the participant responds within 500ms of the recorder beginning or not (+1/-1 if successful or not)… as of now I don’t think this is something feasible without outside analysis tools (like Praat as you suggested above?)
Let me know if anything has changed!
SamSeptember 15, 2020 at 5:30 pm #6125JeremyKeymaster
There is no difference between newVoiceRecorder("recorder") and newMediaRecorder("recorder", "audio"), so unfortunately MediaRecorder won’t provide you with a way to detect speech any more than VoiceRecorder.
- You must be logged in to reply to this topic.