Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on run_file parameters #24

Open
ichenjia opened this issue Oct 26, 2021 · 1 comment
Open

Question on run_file parameters #24

ichenjia opened this issue Oct 26, 2021 · 1 comment

Comments

@ichenjia
Copy link

from parselmouth.praat import call, run_file

Not sure what's going on. I tried to look up run_file from parselmouth and couldn't get much out of their documentation.

This line is used by almost every function:

run_file(sourcerun, -20, 2, 0.3, "yes",sound,path, 80, 400, 0.01, capture_output=True)

Can someone explanation to me what each of these parameters are?

Thank you!

@hebo1982
Copy link

hebo1982 commented Nov 2, 2021

You can read this link:
https://parselmouth.readthedocs.io/en/stable/api_reference.html#parselmouth.praat.run_file

these parameters can find at the script file "MLTRNL.praat"

form Counting Syllables in Sound Utterances
   real Silence_threshold_(dB) 
   real Minimum_dip_between_peaks_(dB) 
   real Minimum_pause_duration_(s) 
   boolean Keep_Soundfiles_and_Textgrids 
   sentence soundin  
   sentence directory 
   positive Minimum_pitch_(Hz) 
   positive Maximum_pitch_(Hz) 
   positive Time_step_(s) 
endform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants