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.
Clone the Repository.
git clone https://github.com/vivekvjyn/jnd-survey.git
cd jnd-surveyCreate a virtual environment.
python -m venv .venvWindows:
venv\Scripts\activateLinux:
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.txtAdd .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_samplesSet 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 runThis project is licensed under the GNU General Public License. See the LICENSE for details.