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.
1. 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.
2. LICENSE
The Radboud Buttonbox plug-in 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
This plug-in contains works of others.
3. Documentation
Installation instructions and documentation on OpenSesame are available on the documentation website:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file opensesame_plugin_radboudbox-4.1.1.tar.gz
.
File metadata
- Download URL: opensesame_plugin_radboudbox-4.1.1.tar.gz
- Upload date:
- Size: 26.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 973536992f734f5f95b098dc82fbbca0551a7f46e28a6c78a5af4d3fce0608dc |
|
MD5 | 7b956308103dfb3c6caca19dd738b914 |
|
BLAKE2b-256 | 4e9f0ede5b2dd4817d3dba8776d609e9cf9edc414563489dcb6619e2679543f6 |
File details
Details for the file opensesame_plugin_radboudbox-4.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: opensesame_plugin_radboudbox-4.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 54.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c82d2b5e04ae0b26c0b25dcd0b8b9da5cf5ecc4d1b97d572fe337fecc95b8725 |
|
MD5 | 0aa94bbf82a9d2f2549d42132f1751de |
|
BLAKE2b-256 | 2932ad9b2e6f372db5d6c9bedcde0f1e8dd696bd14236e34fc98200cab68a44a |