Giter VIP home page Giter VIP logo

praatfig's Introduction

praatfig

(Work in progress)

This repository offers scripts with elaborated instruction to help phoneticians (from beginner level) learn how to produce high quality figures on Praat (instead of taking screenshot from Praat's window).

Installation

praatfig assumes that the user already has some basic knowledge of Praat. For example: open and save objects, view and edit audio file, creat TextGrid file and make annotation, etc.

  • Save as .eps is highly recommended although there are also other options such as: .png, .pdf, or .prapic (praat picture). This format allows editing text of image (replace the current text with your desired text or delete them). It helps to clean up some details of the figure which are much more complicated to deal with by script. In order to carry on this stuff, we need 2 supporting softwares:

    • A plain text editor such as Notepad++ for openning and manual editing the output figure.
    • A tool for viewing the .eps figure. Free software includes Eps viewer. (Note that EPS files cannot be displayed in this interface (GitHub), hence the use of .png or .jpg files for screen display.)

EPS is a file extension for a graphics file format used in vector-based images in Adobe Illustrator. EPS stands for Encapsulated PostScript. It may contain 2D vector graphics, bitmap images, and text.

General instruction

A rule-of-thumb order of the script for plotting an object

  • Clear history
  • Loading data
  • Choosing the position (There are two options: Select outer viewport or Select inner viewport)
  • Selecting object: spectrogram/ audio sound/ pitch/ formants, etc
  • Drawing the objects with details
  • Setting axes and legends
  • Save the file as .eps/ .pdf/ .png

Let's start

Script #1: Simple script for beginner

See this folder if you wish to be able to produce a figure like this:

Script #2: Adding f0 and Oq values caculated by Peakdet

This script was used to creat figures for my ICPhS-2019 paper.

See this folder if you wish to be able to produce a figure like this:

Script #3: An advanced script by Francisco Torreira

See this folder if you wish to be able to produce a figure like this:

Comments, suggestions, question, etc.

If you have a bug or an idea, please submit an issue to MinhChauNGUYEN/praatfig or contact me by email: [email protected]

References

  1. For further information of Praat Picture and so on, visit: http://www.fon.hum.uva.nl/praat/manual/Picture_window.html

praatfig's People

Contributors

minhchaunguyen avatar

Stargazers

 avatar  avatar

Watchers

 avatar

praatfig's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.