https://github.com/predict-idlab/gssp_web_app
Web application to acquire picture description speech data according to the GSSP
https://github.com/predict-idlab/gssp_web_app
acoustics experimental-psychology psychology speech
Last synced: 3 months ago
JSON representation
Web application to acquire picture description speech data according to the GSSP
- Host: GitHub
- URL: https://github.com/predict-idlab/gssp_web_app
- Owner: predict-idlab
- License: other
- Created: 2023-03-28T14:04:49.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-29T15:03:40.000Z (about 3 years ago)
- Last Synced: 2025-07-07T14:43:35.893Z (10 months ago)
- Topics: acoustics, experimental-psychology, psychology, speech
- Language: HTML
- Homepage:
- Size: 18.7 MB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Speech web app
This repository contains the web app implementation that was utilized to collect data in order to assess the acoustic properties of the *Ghent Semi-spontaneous Speech Paradigm* (GSSP), a new speech acquisition methodology in which participants were asked to describe images with a constant emotional load.
89 Dutch-speaking participants fulfilled the web-app speech acquisition, which were enrolled through leveraging the researchers' network and the [prolific](https://www.prolific.co/) platform.
**relevant links**:
- The dataset can be found on [Kaggle](https://www.kaggle.com/datasets/jonvdrdo/gssp-web-app-data)
- a preprint of the manuscript can be found on [psyarxiv](https://psyarxiv.com/e2qxw)
- The the GSSP dataset [analysis notebooks](https://github.com/predict-idlab/gssp_analysis)
## Web app structure

Prior to the the web app its data acquisition, the participants loop through the following steps:
1. A `Welcome` page, which provides a general overview of the study's purpose
2. An `Introduction` page, which acquired demographics, together with informed consent
This page also showed guidelines for the GSSP task.
3. The `Instructions` page, which provides general instructions for the GSSP task. Specifically:
- three [demo](app/static/video/) videos were shown how the task should be performed
- the participants were instructed to read aloud the fixed "Marloes" text
4. A 5 minute `Rest` should bring participants into a neutral baseline state
- The First acquisition consists of the Read-aloud `Marloes` task, after which the participants fill in their experienced arousal and valence values during the task.

- Afterwards, 5 PSSG Picture descriptions were acquired (alternating between the [Radboud](app/static/img/Radboud/) and [PiSCES](app/static/img/PiSCES/) image subset). The first shown image always originates from the PiSCES subset. After each image, the participants filled in their experienced arousal and valence values during the task.

This was repeated 6 times, follwed by a Final Marloes acquisition, resulting in a total of 7 Marloes samples, 15 Pisces samples and 15 Radboud samples per participant.
The GSSP is already used in other studies. For example, the [fce_stripped](https://github.com/predict-idlab/gssp_web_app/tree/fce_stripped) branch contains a stripped version of the app in which participants who experienced Adverse Childhood events, filled in this quaestionnaire.
---
### Folder structure
```txt
└── app
├── API <- API endpoints / utlities
├── static
│ ├── css
│ ├── img <- images used in the app
│ │ ├── demo
│ │ ├── PiSCES
│ │ └── Radboud
│ ├── _js <- javascript files used in the app (audio recording)
│ ├── sound <- sound files used in the app
│ └── video <- demo video of GSSP task
└── templates <- jinja html templates
```
---
## Running the web app
### Via Python
Set first DEPLOY to `False` in the Appconfig class of [app/config.py](app/config.py)
```bash
# create a virtual environment
virtualenv -p /usr/bin/python3.8 .venv
source .venv/bin/activate
# install the required packages
pip install -r requirements.txt
# start the app
python app/main.py # the app should be accessible on localhost:8080
```
### Via Docker
Make sure that DEPLOY is set to `True` in the Appconfig class of [app/config.py](app/config.py)
```bash
# build the image
docker build .
# you should have an output "sucessfully built " on the last line
# test the image
docker run -it -p 8081:80
```
---
👤 Jonas Van Der Donckt, Mitchel Kappen