Learn R Programming

⚠️There's a newer version (2.5.0) of this package.Take me there.

emuR - Main package of the EMU Speech Database Management System

The emuR package provides the next iteration of the EMU Speech Database Management System (EMU-SDMS) with database management, data extraction, data preparation and data visualization facilities. It also contains a server that is intended to host databases in the emuDB format (see vignette('emuDB_intro')) to the EMU-webApp (http://ips-lmu.github.io/EMU-webApp/). The querying of annotations is performed using EMU's own EQL2 (EMU Query Language Version 2).

This package is part of the next iteration of the EMU Speech Database Management System which aims to be as close to an all-in-one solution for generating, manipulating, querying, analyzing and managing speech databases as possible. For an overview of the system please see http://ips-lmu.github.io/EMU.html and/or https://www.sciencedirect.com/science/article/pii/S0885230816302601 .

Installation

install.packages("emuR")

As this also installs all of the dependencies (incl. the wrassp package) this is the only installation step necessary to install the EMU-SDMS on your system. The only other requirement of the EMU-SDMS is a modern web browser (Chrome (recommended!) / Firefox / ...) which most people should already have on their systems.

Quick start

For more information see the The EMU-SDMS Manual

For Developers / Beta-Testers

Installation (two alternative methods)

  • either download & extract the package from GitHub. Then install it with the following command:
install.packages("path/to/emuR", repos = NULL, type="source")
  • or install the latest development version from GitHub (preferred method):
library(devtools)
install_github("IPS-LMU/emuR", build_vignettes = TRUE)

Copy Link

Version

Install

install.packages('emuR')

Monthly Downloads

507

Version

2.0.4

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Raphael Winkelmann

Last Published

November 6th, 2019

Functions in emuR (2.0.4)

bark

Convert Hertz to Bark and Bark to Hertz
SetGetSignalCanvasesOrder

Set / Get signalCanvasesOrder of / to / from emuDB
bayesplot

bayesplot
bind

class method bind data
bayes.dist

bayes dist
SetGetlevelCanvasesOrder

Set / Get level canvases order of emuDB
Slope.test

Slope Test
add_files

Add files to emuDB
AddListRemovePerspective

Add / List / Remove perspective to / of / from emuDB
AddListRemoveSsffTrackDefinition

Add / List / Remove ssffTrackDefinition to / from / of emuDB
bridge

Three-columned matrix
as.trackdata

Create an Emu trackdata object
buildtrack

Build trackdata objects from the output of by()
convert_txtCollection

Converts a collection of audio files and plain text transcriptions into an emuDB
convert_legacyEmuDB

Convert legacy EMU database to the emuDB format
coutts.rms

rms Data to coutts segment list
AddListRenameRemoveAttributeDefinitions

Add / List / Rename / Remove attribute definition to / of / from emuDB
SetGetRemoveLegalLabels

Set / Get / Remove legal labels of attributeDefinition of emuDB
coutts.sam

Trackdata of acoustic waveforms from the segment list coutts
ddiff

Differentiation of tracks
autobuild_linkFromTimes

Autobuild links between two levels using their time information
cr

Plot digital sinuoids.
AddListRemoveAttrDefLabelGroup

Add / List / Remove labelGroup to / of / from attributeDefinition of emuDB
create_emuDB

Create empty emuDB
crplot

Function to plot a digital sinusoid and the circle from which it is derived.
dapply

apply a function to each part of a trackdata object
AddListRemoveLabelGroup

Add / List / Remove global labelGroup to / of / from emuDB
demo.all.rms

Emu track data for a rms track for segment list demo.all
dimnames.trackdata

Dimnames of trackdata object
demo.all.fm

Formant track data for segment list demo.vowels
as.matrix.emusegs

as.matrix.emusegs
bayes.lab

bayes lab
epgplot

Plot palatographic data
dip

Segment list of dipththongs, two speakers one male, one female , Standard North German, read speech from database kielread
epgsum

Sum contacts in palatograms.
as.spectral

Function to convert an object into an object of class 'spectral'.
bind.default

data binding
by.trackdata

A method of the generic function by for objects of class \'trackdata\'
export_TextGridCollection

Export annotations of emuDB to TextGrid collection
bind.trackdata

bind trackdata
cbind.trackdata

A method of the generic function cbind for objects of class \'trackdata\'
classify

classify
cen.sub

Subfunction of cen
convert_wideToLong

convert tracks of a tibble trackdata object to the long form
coutts

Segment list of words, read speech, female speaker of Australian English from database epgcoutts
delete_itemsInLevel

Delete new items programmatically
convert_BPFCollection

Convert a Bas Partitur File Collection (audio and BAS Partitur files) to an emuDB
export_seglistToTxtCollection

Exports a segment list to txt collection
bayesian.metric

bayesian metric
distance

distance
dip.spkr

Vector of speaker labels from the segment list dip
dextract

Extract a subset of data from a trackdata object
emusegs.database

emusegs database
classplot

Produce a classification plot from discriminant or SVM modelling
demo.vowels.fm

Formant track data for segment list demo.vowels
closest

closest
coutts.epg

EPG-compressed trackdata from the segment list coutts
engassim.w

Vector of word labels from the segment list engassim.
emusegs.query

emusegs query
epgai

Electropalatographic contact indices
create_emuRdemoData

Create demo data for the emuR package
create_emuRtrackdata

create emuRtrackdata object
gerst.sub

gerst sub
get.time.element

Get data for a given time
label

Get labels / utterances from segment list
isol.l

Vector of vowel phoneme labels from the segment list isol
coutts.l

Vector of word label from the segment list coutts
coutts2

Segment list, same as coutts but at a slower speech rate
load_emuDB

Load emuDB
coutts2.epg

EPG-compressed trackdata from the segment list coutts2
convert_TextGridCollection

Convert a TextGridCollection (e.g. .wav & .TextGrid files) to emuDB
create_links

create links between items
create_itemsInLevel

Create new items programmatically
frames.time

Find the time and position of a data element.
dextract.lab

Extract a subset of data from a trackdata object
dim.trackdata

A method of the generic function dim for objects of class 'trackdata'
demo.all

Emu segment list
freqtoint

Function to find the column number corresponding to frequencies of a spectral object
coutts2.sam

Trackdata of acoustic waveforms from the segment list coutts2
coutts2.l

Vector of word label from the segment list coutts2
dur.trackdata

Duration of trackdata elements
lob.sub

lob sub
dbnorm

Function to dB-normalise spectral objects
make.emuRsegs

Make emuDB segment list
replace_itemLabels

Replace item labels
polhom

Segment list of four Polish homorganic fricatives from database epgpolish.
norm

Normalise speech data
make.seglist

Make an Emu segment list from the various components
polhom.epg

EPG-compressed trackdata from the segment list polhom
normalize_length

fric.l

Vector of labels from the segment list fric
e.dft

Spectral vector of a single E vowel produced by a male speaker of Standard North German.
dct

Discrete Cosine Transformation
requery_hier

Requery hierarchical context of a segment list in an emuDB
dbtopower

Function for inter-converting between decibels and a linear scale
is.spectral

Function to test whether the object is of class "spectral"
mahal.dist

Calculate mahalanobis distances
is.trackdata

Test whether an object is an Emu trackdata object
fric.w

Vector of word labels from the segment list fric.
dip.l

Vector of phoneme labels from the segment list dip
runBASwebservice_g2pForTokenization

Tokenizes an orthographic transcription.
ellipse

Calculate ellipse coordinates
dip.fdat

Trackdata of formants from the segment list dip
engassim.epg

EPG-compressed trackdata from the segment list engassim
demo.all.f0

F0 track data for segment list demo.vowels
mahalanobis.metric

mahalanobis metric
fapply

Function that applies a function to an EMU spectral object
engassim.l

Vector of phonetic labels from the segment list engassim: nK = nk,ng , sK = sk,sg
mu.colour

Function for specifying color, linetype, and line-widths in EMU plotting functions.
outliers

outliers
mu.colour.get

get a EMU color
trackdata

Track data object
segmentlist

Segment list
runBASwebservice_maus

Runs MAUS webservice to create a phonetic segmentation
trackfreq

function to find the frequencies of a spectral object
runBASwebservice_pho2sylSegmental

Creates a syllable segmentation on the basis of a phonetic segmentation.
frames

frames
dtime

time signal times
dcut

Function to extract a vector or matrix from EMU-Trackdata at a single time point of to create another EMU-trackdata object between two times.
duplicate_level

Duplicate level
emuR-package

emuR - Main Package of the EMU Speech Database Management System
emuRsegs

emuR segment list
palate

Obtain a three-dimensional palatographic array
emuRtrackdata

emuR track data object
tracktimes

Get the track times from EMU trackdata objects
train

Train a Gaussian Model
import_mediaFiles

Import media files to emuDB
vowlax.rms.5

Vector of RMS energy values at the temporal midpoint extracted at the temporal midpoint from the segment list vowlax
print.trackdata

print trackdata
print.emusegs

print emusegs
epgcog

Electropalatographic centre of gravity
is.seglist

is seglist
epggs

Plot a grey-scale image of palatographic data.
label_convert

convert label
label_num

num label
eplot

Plot ellipses for two-dimensional data
list_bundles

List bundles of emuDB
makelab

Write out ESPS-style label files
list_files

List files of emuDB
euclidean

Find the inter-euclidean distance for a data matrix
matscan

Read matrix data from a file
dplot

A function to plot one or more columns of EMU-trackdata as a function of time
demo.vowels

Emu segment List
muclass

Find common elements in vectors
demo.vowels.f0

F0 track data for segment list demo.vowels
linear

Perform linear time normalisation on trackdata.
get.trackkeywrd

get trackkeywrd
get_trackdata

Get trackdata from loaded emuDB
list_sampleRates

List sample rates of media and annotation (_annot.json) files
list_sessions

List sessions of emuDB
linear.av

linear av
fric

Segment list of word-medial s or z one male speaker of Standard North German, read speech from database kielread.
rename_emuDB

Rename emuDB
nearey.sub

nearey sub
mu.linetype.get

mu linetype get
runBASwebservice_chunker

Creates a chunk segmentation using the webservice Chunker.
rename_bundles

Rename bundles in emuDB
fric.dft

Spectral trackdata object from the segment list fric.
polhom.l

Vector of phonetic labels from the segment list polhom
polygonplot

polygonplot
runBASwebservice_g2pForPronunciation

Creates canonical pronunciation attributes for a tier of tokenized orthographical words.
mu.legend

make a EMU legend
dsmooth

Smooth the data in a trackdata object.
print.emuRsegs

Print emuRsegs segment list
emusegs.type

segment list type
expand_labels

Label each data sample
dur.emusegs

Duration of segments
engassim

Segment list of a sequence of syllable final n or N preceding k or g , isolated words single speaker, Australian English female from database epgassim.
export_BPFCollection

Exports an emuDB into a BAS Partitur File (BPF) Collection
dur

duration
vowlax.rms

Trackdata of RMS energy from the segment list vowlax
print.emuRtrackdata

Print emuRtrackdata object
rescale.gerst

rescale gerst
resample_annots

Resample annotations (_annot.json) files of emuDB
requery_seq

Requery sequential context of segment list in an emuDB
rad

Function to convert between Hertz and Radians
query

Query emuDB
modify.seglist

Modify one of the components of an Emu segment list
rescale.lob

rescale lob
serve

Serve EMU database to EMU-webApp
shift

Function to shift the elements of a vector.
moments

Function to calculate statistical moments
vowlax.fdat

Trackdata of formants from the segment list vowlax
track.gradinfo

Calculate gradient summary information for trackdata
isol

Segment list of vowels in a d d context isolated word speech, one male speaker of Australian English from database isolated.
track.gradinfo.sub

track gradinfo sub
vowlax.fund.5

Vector of fundamental frequency extracted at the temporal midpoint from the segment list vowlax.
sort.emuRsegs

Sort emuRsegs segment list by session, bundle and sample_start
vowlax.left

Vector of labels preceding the vowels from the segment list vowlax
isol.fdat

Trackdata of formants from the segment list isol
start.emusegs

Start and end times for EMU segment lists and trackdata objects
splitstring

Split a string into words.
[.trackdata

Expand trackdata
sortmatrix

Sort matrix by label
summary.emuDBhandle

Print summary of loaded EMU database (emuDB).
vowlax

Segment list of four lax vowels, read speech, one male and one female speaker of Standard North German from database kielread.
vowlax.right

Vector of labels following the vowels from the segment list vowlax
vowlax.df

Data frame of various parameters and labels from the segment list vowlax
locus

Calculate locus equations for two-dimensional data
[.EPG

expand EPG
[.spectral

Expand spectral
vowlax.l

Vector of phoneme labels from the segment list vowlax
mel

Convert Hz to the mel scale
vowlax.fund

Trackdata of fundamental frequency from the segment list vowlax
mel.default

mel default
mahal

Classify using Mahalanobis distance
perform

Performance (hit rate) of a confusion matrix
radians

Converts degrees to radians
rescale.nearey

rescale nearey
randomise.segs

Randomise or Reverse items in a segment list
runBASwebservice_all

Runs several BAS webservices, starting from an orthographic transcription
vowlax.dft.5

Spectral matrix centred at the temporal midpoint of the vowels from the segment list vowlax.
plafit

Calculate the coefficients of a parabola
vowlax.fdat.5

Matrix of formant data extracted at the temporal midpoint from the segment list vowlax.
wordlax.l

Vector of word labels from segment list wordlax
write.emusegs

Write an Emu segment list to a file
plot.spectral

Plot spectra from EMU spectral objects
plot.trackdata

Produces time-series plots from trackdata
rbind.trackdata

A method of the generic function rbind for objects of class trackdata
read.emusegs

Create an Emu segment list from a file
runBASwebservice_minni

Creates a rough phonetic segmentation by running the phoneme decoder webservice MINNI.
summary.emusegs

summary emusegs
runBASwebservice_pho2sylCanonical

Adds syllabified word labels to a word level that already contains canonical pronunciations.
trapply

A method of the generic function by for objects of class \'trackdata\'
summary.trackdata

summary trackdata
vowlax.spkr

Vector of speaker labels from the segment list vowlax.
update_itemsInLevel

Update items programmatically
vowlax.word

Vector of word labels from the segment list vowlax.
AddListRemoveLevelDefinitions

Add / List / Remove level definition to / of / from emuDB
AddListRemoveLinkDefinition

Add / List / Remove linkDefinition to / of / from emuDB