Skip to content

Latest commit

 

History

History
78 lines (49 loc) · 1.77 KB

README.md

File metadata and controls

78 lines (49 loc) · 1.77 KB

Pitch Analyzer

Help hearing-impaired people practicing Chinese pronunciation

Prerequisites

Praat

Make sure Praat is installed, this can be done by following command on Ubuntu

apt-get install praat

Permission

Make sure /public/upload is writeable, permission 664 is recommended.

Installation

npm install

Usage

node .

Server will listening on port 3000.

Note

Add Levels

You will need to upload your own levels through /upload.html first.

SSL

Server must be SSL-enabled due to security policy of WebRTC.

Copy all SSL-related files into /ssl, you may want to change path or filename listed below in index.js.

...
const config = {
  praatScript: __dirname + '/praat-script/',
  uploadPath: 'public/upload/',
  ca: 'ssl/fullchain.pem',
  key: 'ssl/privkey.pem',
  cert: 'ssl/cert.pem'
};
...

Port

Server will listen on port 3000 by default. It can be changed in index.js

Reference

Domínguez, M., I. Latorre, M. Farrús, J. Codina and L. Wanner (2016). Praat on the Web: An Upgrade of Praat for Semi-Automatic Speech Annotation. In Proceedings of the 25th International Conference on Computational Linguistics, Osaka, Japan.

License

This project is licensed under the MIT license.

please read LICENSE for detailed info.

Praat Script

The Praat scripts were taken from monikaUPF/PraatontheWeb.