MOLE Modifiable Language Experiments

Category Archives: Psychopy

PsychoPy and Typing

I had some trouble getting Matlab PTB3 to allow users to fluently type sentences for transcription. I found a function to do it in PsychoPy (, and I modified it to allow capital letters and a few symbols. Download this here: PsychoPyTyping

Run this by clicking the green running-man figure in the PsychoPy toolbar. It will prompt you to fill in subject information and to transcribe three words. (Make sure to leave the list name “shortlist” intact!)

Try typing some full sentences.

This is the function that actually takes in keystrokes and displays them on the screen. It supports a single backspace at a time, but doesn’t do

This collection of functions allows you to prompt participants to provide potentially relevant information. However, there’s currently nothing to stop them from just hitting Enter or clicking OK without filling anything out.