Gorilla materials for implementing the Heart Rate Matching task.
The Heart Rate Matching (HRM) task assesses how well an individual estimates their own heart rate. Some people under-estimate how quickly their heartbeats and others over-estimate the speed of their heart, and this ability is a useful metric of cardiac interoceptive beliefs.
The HRM was designed from the ground-up to be usable in online research contexts. It records video, which can be used to estimate true heart rate with remote Photoplethysmography (rPPG) methods.
In our experiments, we use remote Photoplethysmography (rPPG) to measure heart rate of participants completing an online task. This is an algorithm which estimates heart rate from minor colour changes in the face, caused by blood being pumped around the body by the heart.
The Heart Rate Matching task is programmed to record videos during each trial. These videos are saved in Gorilla, and can be downloaded alongside the participants behavioural data.
We analyse the videos to estimate heart rate with MATLAB using the rPPG method described by Di Lernia et al (2024), code available here.
To ensure quality of webcam recordings, we recommend implementing a webcam check before beginning the HRM. Therefore, participants without a webcam, or with a broken or poor quality webcam, can be filtered out of the experiment before using a Gorilla token. See the Experiment included in these materials for a demonstration of how to do this.
The task is included in this repository, simply clone the task to a project of your own. See the Experiment for an example of how to implement the Heart Rate Matching task within an experiment.
Built with Experiment
This experiment provides an example for how to implement the Heart Rate Matching task in Gorilla.
Creative Commons Attribution (CC BY)
Built with Code Editor
This is the Gorilla task for the Heart Rate Matching task. See how it is implemented in the 'Heart Rate Matching Example' Experiment.
Creative Commons Attribution (CC BY)
Built with Code Editor
A short task for checking if the webcam of a participant is working, it will display troubleshooting instructions if it is not. See the 'Heart Rate Matching Example' for an example of how this is implemented to exclude participants without or with a broken webcam.
Creative Commons Attribution (CC BY)
Built with Code Editor
A very short task to ensure people are used to the response mechanics of the Heart Rate Matching task. It displays two trials, one asking people to adjust the beating heart to the fastest speed, another asking them to adjust it to the slowest speed.
Restricted! Access by URL only