Skip to content

enter-opy/jnd-survey-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just Noticeable Difference (JND) Survey Form

This repository is used to host the Just Noticeable Difference (JND) survey form as part of the Sound and Music Computing program at UPF for the Music Cognition and Perception course.

Use template

Clone the Repository.

git clone https://github.com/enter-opy/jnd-survey.git
cd jnd-survey

Create a virtual environment.

python -m venv .venv

Windows:

venv\Scripts\activate

Linux:

source venv/bin/activate

├── .env
├── app.py
├── static
│   ├── audio
│   │   ├── negatives
│   │   └── positives
│   ├── img
│   └── main.css
└── templates
    ├── feedback.html
    ├── form.html
    └── index.html
pip install -r requirements.txt

Add .env file in the root directory.

SECRET_KEY=secret_key
USER=username
PASSWORD=password
DB_NAME=database_name
COLLECTION_NAME=collection_name
NUM_SAMPLES=num_samples

Set up a MongoDB database DB_NAME with collection COLLECTION_NAME.

Place your samples in audio/positive and audio/negative folders.


To run locally,

python -m flask run

License

This project is licensed under the GNU General Public License. See the LICENSE for details.

About

Survey form for MPC course project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published