Video-Vocal-RT: a minimal package for vocal response to video
Project description
video-vocal-RT
A minimal package to record vocal response to video stimuli. Useful for vocal reaction time research with video stimuli instead of pictures. Uses open CV for video playing, among other things.
Usage
I will provide more information soon 😉
Installation with pip
pip install video-vocal-rt
Installation with poetry
First, clone the repository
git clone https://github.com/LoonanChauvette/video-vocal-RT.git
Then, inside the package folder, install the dependencies with poetry
cd video-vocal-RT
poetry install
Poetry creates a virtual environment, you should be able to activate it using :
poetry shell
Then you can run the script using :
poetry run python video_vocal_rt/main.py
How-to
Place your video files in the VIDEO_FILES directory (only supports .avi files for now). For the moment, you need to go inside video_vocal_rt/main.py before running the experiement. There you should make sure to set the audio recording duration in seconds (default is 6 seconds, but should be the typical length of your videos). You also need to set the PARTICIPANT_ID to the desired value.
You can also set fixation parameters with FIXATION_DUR for the duration (default is 1000 ms). You can provide change the file "fixation.png" to customize the fixation. By default, there is a whiteout period after the video, its duration can be changed with WHITEN_DUR (default is 1000 ms).
Citation
Chauvette, L. (2023). Video-Vocal-RT: a minimal package for vocal response to video.
https://github.com/LoonanChauvette/video-vocal-RT
Bibtex:
@manual{Video-Vocal-RT,
title={{Video-Vocal-RT: a minimal package for vocal response to video}},
author={{Chauvette, Loonan}},
year={2023},
url={https://github.com/LoonanChauvette/video-vocal-RT},
}
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 video_vocal_rt-0.2.0.tar.gz
.
File metadata
- Download URL: video_vocal_rt-0.2.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a20bda7a6233ba383138b14fa72c897757822eef03a81c3c0bef67c1f67c0665 |
|
MD5 | 72fcadb92c4b018b0f02d317f3c2fbdc |
|
BLAKE2b-256 | 595fd9a0d1f7aa2636f3e4747fc0605dc9b4f20b454f835d653276bc50fd30d0 |
File details
Details for the file video_vocal_rt-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: video_vocal_rt-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0808ae13a5f6a091634fa8557947e3fb5d955a4d6d72b98ab363b69c6fe7e404 |
|
MD5 | b5f25874a77382eba9c153b32c5ca60b |
|
BLAKE2b-256 | 81cbddbd61c2a8e05e09e3dab0e5e1ff689b286585fc1cd482afbd484fa4fe61 |