Difference between revisions of "Ultrasession in opensesame"

From Phonlab
Jump to navigationJump to search
m
m
Line 8: Line 8:
 
## a speaking prompt is shown to the subject. This prompt can be shown for a defined duration, or it can be displayed until the subject presses a key.
 
## a speaking prompt is shown to the subject. This prompt can be shown for a defined duration, or it can be displayed until the subject presses a key.
 
## <code>ultrasession.py</code> is sent a signal to stop acquisition
 
## <code>ultrasession.py</code> is sent a signal to stop acquisition
  +
  +
These steps are followed in the sample experiment available on github. See the test experiment provided in [[https://github.com/rsprouse/ultracomm/releases the latest release]].

Revision as of 16:01, 18 August 2015

The recommended way to acquire ultrasound data in the Phonology Lab is via an Opensesame experiment. You can use Opensesame to display a series of prompts to a subject and run and control the acquisition utilities in inline scripts. A simple experiment proceeds like this:

  1. variables related to data acquisition are set
  2. the ultrasound acquisition system is initialized
  3. the experiment loops over a list of stimuli, which are used to prompt the subject
    1. a preparatory prompt is shown to the subject
    2. ultrasession.py is started and delays until the ultrasound system confirms that it is imaging
    3. a speaking prompt is shown to the subject. This prompt can be shown for a defined duration, or it can be displayed until the subject presses a key.
    4. ultrasession.py is sent a signal to stop acquisition

These steps are followed in the sample experiment available on github. See the test experiment provided in [the latest release].