Initially please make sure the course_data_dir and course_data_url variables are set:

course_data_dir = "./myEMURdata" # change to valid dir path on your system
course_data_url = "http://www.phonetik.uni-muenchen.de/~jmh/lehre/Rdf"

All the Q & A’s are based on the kielread_emuDB that you can download from this location: http://www.phonetik.uni-muenchen.de/%7Ejmh/lehre/sem/ws1819/emuR/LESSON4/kielread_emuDB.zip After downloading and unpacking the emuDB place it into the course_data_dir directory.

You will also need the following R packages:

library(emuR)
library(tidyverse) # this includes dplyr and ggplot2

and to load the emuDB:

kiel_db = load_emuDB(file.path(course_data_dir, "kielread_emuDB"))
## INFO: Checking if cache needs update for 1 sessions and 200 bundles ...
## INFO: Performing precheck and calculating checksums (== MD5 sums) for _annot.json files ...
## INFO: Nothing to update!

Q & A’s

Please place your answers in the R Markdown code blocks or write the answers next to the A:

Visualizing smoothed vowel formant trajectories

  • Q: How do you get a overview/summary of the emuDB configuration?
  • A:
# place answer code here
  • Q: How do we add a SSFF track to the emuDB called ‘FORMANTS’ and also calculate the SSFF files using the wrassp function forest?
  • A:
# place answer code here
  • Q: How do we extract the a: and i: vowels from the database?
  • A:
# place answer code here
  • Q: How do we extract the formant values for the previously extracted vowels?
  • A:
# place answer code here
  • Q: How do we apply a dct-smoothing (m=2) of the F1 and F2 tracks?
  • A:
# place answer code here
  • Q: Bundles that start with K67 were produced by a male speakers and bundles that start with K68 where produced by a female speaker. How do we add a column to our trackdata called ‘sex’ that has the values ‘male’ and ‘female’ for the respective bundles?
  • A:
# place answer code here
  • Q: How do visualize the dct-smoothed F1 and F2 tracks (one panel for each vowel category and sex)?
  • A:
# place answer code here

Fricative spectral analysis

  • Q: How do we add a SSFF track to the emuDB called ‘dft’ and also calculate the SSFF files using the wrassp function dftSpectrum?
  • A:
# place answer code here
  • Q: How do we extract the fricatives x|C|s|z|S|f from the database?
  • A:
# place answer code here
  • Q: How do we extract a single spectral slice at the temporal mid-point of the extracted fricatives?
  • A:
# place answer code here
  • Q: How do we visualize a averaged slice per fricative type into a single panel?
  • A:
# place answer code here
  • Q: How do we visualize the dct-smoothed (m=4) spectral slices (one panel per fricative)?
  • A:
# place answer code here

Spectral moments analysis

Omitted due to time constraints