Update README.md

This commit is contained in:
Joseph Keshet
2016-07-03 10:27:59 +03:00
committed by GitHub
parent 459fb8a267
commit 29e9f3a324
+8 -3
View File
@@ -44,17 +44,22 @@ The Estimation model can be downloaded here and because of size constraints the
For vowel formant estimation, call the main script in a terminal with the following inputs: wav file, formant output filename, and the vowel begin and end times:
```Ex: $ python formants.py data/Example.wav data/ExamplePredictions.csv --begin 1.2 --end 1.3```
```
python formants.py data/Example.wav data/ExamplePredictions.csv --begin 1.2 --end 1.3
```
or the vowel begin and end times can be taken from a TextGrid file (here the name of the TextGrid is Example.TextGrid and the vowel is taken from a tier called "VOWEL"):
```
Ex: $ python formants.py data/Example.wav data/examplePredictions --textgrid_filename data/Example.TextGrid --textgrid_tier VOWEL
python formants.py data/Example.wav data/examplePredictions --textgrid_filename data/Example.TextGrid \
--textgrid_tier VOWEL
```
For formant tracking, just call the script with the wav file and output filename:
```Ex: $ python formants.py data/Example.wav data/ExamplePredictions```
```
python formants.py data/Example.wav data/ExamplePredictions
```
## TODO