Update README.md
This commit is contained in:
@@ -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:
|
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"):
|
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:
|
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
|
## TODO
|
||||||
|
|||||||
Reference in New Issue
Block a user