Releases: YannickJadoul/Parselmouth
Releases · YannickJadoul/Parselmouth
0.4.5
0.4.4
Fixed
- Fixed compatibility with NumPy 2.
0.4.3
Fixed
- Fixed source distribution failing to build, due to
scikit-build
&setuptools
version mismatch inpyproject.toml
.
0.4.2
Added
- Added support for Python 3.11 and PyPy 3.9.
0.4.1
Added
- Added support for Python 3.10 and PyPy 3.8.
0.4.0
Added
- Added
extra_objects
andreturn_variables
keyword arguments topraat.run
andpraat.run_file
. - Added
keep_cwd
keyword argument topraat.run_file
. - Updated API reference with links to Praat and to other objects.
- Added
TextGrid
Python objects, and conversion from/to the TextGridTools (tgt
) library. - Praat's tests are run as part of Parselmouth's test suite in CI (enabled by the
--run-praat-tests
flag). - Added support for Python 3.9, for PyPy 2.7, 3.6, and 3.7, and for Python 3.9 on macOS 11.0 Apple Silicon machines.
Fixed
- Fixed a memory leak in
PraatEnvironment::retrieveSelectedObjects
(see #33). - Changed default value of the
very_accurate
parameter ofSound.to_pitch_ac
andSound.to_pitch_cc
toFalse
, matching Praat's default. - Added a
Sound
copy constructor from anotherSound
object, making suresampling_frequency
also gets copied.
Changed
- Updated Praat to version 6.1.38.
- Updated pybind11 to version v2.6.2.
Removed
- Removed support for Python 3.4.
0.3.3
Fixed
- Fixed crash in
praat.call
andpraat.run
when returning already existing Praat objects. - Fixed bug/crash in
praat.call
andpraat.run
when passing empty list of objects. - Removed
setlocale
calls from Praat and replace locale-dependent standard library calls with locale-independent ones (see #11). - Fixed sdist build by adding tests folder to
MANIFEST.in
(see #9).
0.3.2
Added
- Exposed
tmin
,tmax
,trange
,nt
,t1
,dt
,ts
,t_grid
, andt_bins
forTimeFunction
andTimeSampled
aspects. - Added
PREBUILT_PRAAT_DIR
variable to CMake configuraiton to allow reusing an already built Praat static library.
Changed
- Refactored bindings framework to allow for forward declarations and to get reduce the importance and use of
parselmouth/Parselmouth.h
.
Fixed
- Fixed
parselmouth.to_pitch
overload resolution, stopping*args
and**kwargs
from matching all calls.
0.3.1
Added
- Added Binder setup description and links from documentation.
- Added test framework with pytest and set up first batch of tests.
- Added Python 3.7 configurations to CI configurations.
Changed
- Updated pybind11 to v2.2.3.
- Updated documentation, changing examples from simple reStructuredText to Jupyter notebooks, executable through Binder.
Fixed
- Fixed
parselmouth.praat.run_file
to include files from directory of the script file, but to run in the original working directory. - Corrected typo in
Sound.to_harmonicity_ac
andto_harmonicity_cc
(see #6).
0.3.0
Added
- Exposed calls to Praat commands through
parselmouth.praat.call
. - Exposed running Praat scripts through
parselmouth.praat.run
andparselmouth.praat.run_script
. - Added
Thing.class_name
as read-only property to get underlying Praat class, even when that one is not yet exposed. - Added
name
andfull_name
properties toThing
class. - Added
save
,save_as_text_file
,save_as_short_text_file
, andsave_as_binary_file
toData
class.
Changed
- Updated Praat version to 6.0.37.
- Updated pybind11 to development version v2.3.dev0 (for
py::args
bugfix in dispatcher).
Fixed
- Corrected confusion between
get_time_from_frame_number
andget_frame_number_from_time
in time-sampled classes. - Minor fixes to the examples in the docs.