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 consists 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]
In dummy mode (an option of the Init item) the plug-in runs without a buttonbox: the keyboard is used for button responses, and triggers and commands are not sent. Get Buttons Start then waits for the key press itself, because the keyboard can't be read in the background.
Linux and Windows are supported (possibly also macOS, not tested). The plug-in needs OpenSesame 4 (Python 3.10 or later) and the RuSocSci package, which is installed with it:
pip install opensesame-plugin-radboudbox
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:
Metadata
Release files for opensesame-plugin-radboudbox 5.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| opensesame_plugin_radboudbox-5.0.1.tar.gz | 37.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opensesame_plugin_radboudbox-5.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 85.3 kB
Release files / opensesame_plugin_radboudbox-5.0.1.tar.gz
| Download URL | opensesame_plugin_radboudbox-5.0.1.tar.gz |
|---|---|
| Size | 37.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
945271fe3acebd67b99b70b72be54926735471628c3bf817c0e93cd30b699351
|
|
BLAKE2b-256 checksum How to use checksums |
0f428a822da66292c7aed9d9dc4adffee085bcf52bc1de79d660e6be1dd3a3d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / opensesame_plugin_radboudbox-5.0.1-py3-none-any.whl
| Download URL | opensesame_plugin_radboudbox-5.0.1-py3-none-any.whl |
|---|---|
| Size | 47.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0e30c7ef80de4c0ea069fbed80b324d8ebd88710a23ed6c056965d2e94a68f4
|
|
BLAKE2b-256 checksum How to use checksums |
30e2bdaedbee18dc6a2dfbc741011143897a06def979b32689452a688f147bd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for opensesame-plugin-radboudbox 5.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.