Skip to content

Xenomirant/phonfieldwork

 
 

Repository files navigation

phonfieldwork

Project Status: Active - The project has reached a stable, usable state and is being actively developed. CRAN version R build status Coverage Status DOI

phonfieldwork is a package for phonetic fieldwork research and experiments. This package make it easier:

  • creating a html/pptx presentation from stimuli-translation list,
  • renaming soundfiles according to the list of stimuli,
  • concatenating multiple soundfiles and create a Praat TextGrid whose interval labels are the original names of the sound
  • extracting sounds according to annotation
  • extracting annotation from multiple linguistic formats (Praat .TextGrid, ELAN .eaf, EXMARaLDA .exb, Audacity .txt and subtitles .srt)
  • visualising an oscilogram, a spectrogram and an annotation
  • creating an html viewer like this, ethical problems of this kind of viewer in linguistic research are covered in the vignette vignette("ethical_research_with_phonfieldwork").

For more ditails see tutorial.

The main goal of the phonfieldwork package is to make a full research workflow from data collection to data extraction and data representation easier for people that are not familiar with programming. Hovewer most of the phonfieldwork funnctionality can be found in other software and packages:

  • stimuli presentation creation could be done with any programming language and probably without them
  • automatic file renaming and automatic merge could be done with any programming language
  • Praat .TextGrid manipulation could be done with Praat, R packages rPraat and textgRid, the Python package 'pympi')
  • ELAN .eaf manipulationcould be done with ELAN, the R package FRelan and the Python package pympi
  • Praat .TextGrid, ELAN .eaf, and 'EXMARaLDA .exb import and export could be done with the R package act
  • cut sounds according to annotation could be done with Praat and the R packagetuneR
  • spectrogram visualisation could be done with multiple R packages signal, tuneR, seewave, phonTools, monitor, warbleR, soundgen and many others

Installation

Install from CRAN:

install.packages("phonfieldwork")

Get the development version from GitHub:

install.packages("remotes")
remotes::install_github("ropensci/phonfieldwork")

Load a library:

library(phonfieldwork)

In order to work with some rmarkdown functions you will need to install pandoc, see vignette("pandoc") for the details.

To do:

  • export to ELAN and EXMARALDA files
  • use ELAN and EXMARALDA files in the whole pipline discribed in docs
  • use the same pipline with video (for Sign Languages)
  • make TECkit to df and back

ropensci_footer

About

R package for phonetic research and experimenting

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 94.7%
  • R 4.2%
  • TeX 1.1%