diff --git a/README.md b/README.md index aaa1352..3576992 100644 --- a/README.md +++ b/README.md @@ -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