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 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")
  • 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)

Quick start

  • for more information see the An introduction to the emuR package vignette:
vignette('emuR_intro')

Copy Link

Version

Install

install.packages('emuR')

Monthly Downloads

414

Version

0.1.8

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Raphael Winkelmann

Last Published

May 2nd, 2016

Functions in emuR (0.1.8)

bridge

Three-columned matrix
dct

Discrete Cosine Transformation
add_files

Add files to emuDB
demo.vowels

Emu segment List
cen.sub

Subfunction of cen
coutts.sam

Trackdata of acoustic waveforms from the segment list coutts
make.emuRsegs

Make emuDB segment list
by.trackdata

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

Create demo data for the emuR package
coutts2.epg

EPG-compressed trackdata from the segment list coutts2
as.spectral

Function to convert an object into an object of class 'spectral'.
bayes.lab

bayes lab
dapply

apply a function to each part of a trackdata object
demo.all.rms

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

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

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

Build trackdata objects from the output of by()
demo.all

Emu segment list
mel.default

mel default
emuRsegs

emuR segment list
Slope.test

Slope Test
get.time.element

Get data for a given time
dbtopower

Function for inter-converting between decibels and a linear scale
as.matrix.emusegs

as.matrix.emusegs
dur.trackdata

Duration of trackdata elements
epgcog

Electropalatographic centre of gravity
coutts2

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

Convert Hertz to Bark and Bark to Hertz
get.trackkeywrd

get trackkeywrd
coutts.epg

EPG-compressed trackdata from the segment list coutts
nearey.sub

nearey sub
dim.trackdata

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

Plot palatographic data
dsmooth

Smooth the data in a trackdata object.
mu.colour.get

get a EMU color
dextract.lab

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

bind trackdata
bind

class method bind data
fric.dft

Spectral trackdata object from the segment list fric.
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.
modify.seglist

Modify one of the components of an Emu segment list
classplot

Produce a classification plot from discriminant or SVM modelling
e.dft

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

Vector of word label from the segment list coutts2
demo.vowels.fm

Formant track data for segment list demo.vowels
ddiff

Differentiation of tracks
dip

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

Create an Emu trackdata object
fapply

Function that applies a function to an EMU spectral object
read.emusegs

Create an Emu segment list from a file
create_emuDB

Create empty emuDB
create_emuRtrackdata

create emuRtrackdata object
is.seglist

is seglist
summary.emusegs

summary emusegs
autobuild_linkFromTimes

Autobuild links between two levels using their time information
closest

closest
vowlax.fdat

Trackdata of formants from the segment list vowlax
frames

frames
demo.vowels.f0

F0 track data for segment list demo.vowels
AddListRemoveLinkDefinition

Add / List / Remove linkDefinition to / of / from emuDB
cbind.trackdata

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

Convert a TextGridCollection (e.g. .wav & .TextGrid files) to emuDB
mu.linetype.get

mu linetype get
vowlax.l

Vector of phoneme labels from the segment list vowlax
dbnorm

Function to dB-normalise spectral objects
emusegs.type

segment list type
mahal.dist

Calculate mahalanobis distances
segmentlist

Segment list
classify

classify
coutts.rms

rms Data to coutts segment list
engassim.l

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

Vector of phonetic labels from the segment list polhom
bayesian.metric

bayesian metric
distance

distance
coutts2.sam

Trackdata of acoustic waveforms from the segment list coutts2
linear.av

linear av
mahalanobis.metric

mahalanobis metric
demo.all.fm

Formant track data for segment list demo.vowels
list_bundles

List bundles of emuDB
vowlax.fund

Trackdata of fundamental frequency from the segment list vowlax
cr

Plot digital sinuoids.
polhom.epg

EPG-compressed trackdata from the segment list polhom
linear

Perform linear time normalisation on trackdata.
emuR-package

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

Import media files to emuDB
SetGetSignalCanvasesOrder

Set / Get signalCanvasesOrder of / to / from emuDB
AddListRemoveLevelDefinitions

Add / List / Remove level definition to / of / from emuDB
demo.all.f0

F0 track data for segment list demo.vowels
freqtoint

Function to find the column number corresponding to frequencies of a spectral object
dip.l

Vector of phoneme labels from the segment list dip
eplot

Plot ellipses for two-dimensional data
fric

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

Vector of word labels from segment list wordlax
locus

Calculate locus equations for two-dimensional data
rbind.trackdata

A method of the generic function rbind for objects of class trackdata
make.seglist

Make an Emu segment list from the various components
expand_labels

Label each data sample
euclidean

Find the inter-euclidean distance for a data matrix
summary.trackdata

summary trackdata
emusegs.database

emusegs database
plot.trackdata

Produces time-series plots from trackdata
makelab

Write out ESPS-style label files
rescale.nearey

rescale nearey
plot.spectral

Plot spectra from EMU spectral objects
fric.w

Vector of word labels from the segment list fric.
print.emusegs

print emusegs
vowlax.dft.5

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

rescale lob
vowlax.df

Data frame of various parameters and labels from the segment list vowlax
[.spectral

Expand spectral
emusegs.query

emusegs query
radians

Converts degrees to radians
trackdata

Track data object
requery_hier

Requery hierarchical context of a segment list in an emuDB
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.
matscan

Read matrix data from a file
[.trackdata

Expand trackdata
is.trackdata

Test whether an object is an Emu trackdata object
dip.fdat

Trackdata of formants from the segment list dip
trackfreq

function to find the frequencies of a spectral object
outliers

outliers
dur.emusegs

Duration of segments
dimnames.trackdata

Dimnames of trackdata object
ellipse

Calculate ellipse coordinates
start.emusegs

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

Obtain a three-dimensional palatographic array
mahal

Classify using Mahalanobis distance
gerst.sub

gerst sub
fric.l

Vector of labels from the segment list fric
write.emusegs

Write an Emu segment list to a file
query

Query emuDB
dip.spkr

Vector of speaker labels from the segment list dip
label

Get labels / utterances from segment list
mu.colour

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

Convert Hz to the mel scale
muclass

Find common elements in vectors
isol

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

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

Load emuDB
AddListRemovePerspective

Add / List / Remove perspective to / of / from emuDB
vowlax.word

Vector of word labels from the segment list vowlax.
SetGetlevelCanvasesOrder

Set / Get level canvases order of emuDB
dplot

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

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

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

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

Convert legacy EMU database to the emuDB format
SetGetRemoveLegalLabels

Set / Get / Remove legal labels of attributeDefinition of emuDB
vowlax.fdat.5

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

Performance (hit rate) of a confusion matrix
epgai

Electropalatographic contact indices
label_convert

convert label
mu.legend

make a EMU legend
requery_seq

Requery sequential context of segment list in an emuDB
trapply

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

Function to calculate statistical moments
vowlax.spkr

Vector of speaker labels from the segment list vowlax.
rad

Function to convert between Hertz and Radians
print.emuRsegs

Print emuDB segment list
rescale.gerst

rescale gerst
norm

Normalise speech data
track.gradinfo.sub

track gradinfo sub
polhom

Segment list of four Polish homorganic fricatives from database epgpolish.
randomise.segs

Randomise or Reverse items in a segment list
list_files

List files of emuDB
epggs

Plot a grey-scale image of palatographic data.
vowlax

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

Trackdata of RMS energy from the segment list vowlax
crplot

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

expand EPG
vowlax.right

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

Function to shift the elements of a vector.
serve

Serve EMU database to EMU-webApp
bayes.dist

bayes dist
bind.default

data binding
dextract

Extract a subset of data from a trackdata object
engassim.epg

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

Find the time and position of a data element.
emuRtrackdata

emuR track data object
get_trackdata

Get trackdata from loaded emuDB
isol.l

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

Function to test whether the object is of class "spectral"
lob.sub

lob sub
splitstring

Split a string into words.
summary.emuDBhandle

Print summary of loaded EMU database (emuDB).
track.gradinfo

Calculate gradient summary information for trackdata
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
AddListRemoveSsffTrackDefinition

Add / List / Remove ssffTrackDefinition to / from / of emuDB
coutts.l

Vector of word label from the segment list coutts
engassim.w

Vector of word labels from the segment list engassim.
dtime

time signal times
list_sessions

List sessions of emuDB
dur

duration
vowlax.left

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

bayesplot
sortmatrix

Sort matrix by label
print.trackdata

print trackdata
label_num

num label
plafit

Calculate the coefficients of a parabola
polygonplot

polygonplot
epgsum

Sum contacts in palatograms.
train

Train a Gaussian Model
isol.fdat

Trackdata of formants from the segment list isol