Skip to main content

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


Download files

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

Source Distribution

video_vocal_rt-0.3.5.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

video_vocal_rt-0.3.5-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file video_vocal_rt-0.3.5.tar.gz.

File metadata

  • Download URL: video_vocal_rt-0.3.5.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Windows/10

File hashes

Hashes for video_vocal_rt-0.3.5.tar.gz
Algorithm Hash digest
SHA256 63a789e934035d1fded374ea57fdce9f2170a60759f4c13136faba20f8d00940
MD5 8243b3d7dbe1966f42aa65afb703a08e
BLAKE2b-256 5ffbdf9501b9ed69364db62a37f7878604334baa669e5ce7ffe664ace2997061

See more details on using hashes here.

File details

Details for the file video_vocal_rt-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: video_vocal_rt-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Windows/10

File hashes

Hashes for video_vocal_rt-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4ee3b6591ba4a0a92845fccf12fae84534048f617866b307ded480440761dc12
MD5 7a0e3a0e05a049b590a518c6618386df
BLAKE2b-256 e1b3ea9d2f1b16f559b0d0b3725115cf8e3ca050c3b44b39cc670125761b3f64

See more details on using hashes here.

Supported by

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