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

updated f0 algorithm in Praat #122

Open
chenchenzi opened this issue Apr 22, 2024 · 2 comments
Open

updated f0 algorithm in Praat #122

chenchenzi opened this issue Apr 22, 2024 · 2 comments

Comments

@chenchenzi
Copy link

In the new version of Praat, there are two more algorithms of f0 tracking: To Pitch (filtered ac) and To Pitch (filtered cc). How could we call these using Parselmouth? I tried the following and it doesn't work.

from parselmouth.praat import call

sound = parselmouth.Sound(wave_file)
pitch = call(
      sound,
      "To Pitch (filtered ac)",
      0,
      f0min,
      f0max,
      15,
      "no",
      0.03,
      0.09,
      0.5,
      0.055,
      0.35,
      0.14,
 )

I'm on MacOS (Sonoma 14.2.1), Python 3.11.6, and Praat 6.4.01.

@YannickJadoul
Copy link
Owner

Hi, @chenchenzi. Parselmouth includes a version of Praat internally, by design. An external version of Praat does not help or change the features of Praat that Parselmouth has access to.
Unfortunately, these two functions were added reasonably recently, and I haven't had the time lately to update Parselmouth. Once I do, Parselmouth will receive an update, which will include these versions. But for now, I'm afraid you unfortunately cannot access these two with Parselmouth.

@chenchenzi
Copy link
Author

Thank you for the explanation. I look forward to the updates!

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