Skip to main content

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},
}

Metadata

Release files for video-vocal-rt 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for video-vocal-rt 0.4.0
File Size Uploaded
video_vocal_rt-0.4.0.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for video-vocal-rt 0.4.0
File Interpreter ABI Platform
video_vocal_rt-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.4 kB

Release files / video_vocal_rt-0.4.0.tar.gz

Download URL video_vocal_rt-0.4.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
46e0a3fa571cc83e9ba872886ac0e9606ddd0b37d5c873d5ac8866f19ce67c4b
BLAKE2b-256 checksum
How to use checksums
fdcace41b1421dbfc2d88e3a4a74abfecaf099ed349c7ef799de4c775a7c3df1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Windows/10

Release files / video_vocal_rt-0.4.0-py3-none-any.whl

Download URL video_vocal_rt-0.4.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb2592c0b59502da485c7a1bcac00d96c03f667bac04d94c4786489cdc3283ce
BLAKE2b-256 checksum
How to use checksums
94e5ede6397e806037e9a4b2bac4fd03a11768dc38b30e2b0745fa45b935c0c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Windows/10

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page