Skip to main content

An OpenSesame Plug-in for collecting button responses, audio detection, voice key and sending stimulus synchronization triggers with the Radboud Buttonbox to data acquisition systems

Project description

OpenSesame Plug-in: Radboud Buttonbox

An OpenSesame plug-in for collecting button responses, audio detection, voice key and sending stimulus synchronization triggers with the Radboud Buttonbox to data acquisition systems.

Copyright, 2022, Bob Rosbag

This plugin makes use of the RuSocSci python package developed by Wilbert van der Ham. Radboud Buttonbox is developed by Pascal de Water. Exact references will follow in the future.

About

The Technical Support Group (Radboud University, Social Sciences) developed an USB Arduino based Buttonbox which can be used for time accurate (1ms) button press, voice key, sound key registration and sending parallel port like triggers. Upper case A, B, C, D, E (, F, G, H) are used for key presses, and lower case a, b, c, d, e (, f, g, h) are used for key releases. Uppercase S is used for sound key detection and uppercase V for voice key.

For more information:

http://tsgdoc.socsci.ru.nl/index.php?title=ButtonBoxes

This plug-in consist of foreground and background (multithreaded) items.

Difference between foreground and background:

  • Foreground item starts button/signal registration until it detects an allowed button or the set duration has passed.
  • Background item consist of a 'start' and 'wait' item. These are fully multi-threaded. After the start of the button/signal registration, the item will immediately advance to the next item. When the experiment reaches the 'wait' item, it will wait until a button/signal has been detected by the 'start' item or the duration has passed.

This plug-in has six items:

  • Init initialization of the buttonbox, this should be placed at the beginning of an experiment.
  • Wait Buttons waits for a button press or release before continuing to the next item in the experiment
  • Get Buttons Start starts a new thread which monitors for button presses/releases, it will directly advance to the next item in the experiment
  • Get buttons Wait waits until the thread from 'Get Buttons Start' is finished (has detected a button press/release) before advancing to the next item in the experiment
  • Send Control send control code to the buttonbox, for example 'Calibrate Sound', 'Detect Sound'
  • Send Trigger for sending triggers to hardware with a parallel port

Timestamps can be found in the logs by the name: time_response_[item_name]

Linux, and Windows are supported (possible also OSX, not tested). The plug-in will first look for the globally installed rusocsci package. If this is not available, the shipped version will be used. Install options are listed below.

License

This software is distributed under the terms of the GNU General Public License 3. The full license should be included in the file COPYING, or can be obtained from:

Documentation

Installation instructions and documentation on OpenSesame are available on the documentation website:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opensesame_plugin_radboudbox-4.2.0.tar.gz (36.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opensesame_plugin_radboudbox-4.2.0-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

Details for the file opensesame_plugin_radboudbox-4.2.0.tar.gz.

File metadata

File hashes

Hashes for opensesame_plugin_radboudbox-4.2.0.tar.gz
Algorithm Hash digest
SHA256 821253db66f0d577833184df8c3d31c81c73af79045acb4dbcf8ffca26b65fc7
MD5 6ae5fbc7319e6935d5f9b2415537d6f3
BLAKE2b-256 5d185e64e94a1ff6af1695fe2eaf8c6438fa5da6a37ebcaaf7af5386ea225895

See more details on using hashes here.

File details

Details for the file opensesame_plugin_radboudbox-4.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opensesame_plugin_radboudbox-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69f99b7bd94c4142bf0ca3c24738eec4a591734b25a6bc56ed5578d3d13ff590
MD5 e6a147402767b83b53b04935d223b891
BLAKE2b-256 21954fc675d2ea60a1f52a64bf9f2dd9a60f456682104db2d8eaaf8ab9644793

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page