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 An introduction to the emuR package vignette:
vignette('emuR_intro')

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

596

Version

1.0.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

April 11th, 2018

Functions in emuR (1.0.0)

bind.default

data binding
Slope.test

Slope Test
as.spectral

Function to convert an object into an object of class 'spectral'.
add_files

Add files to emuDB
coutts2.sam

Trackdata of acoustic waveforms from the segment list coutts2
coutts.rms

rms Data to coutts segment list
coutts.l

Vector of word label from the segment list coutts
bayesplot

bayesplot
coutts.epg

EPG-compressed trackdata from the segment list coutts
coutts

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

class method bind data
bind.trackdata

bind trackdata
dbnorm

Function to dB-normalise spectral objects
dapply

apply a function to each part of a trackdata object
dim.trackdata

A method of the generic function dim for objects of class 'trackdata'
dextract.lab

Extract a subset of data from a trackdata object
cr

Plot digital sinuoids.
bayes.dist

bayes dist
by.trackdata

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

Produce a classification plot from discriminant or SVM modelling
convert_TextGridCollection

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

Three-columned matrix
cbind.trackdata

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

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

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

Build trackdata objects from the output of by()
closest

closest
coutts2.epg

EPG-compressed trackdata from the segment list coutts2
convert_legacyEmuDB

Convert legacy EMU database to the emuDB format
coutts2.l

Vector of word label from the segment list coutts2
create_emuRtrackdata

create emuRtrackdata object
coutts2

Segment list, same as coutts but at a slower speech rate
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.
coutts.sam

Trackdata of acoustic waveforms from the segment list coutts
dct

Discrete Cosine Transformation
dbtopower

Function for inter-converting between decibels and a linear scale
create_emuDB

Create empty emuDB
ddiff

Differentiation of tracks
create_emuRdemoData

Create demo data for the emuR package
dplot

A function to plot one or more columns of EMU-trackdata as a function of time
dsmooth

Smooth the data in a trackdata object.
emuRtrackdata

emuR track data object
emuRsegs

emuR segment list
eplot

Plot ellipses for two-dimensional data
euclidean

Find the inter-euclidean distance for a data matrix
demo.all.fm

Formant track data for segment list demo.vowels
demo.vowels.fm

Formant track data for segment list demo.vowels
demo.all.rms

Emu track data for a rms track for segment list demo.all
dextract

Extract a subset of data from a trackdata object
export_TextGridCollection

Export annotations of emuDB to TextGrid collection
crplot

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

Emu segment list
fapply

Function that applies a function to an EMU spectral object
demo.all.f0

F0 track data for segment list demo.vowels
dimnames.trackdata

Dimnames of trackdata object
demo.vowels

Emu segment List
is.trackdata

Test whether an object is an Emu trackdata object
isol

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

linear av
dip

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

List bundles of emuDB
dur.trackdata

Duration of trackdata elements
makelab

Write out ESPS-style label files
e.dft

Spectral vector of a single E vowel produced by a male speaker of Standard North German.
demo.vowels.f0

F0 track data for segment list demo.vowels
engassim.epg

EPG-compressed trackdata from the segment list engassim
matscan

Read matrix data from a file
mu.colour

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

time signal times
mu.colour.get

get a EMU color
engassim.l

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

Performance (hit rate) of a confusion matrix
dur

duration
emusegs.type

segment list type
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.
plafit

Calculate the coefficients of a parabola
expand_labels

Label each data sample
rbind.trackdata

A method of the generic function rbind for objects of class trackdata
duplicate_level

Duplicate level
export_BPFCollection

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

Function to find the column number corresponding to frequencies of a spectral object
emusegs.database

emusegs database
fric.dft

Spectral trackdata object from the segment list fric.
engassim.w

Vector of word labels from the segment list engassim.
epgai

Electropalatographic contact indices
get.trackkeywrd

get trackkeywrd
fric.l

Vector of labels from the segment list fric
get.time.element

Get data for a given time
dip.fdat

Trackdata of formants from the segment list dip
read.emusegs

Create an Emu segment list from a file
emusegs.query

emusegs query
dip.l

Vector of phoneme labels from the segment list dip
epgplot

Plot palatographic data
epgsum

Sum contacts in palatograms.
frames

frames
label_num

num label
frames.time

Find the time and position of a data element.
get_trackdata

Get trackdata from loaded emuDB
rescale.nearey

rescale nearey
fric

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

lob sub
import_mediaFiles

Import media files to emuDB
runBASwebservice_all

Runs several BAS webservices, starting from an orthographic transcription
load_emuDB

Load emuDB
sort.emuRsegs

Sort emuRsegs segment list by session, bundle and sample_start
sortmatrix

Sort matrix by label
linear

Perform linear time normalisation on trackdata.
isol.fdat

Trackdata of formants from the segment list isol
make.emuRsegs

Make emuDB segment list
[.EPG

expand EPG
make.seglist

Make an Emu segment list from the various components
mel.default

mel default
mel

Convert Hz to the mel scale
isol.l

Vector of vowel phoneme labels from the segment list isol
[.spectral

Expand spectral
list_files

List files of emuDB
dip.spkr

Vector of speaker labels from the segment list dip
muclass

Find common elements in vectors
list_sessions

List sessions of emuDB
vowlax.fdat.5

Matrix of formant data extracted at the temporal midpoint from the segment list vowlax.
nearey.sub

nearey sub
modify.seglist

Modify one of the components of an Emu segment list
mahal.dist

Calculate mahalanobis distances
vowlax.fdat

Trackdata of formants from the segment list vowlax
mahalanobis.metric

mahalanobis metric
mu.legend

make a EMU legend
vowlax.l

Vector of phoneme labels from the segment list vowlax
polhom.l

Vector of phonetic labels from the segment list polhom
vowlax.left

Vector of labels preceding the vowels from the segment list vowlax
polhom

Segment list of four Polish homorganic fricatives from database epgpolish.
mu.linetype.get

mu linetype get
distance

distance
moments

Function to calculate statistical moments
polygonplot

polygonplot
polhom.epg

EPG-compressed trackdata from the segment list polhom
emuR-package

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

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

Calculate ellipse coordinates
AddListRemoveLabelGroup

Add / List / Remove global labelGroup to / of / from emuDB
epgcog

Electropalatographic centre of gravity
print.emusegs

print emusegs
print.trackdata

print trackdata
outliers

outliers
query

Query emuDB
epggs

Plot a grey-scale image of palatographic data.
as.matrix.emusegs

as.matrix.emusegs
rad

Function to convert between Hertz and Radians
fric.w

Vector of word labels from the segment list fric.
palate

Obtain a three-dimensional palatographic array
is.seglist

is seglist
gerst.sub

gerst sub
rename_emuDB

Rename emuDB
radians

Converts degrees to radians
randomise.segs

Randomise or Reverse items in a segment list
rescale.gerst

rescale gerst
replace_itemLabels

Replace item labels
is.spectral

Function to test whether the object is of class "spectral"
label

Get labels / utterances from segment list
label_convert

convert label
locus

Calculate locus equations for two-dimensional data
requery_hier

Requery hierarchical context of a segment list in an emuDB
rescale.lob

rescale lob
runBASwebservice_g2pForTokenization

Tokenizes an orthographic transcription.
shift

Function to shift the elements of a vector.
serve

Serve EMU database to EMU-webApp
runBASwebservice_maus

Runs MAUS webservice to create a phonetic segmentation
splitstring

Split a string into words.
mahal

Classify using Mahalanobis distance
requery_seq

Requery sequential context of segment list in an emuDB
norm

Normalise speech data
normalize_length

start.emusegs

Start and end times for EMU segment lists and trackdata objects
plot.spectral

Plot spectra from EMU spectral objects
print.emuRsegs

Print emuRsegs segment list
plot.trackdata

Produces time-series plots from trackdata
print.emuRtrackdata

Print emuRtrackdata object
runBASwebservice_pho2sylSegmental

Creates a syllable segmentation on the basis of a phonetic segmentation.
summary.emusegs

summary emusegs
segmentlist

Segment list
runBASwebservice_chunker

Creates a chunk segmentation using the webservice Chunker.
vowlax.df

Data frame of various parameters and labels from the segment list vowlax
summary.trackdata

summary trackdata
vowlax.rms

Trackdata of RMS energy from the segment list vowlax
trackdata

Track data object
trackfreq

function to find the frequencies of a spectral object
write.emusegs

Write an Emu segment list to a file
vowlax.spkr

Vector of speaker labels from the segment list vowlax.
vowlax.dft.5

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

Vector of word labels from the segment list vowlax.
AddListRemovePerspective

Add / List / Remove perspective to / of / from emuDB
wordlax.l

Vector of word labels from segment list wordlax
AddListRemoveSsffTrackDefinition

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

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

Set / Get signalCanvasesOrder of / to / from emuDB
runBASwebservice_pho2sylCanonical

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

Creates a rough phonetic segmentation by running the phoneme decoder webservice MINNI.
track.gradinfo

Calculate gradient summary information for trackdata
SetGetlevelCanvasesOrder

Set / Get level canvases order of emuDB
bark

Convert Hertz to Bark and Bark to Hertz
cen.sub

Subfunction of cen
track.gradinfo.sub

track gradinfo sub
trapply

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

Expand trackdata
summary.emuDBhandle

Print summary of loaded EMU database (emuDB).
classify

classify
train

Train a Gaussian Model
vowlax.fund.5

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

Get the track times from EMU trackdata objects
vowlax

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

Trackdata of fundamental frequency from the segment list vowlax
AddListRemoveLevelDefinitions

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

Add / List / Remove linkDefinition to / of / from emuDB
bayes.lab

bayes lab
vowlax.right

Vector of labels following the vowels from the segment list vowlax
vowlax.rms.5

Vector of RMS energy values at the temporal midpoint extracted at the temporal midpoint from the segment list vowlax
AddListRenameRemoveAttributeDefinitions

Add / List / Rename / Remove attribute definition to / of / from emuDB
bayesian.metric

bayesian metric
SetGetRemoveLegalLabels

Set / Get / Remove legal labels of attributeDefinition of emuDB
autobuild_linkFromTimes

Autobuild links between two levels using their time information
as.trackdata

Create an Emu trackdata object