teaching

Some packages and scripts

Here are some tools I’ve made for LaTeX and Praat – let me know if you like any of them or find any bugs!

  • A Praat plugin designed for PoLaR labellers. Found at on GitHub
    • This plugin includes many functionalities, including:
    • (i) producing figures for publication, (ii) automated labelling of the PoLaR Levels tier, (iii) resynthesizing straight-line approximations of pitch based on the PoLaR Points tier, (iv) exporting PoLaR labels into a table format for further analysis, among other functions.
  • A LaTeX package for making neat and easy-to-make outlines. MarginOutline.zip
    • The LaTeX code on the left produces the PDF output on the right:
  • A LaTeX hack for TikZ-qtree which makes label-less nodes more aesthetically pleasing. (TeX Source Code)
    • The LaTeX code on the left produces the PDF output on the right:
  • Praat scripts for drawing and saving figures with the waveform, pitch track, and spectrogram. Some features:
    • If there are TextGrids, they can optionally be included in the figures as well.
    • The pitch range in the figures automatically narrows, to frequencies with pitch information.
    • The spectrogram’s frequency range automatically narrows, depending on the recording quality.
    • With these scripts, the waveform, pitch track, and spectrogram are all separately drawn. For individual recordings, and for a directory of recordings.
    • With these scripts, the pitch track is overlaid on top of the spectrogram, and the waveform is separately drawn. For individual recordings, and for a directory of recordings.