Learn R Programming

⚠️There's a newer version (2.6.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 visit this URL: http://ips-lmu.github.io/EMU.html.

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

414

Version

0.1.9

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Raphael Winkelmann

Last Published

August 3rd, 2016

Functions in emuR (0.1.9)

AddListRemoveLevelDefinitions

Add / List / Remove level definition to / of / from emuDB
as.spectral

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

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

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

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

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

Add / List / Remove attribute definition to / of / from emuDB
AddListRemoveSsffTrackDefinition

Add / List / Remove ssffTrackDefinition to / from / of emuDB
as.matrix.emusegs

as.matrix.emusegs
add_files

Add files to emuDB
autobuild_linkFromTimes

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

Create an Emu trackdata object
bind

class method bind data
bind.trackdata

bind trackdata
bayesian.metric

bayesian metric
bayes.lab

bayes lab
bark

Convert Hertz to Bark and Bark to Hertz
bayesplot

bayesplot
bayes.dist

bayes dist
bind.default

data binding
bridge

Three-columned matrix
classplot

Produce a classification plot from discriminant or SVM modelling
closest

closest
convert_BPFCollection

Convert a Bas Partitur File Collection (audio and BAS Partitur files) to an emuDB
by.trackdata

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

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

Convert legacy EMU database to the emuDB format
cen.sub

Subfunction of cen
buildtrack

Build trackdata objects from the output of by()
classify

classify
coutts2.l

Vector of word label from the segment list coutts2
coutts.sam

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

rms Data to coutts segment list
coutts

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

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

EPG-compressed trackdata from the segment list coutts2
coutts.l

Vector of word label from the segment list coutts
coutts.epg

EPG-compressed trackdata from the segment list coutts
coutts2

Segment list, same as coutts but at a slower speech rate
coutts2.sam

Trackdata of acoustic waveforms from the segment list coutts2
crplot

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

Plot digital sinuoids.
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.
create_emuRdemoData

Create demo data for the emuR package
create_emuRtrackdata

create emuRtrackdata object
dct

Discrete Cosine Transformation
dbnorm

Function to dB-normalise spectral objects
dapply

apply a function to each part of a trackdata object
dbtopower

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

Create empty emuDB
demo.all.fm

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

F0 track data for segment list demo.vowels
ddiff

Differentiation of tracks
demo.all

Emu segment list
dextract

Extract a subset of data from a trackdata object
dextract.lab

Extract a subset of data from a trackdata object
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
demo.vowels

Emu segment List
demo.vowels.f0

F0 track data for segment list demo.vowels
dsmooth

Smooth the data in a trackdata object.
dtime

time signal times
epgcog

Electropalatographic centre of gravity
ellipse

Calculate ellipse coordinates
emuR-package

emuR - Main Package of the EMU Speech Database Management System
fric.dft

Spectral trackdata object from the segment list fric.
epggs

Plot a grey-scale image of palatographic data.
fric

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

Get data for a given time
get.trackkeywrd

get trackkeywrd
dip.l

Vector of phoneme labels from the segment list dip
dip.spkr

Vector of speaker labels from the segment list dip
emusegs.database

emusegs database
engassim.w

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

emusegs query
expand_labels

Label each data sample
epgai

Electropalatographic contact indices
export_TextGridCollection

Export annotations of emuDB to TextGrid collection
gerst.sub

gerst sub
get_trackdata

Get trackdata from loaded emuDB
dur.emusegs

Duration of segments
dur

duration
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.
engassim.l

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

Vector of vowel phoneme labels from the segment list isol
label_convert

convert label
mahal.dist

Calculate mahalanobis distances
mahal

Classify using Mahalanobis distance
modify.seglist

Modify one of the components of an Emu segment list
mel

Convert Hz to the mel scale
dim.trackdata

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

Dimnames of trackdata object
emuRsegs

emuR segment list
frames

frames
emuRtrackdata

emuR track data object
fapply

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

Vector of labels from the segment list fric
fric.w

Vector of word labels from the segment list fric.
label

Get labels / utterances from segment list
label_num

num label
plot.spectral

Plot spectra from EMU spectral objects
plot.trackdata

Produces time-series plots from trackdata
print.emuRsegs

Print emuDB segment list
print.emusegs

print emusegs
rescale.lob

rescale lob
rescale.nearey

rescale nearey
summary.emusegs

summary emusegs
summary.trackdata

summary trackdata
vowlax.word

Vector of word labels from the segment list vowlax.
vowlax.spkr

Vector of speaker labels from the segment list vowlax.
dip.fdat

Trackdata of formants from the segment list dip
dip

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

segment list type
engassim.epg

EPG-compressed trackdata from the segment list engassim
frames.time

Find the time and position of a data element.
freqtoint

Function to find the column number corresponding to frequencies of a spectral object
is.seglist

is seglist
list_bundles

List bundles of emuDB
isol.fdat

Trackdata of formants from the segment list isol
import_mediaFiles

Import media files to emuDB
isol

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

List sessions of emuDB
load_emuDB

Load emuDB
mu.colour

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

make a EMU legend
perform

Performance (hit rate) of a confusion matrix
randomise.segs

Randomise or Reverse items in a segment list
plafit

Calculate the coefficients of a parabola
distance

distance
rbind.trackdata

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

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

Duration of trackdata elements
e.dft

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

Plot palatographic data
epgsum

Sum contacts in palatograms.
euclidean

Find the inter-euclidean distance for a data matrix
eplot

Plot ellipses for two-dimensional data
is.spectral

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

List files of emuDB
is.trackdata

Test whether an object is an Emu trackdata object
matscan

Read matrix data from a file
mel.default

mel default
polhom.epg

EPG-compressed trackdata from the segment list polhom
polhom

Segment list of four Polish homorganic fricatives from database epgpolish.
polhom.l

Vector of phonetic labels from the segment list polhom
segmentlist

Segment list
polygonplot

polygonplot
serve

Serve EMU database to EMU-webApp
Slope.test

Slope Test
make.seglist

Make an Emu segment list from the various components
makelab

Write out ESPS-style label files
moments

Function to calculate statistical moments
nearey.sub

nearey sub
mu.colour.get

get a EMU color
norm

Normalise speech data
requery_hier

Requery hierarchical context of a segment list in an emuDB
read.emusegs

Create an Emu segment list from a file
splitstring

Split a string into words.
start.emusegs

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

Sort matrix by label
track.gradinfo

Calculate gradient summary information for trackdata
track.gradinfo.sub

track gradinfo sub
vowlax.fdat.5

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

Trackdata of formants from the segment list vowlax
SetGetlevelCanvasesOrder

Set / Get level canvases order of emuDB
summary.emuDBhandle

Print summary of loaded EMU database (emuDB).
[.trackdata

Expand trackdata
SetGetRemoveLegalLabels

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

Train a Gaussian Model
trapply

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

Vector of labels preceding the vowels from the segment list vowlax
vowlax.right

Vector of labels following the vowels from the segment list vowlax
trackfreq

function to find the frequencies of a spectral object
tracktimes

Get the track times from EMU trackdata objects
vowlax.fund.5

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

Vector of word labels from segment list wordlax
vowlax.fund

Trackdata of fundamental frequency from the segment list vowlax
write.emusegs

Write an Emu segment list to a file
linear.av

linear av
linear

Perform linear time normalisation on trackdata.
lob.sub

lob sub
locus

Calculate locus equations for two-dimensional data
muclass

Find common elements in vectors
outliers

outliers
mu.linetype.get

mu linetype get
rad

Function to convert between Hertz and Radians
palate

Obtain a three-dimensional palatographic array
radians

Converts degrees to radians
SetGetSignalCanvasesOrder

Set / Get signalCanvasesOrder of / to / from emuDB
shift

Function to shift the elements of a vector.
vowlax.rms.5

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

Trackdata of RMS energy from the segment list vowlax
mahalanobis.metric

mahalanobis metric
make.emuRsegs

Make emuDB segment list
print.trackdata

print trackdata
query

Query emuDB
requery_seq

Requery sequential context of segment list in an emuDB
rescale.gerst

rescale gerst
[.spectral

Expand spectral
[.EPG

expand EPG
vowlax.df

Data frame of various parameters and 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

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

Vector of phoneme labels from the segment list vowlax