MOLE Modifiable Language Experiments

Monthly Archives: August 2014

You are browsing the site archives by month.

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 (http://www.psychopy.org/wiki/home.php/Snippets/LiveUpdatingText), and I modified it to allow capital letters and a few symbols. Download this here: PsychoPyTyping

 

runTranscribe.py

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.

 

getTyping.py

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

 

qaires.py

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.