YannickJadoul / Parselmouth

Praat in Python, the Pythonic way
https://parselmouth.readthedocs.io/
GNU General Public License v3.0
1.05k stars 115 forks source link

How to use the new features in Praat 6.3.10? #132

Open yzchen563 opened 5 hours ago

yzchen563 commented 5 hours ago

Hi~ I am using praat_parselmouth of version 0.4.4, but meet a problem, and I find this feature is in 6.3.10 Praat.

The error: PraatError: Command "To TextGrid (speech activity)" not available for given objects.

Some info: parselmouth.VERSION, parselmouth.PRAAT_VERSION, parselmouth.PRAAT_VERSION_DATE ('0.4.4', '6.1.38', '2 January 2021')

So, how can I use the new features in Praat 6.3.10?

yzchen563 commented 5 hours ago

I see a similar problem in https://github.com/YannickJadoul/Parselmouth/issues/122. Now if that keeps, my problem changes:

How can I update the cpp source in currently dependent Praat '6.1.38', then build parselmouth from scratch? The update about the new feature is relatively isolated, so it make sense for me, if I can extend currently c++ source code.

yzchen563 commented 3 hours ago

Having built the package, with msg: Successfully built praat_parselmouth-0.5.0.dev0.tar.gz and praat_parselmouth-0.5.0.dev0-cp312-cp312-linux_x86_64.whl

Can it be used without bug?