Skip to content

Releases: YannickJadoul/Parselmouth

0.4.3

24 Dec 22:12
Compare
Choose a tag to compare

Fixed

  • Fixed source distribution failing to build, due to scikit-build & setuptools version mismatch in pyproject.toml.

0.4.2

06 Nov 19:14
Compare
Choose a tag to compare

Added

  • Added support for Python 3.11 and PyPy 3.9.

0.4.1

01 Feb 22:22
Compare
Choose a tag to compare

Added

  • Added support for Python 3.10 and PyPy 3.8.

0.4.0

07 Feb 13:26
Compare
Choose a tag to compare

Added

  • Added extra_objects and return_variables keyword arguments to praat.run and praat.run_file.
  • Added keep_cwd keyword argument to praat.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 of Sound.to_pitch_ac and Sound.to_pitch_cc to False, matching Praat's default.
  • Added a Sound copy constructor from another Sound object, making sure sampling_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

19 May 21:30
Compare
Choose a tag to compare

Fixed

  • Fixed crash in praat.call and praat.run when returning already existing Praat objects.
  • Fixed bug/crash in praat.call and praat.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

30 Aug 20:49
Compare
Choose a tag to compare

Added

  • Exposed tmin, tmax, trange, nt, t1, dt, ts, t_grid, and t_bins for TimeFunction and TimeSampled 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

10 Aug 11:53
Compare
Choose a tag to compare

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 and to_harmonicity_cc (see #6).

0.3.0

09 Feb 22:31
Compare
Choose a tag to compare

Added

  • Exposed calls to Praat commands through parselmouth.praat.call.
  • Exposed running Praat scripts through parselmouth.praat.run and parselmouth.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 and full_name properties to Thing class.
  • Added save, save_as_text_file, save_as_short_text_file, and save_as_binary_file to Data 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 and get_frame_number_from_time in time-sampled classes.
  • Minor fixes to the examples in the docs.

0.2.1

11 Dec 23:11
Compare
Choose a tag to compare

Added

  • Set up documentation on ReadTheDocs, including a rough API reference.

Changed

  • Exposed some missing Intensity and Pitch methods, and Pitch's internals.

Fixed

  • Made Travis CI and AppVeyor install NumPy.

0.2.0

16 Sep 10:08
Compare
Choose a tag to compare

Added

  • Added time domain query and modification methods on Sampled classes with a time aspect.
  • Exposed classes in the middle of Praat's inheritance hierarchy, Function, Sampled, and SampledXY.
  • Exposed main functionality of Pitch, Formants, and MFCC.
  • Added manylinux1 wheel building on Travis CI.

Changed

  • 'number of' accessors prefixed changed from num_ to n_ (e.g., Sound.num_channels ->Sound.n_channels).
  • Updated Praat version to 6.0.31.
  • Updated pybind11 to version v2.2.1.

Fixed

  • Adapted encoding of Thing.__str__ on Python 2 to take locale.getpreferredencoding() into account.