A web interface for annotating audio data.
audio-annotation is a web application that allows users to annotatate audio files. It is developed using Python (Flask), Javascript, HTML5/CSS3, and Postgresql. It is extended from audio-annotator. The annotation progress is splitted into two major steps: Coarse-grained and Fine-grained. In Coarse-grained, the annotator should only indicate the presence of a desired label. The audio files that have the label, will be moved to Fine-grained annotation for a deaper labeling potentially with different passes for one or more passes.
- Admin page to view and manage tables.
- Definable labels and annotation passes
- Can measure annotator agreements by letting each segment be annotated with more than one person
WORK_PATH
= is the starting directory.
ORIGINAL_FILES_DIRECTORY
= is the audio file directory (in this directory the folders should be named based on the participant and their audio recordings are located inside them)
SEGMENT_FILES_DIRECTORY
= After removing silence intervals and performing segmentation, the audio segments will be automatically created here.
- Download postgresql.
createdb databasename
export EMAIL_SENDER
= The email used for sending errorsexport EMAIL_PASSWORD
= The email passwordexport EMAIL_RECEIVER
= The email used for receiving errorsexport DB_NAME
= Database nameexport DB_USER
= Database usernameexport DB_PASSWORD
= Database passwordexport FIRST_RUN
=True # for the first time running the server, otherwise False
gunicorn --bind 0.0.0.0:5000 --workers=1 --timeout=0 --access-logfile access.log run:app