Package: emuR 2.5.0

Markus Jochim

emuR: Main Package of the EMU Speech Database Management System

Provide the EMU Speech Database Management System (EMU-SDMS) with database management, data extraction, data preparation and data visualization facilities. See <https://ips-lmu.github.io/The-EMU-SDMS-Manual/> for more details.

Authors:Markus Jochim [aut, cre], Raphael Winkelmann [aut], Klaus Jaensch [aut, ctb], Steve Cassidy [aut, ctb], Jonathan Harrington [aut, ctb]

emuR_2.5.0.tar.gz
emuR_2.5.0.zip(r-4.5)emuR_2.5.0.zip(r-4.4)emuR_2.5.0.zip(r-4.3)
emuR_2.5.0.tgz(r-4.4-any)emuR_2.5.0.tgz(r-4.3-any)
emuR_2.5.0.tar.gz(r-4.5-noble)emuR_2.5.0.tar.gz(r-4.4-noble)
emuR_2.5.0.tgz(r-4.4-emscripten)emuR_2.5.0.tgz(r-4.3-emscripten)
emuR.pdf |emuR.html
emuR/json (API)
NEWS

# Install 'emuR' in R:
install.packages('emuR', repos = c('https://ips-lmu.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ips-lmu/emur/issues

Datasets:
  • bridge - Three-columned matrix
  • coutts - Segment list of words, read speech, female speaker of Australian English from database epgcoutts
  • coutts.epg - EPG-compressed trackdata from the segment list coutts
  • coutts.l - Vector of word label from the segment list coutts
  • coutts.rms - Rms Data to coutts segment list
  • coutts.sam - Trackdata of acoustic waveforms from the segment list coutts
  • coutts2 - Segment list, same as coutts but at a slower speech rate
  • demo.all - Emu segment list
  • 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
  • demo.vowels.fm - Formant track data for segment list demo.vowels
  • dip - Segment list of diphthongs, two speakers one male, one female , Standard North German, read speech from database kielread
  • dip.fdat - Trackdata of formants from the segment list dip
  • dip.l - Vector of phoneme labels from the segment list dip
  • dip.spkr - Vector of speaker labels from the segment list dip
  • e.dft - Spectral vector of a single E vowel produced by a male speaker of Standard North German.
  • 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.epg - EPG-compressed trackdata from the segment list engassim
  • engassim.l - Vector of phonetic labels from the segment list engassim: nK = nk,ng , sK = sk,sg
  • engassim.w - Vector of word labels from the segment list engassim.
  • fric - Segment list of word-medial s or z one male speaker of Standard North German, read speech from database kielread.
  • fric.dft - Spectral trackdata object from the segment list fric.
  • fric.l - Vector of labels from the segment list fric
  • fric.w - Vector of word labels from the segment list fric.
  • isol - Segment list of vowels in a d d context isolated word speech, one male speaker of Australian English from database isolated.
  • isol.fdat - Trackdata of formants from the segment list isol
  • isol.l - Vector of vowel phoneme labels from the segment list isol
  • polhom - Segment list of four Polish homorganic fricatives from database epgpolish.
  • polhom.epg - EPG-compressed trackdata from the segment list polhom
  • polhom.l - Vector of phonetic labels from the segment list polhom
  • vowlax - Segment list of four lax vowels, read speech, one male and one female speaker of Standard North German from database kielread.
  • 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.fdat - Trackdata of formants from the segment list vowlax
  • vowlax.fdat.5 - Matrix of formant data extracted at the temporal midpoint from the segment list vowlax.
  • vowlax.fund - Trackdata of fundamental frequency from the segment list vowlax
  • vowlax.fund.5 - Vector of fundamental frequency extracted at the temporal midpoint from the segment list vowlax.
  • vowlax.l - Vector of phoneme labels from the segment list vowlax
  • 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
  • vowlax.rms - Trackdata of RMS energy 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
  • vowlax.spkr - Vector of speaker labels from the segment list vowlax.
  • vowlax.word - Vector of word labels from the segment list vowlax.

On CRAN:

7.17 score 23 stars 1 packages 133 scripts 545 downloads 180 exports 66 dependencies

Last updated 8 months agofrom:4abe4e308d. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 10 2024
R-4.5-winNOTENov 10 2024
R-4.5-linuxNOTENov 10 2024
R-4.4-winOKNov 10 2024
R-4.4-macOKNov 10 2024
R-4.3-winOKNov 10 2024
R-4.3-macOKNov 10 2024

Exports:add_attrDefLabelGroupadd_attributeDefinitionadd_filesadd_labelGroupadd_levelDefinitionadd_linkDefinitionadd_perspectiveadd_ssffTrackDefinitionas.spectralas.trackdataautobuild_linkFromTimesbarkbayes.distbayes.labbayesian.metricbayesplotbindbuildtrackcen.subclassifyclassplotclosestconvert_BPFCollectionconvert_legacyEmuDBconvert_TextGridCollectionconvert_txtCollectionconvert_wideToLongcrcreate_emuDBcreate_emuRdemoDatacreate_emuRtrackdatacreate_itemsInLevelcreate_linkscreate_spectrogram_image_as_rastercrplotdapplydbnormdbtopowerdctdcutdcut.subddiffddiff.subdelete_itemsInLeveldextractdextract.labdextract.subdistancedplotdplot.normdplot.timedsmoothdsmooth.subdtimeduplicate_leveldurellipseemusegs.databaseemusegs.queryemusegs.typeepgaiepgciepgcogepgdiepggsepgplotepgsumeploteuclideanexpand_labelsexport_BPFCollectionexport_seglistToTxtCollectionexport_TextGridCollectionfapplyframesframes.timefreqtointgerst.subget_legalLabelsget_levelCanvasesOrderget_signalCanvasesOrderget_trackdataget.time.elementget.trackkeywrdimport_mediaFilesis.seglistis.spectralis.trackdatalabellabel_convertlabel_numlinearlinear.avlist_attrDefLabelGroupslist_attributeDefinitionslist_bundleslist_fileslist_labelGroupslist_levelDefinitionslist_linkDefinitionslist_perspectiveslist_sampleRateslist_sessionslist_ssffTrackDefinitionsload_emuDBlob.sublocusmahalmahal.distmahalanobis.metricmake.emuRsegsmake.seglistmakelabmatscanmelmodify.seglistmomentsmu.colourmu.colour.getmu.legendmu.linetype.getmuclassnearey.subnormnormalize_lengthoutlierspalateperformplafitpolygonplotqueryradradiansrandomise.segsread_bundleListread.emusegsremove_attrDefLabelGroupremove_attributeDefinitionremove_labelGroupremove_legalLabelsremove_levelDefinitionremove_linkDefinitionremove_perspectiveremove_ssffTrackDefinitionrename_attributeDefinitionrename_bundlesrename_emuDBreplace_itemLabelsrequery_hierrequery_seqresample_annotsrescale.gerstrescale.lobrescale.neareyrunBASwebservice_allrunBASwebservice_chunkerrunBASwebservice_g2pForPronunciationrunBASwebservice_g2pForTokenizationrunBASwebservice_mausrunBASwebservice_minnirunBASwebservice_pho2sylCanonicalrunBASwebservice_pho2sylSegmentalserveset_legalLabelsset_levelCanvasesOrderset_signalCanvasesOrdershiftSlope.testsortmatrixsplitstringtrack.gradinfotrack.gradinfo.subtrackfreqtracktimestraintrapplyupdate_itemsInLeveluttwrite_bundleListwrite.emusegs

Dependencies:askpassbase64encbitbit64blobbslibcachemclicliprcommonmarkcpp11crayoncurlDBIdigestdplyrfansifastmapfontawesomefsgenericsgluehmshtmltoolshttpuvhttrjquerylibjsonlitelaterlifecyclemagrittrmemoisemimeopensslpillarpkgconfigplogrprettyunitsprogresspromisespurrrR6rappdirsRcppreadrrlangRSQLiterstudioapisassshinysourcetoolsstringistringrsystibbletidyrtidyselecttzdbutf8uuidV8vctrsvroomwithrwrasspxtable

Readme and manuals

Help Manual

Help pageTopics
emuR - Main Package of the EMU Speech Database Management SystememuR-package emuR
Add files to emuDBadd_files
Add / List / Remove labelGroup to / of / from attributeDefinition of emuDBAddListRemoveAttrDefLabelGroup add_attrDefLabelGroup list_attrDefLabelGroups remove_attrDefLabelGroup
Add / List / Remove global labelGroup to / of / from emuDBAddListRemoveLabelGroup add_labelGroup list_labelGroups remove_labelGroup
Add / List / Remove level definition to / of / from emuDBAddListRemoveLevelDefinitions add_levelDefinition list_levelDefinitions remove_levelDefinition
Add / List / Remove linkDefinition to / of / from emuDBAddListRemoveLinkDefinition add_linkDefinition list_linkDefinitions remove_linkDefinition
Add / List / Remove perspective to / of / from emuDBAddListRemovePerspective add_perspective list_perspectives remove_perspective
Add / List / Remove ssffTrackDefinition to / from / of emuDBAddListRemoveSsffTrackDefinition add_ssffTrackDefinition list_ssffTrackDefinitions remove_ssffTrackDefinition
Add / List / Rename / Remove attribute definition to / of / from emuDBAddListRenameRemoveAttributeDefinitions add_attributeDefinition list_attributeDefinitions remove_attributeDefinition rename_attributeDefinition
Function to convert an object into an object of class 'spectral'.as.spectral
Create an Emu trackdata objectas.trackdata
Autobuild links between two levels using their time informationautobuild_linkFromTimes
Convert Hertz to Bark and Bark to Hertzbark bark.default bark.spectral bark.trackdata
bind trackdatabind.trackdata
Three-columned matrixbridge
Build trackdata objects from the output of by()buildtrack
A method of the generic function by for objects of class 'trackdata'by by.trackdata
A method of the generic function cbind for objects of class 'trackdata'cbind cbind.trackdata
classifyclassify
Produce a classification plot from discriminant or SVM modellingclassplot
Convert a Bas Partitur File Collection (audio and BAS Partitur files) to an emuDBconvert_BPFCollection
Convert legacy EMU database to the emuDB formatconvert_legacyEmuDB
Convert a TextGridCollection (e.g. .wav & .TextGrid files) to emuDBconvert_TextGridCollection
Converts a collection of audio files and plain text transcriptions into an emuDBconvert_txtCollection
convert tracks of a tibble trackdata object to the long formconvert_wideToLong
Segment list of words, read speech, female speaker of Australian English from database epgcouttscoutts
EPG-compressed trackdata from the segment list couttscoutts.epg
Vector of word label from the segment list couttscoutts.l
rms Data to coutts segment listcoutts.rms
Trackdata of acoustic waveforms from the segment list couttscoutts.sam
Segment list, same as coutts but at a slower speech ratecoutts2
EPG-compressed trackdata from the segment list coutts2coutts2.epg
Vector of word label from the segment list coutts2coutts2.l
Trackdata of acoustic waveforms from the segment list coutts2coutts2.sam
Plot digital sinuoids.cr
Create empty emuDBcreate_emuDB
Create demo data for the emuR packagecreate_emuRdemoData
create emuRtrackdata objectcreate_emuRtrackdata
Create new items programmaticallycreate_itemsInLevel
create links between itemscreate_links
Create spectrogram image as rastercreate_spectrogram_image_as_raster
Function to plot a digital sinusoid and the circle from which it is derived.crplot
apply a function to each part of a trackdata objectdapply
Function to dB-normalise spectral objectsdbnorm
Function for inter-converting between decibels and a linear scaledbtopower
Discrete Cosine Transformationdct
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.dcut dcut.sub
Differentiation of tracksddiff ddiff.sub
Delete items programmaticallydelete_itemsInLevel
Emu segment listdemo.all
F0 track data for segment list demo.vowelsdemo.all.f0
Formant track data for segment list demo.vowelsdemo.all.fm
Emu track data for a rms track for segment list demo.alldemo.all.rms
Emu segment Listdemo.vowels
F0 track data for segment list demo.vowelsdemo.vowels.f0
Formant track data for segment list demo.vowelsdemo.vowels.fm
Extract a subset of data from a trackdata objectdextract dextract.sub
A method of the generic function dim for objects of class 'trackdata'dim dim.trackdata
Dimnames of trackdata objectdimnames.trackdata
Segment list of diphthongs, two speakers one male, one female , Standard North German, read speech from database kielreaddip
Trackdata of formants from the segment list dipdip.fdat
Vector of phoneme labels from the segment list dipdip.l
Vector of speaker labels from the segment list dipdip.spkr
A function to plot one or more columns of EMU-trackdata as a function of time (DEPRECATED see below)dplot dplot.norm dplot.time
Smooth the data in a trackdata object.dsmooth dsmooth.sub
Duplicate levelduplicate_level
durationdur
Spectral vector of a single E vowel produced by a male speaker of Standard North German.e.dft
Calculate ellipse coordinatesellipse
emuR segment listemuRsegs list segment
emuR track data objectemuRtrackdata
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
EPG-compressed trackdata from the segment list engassimengassim.epg
Vector of phonetic labels from the segment list engassim: nK = nk,ng , sK = sk,sgengassim.l
Vector of word labels from the segment list engassim.engassim.w
Electropalatographic contact indicesepgai epgci epgdi
Electropalatographic centre of gravityepgcog
Plot a grey-scale image of palatographic data.epggs
Plot palatographic dataepgplot
Sum contacts in palatograms.epgsum
Plot ellipses for two-dimensional data (DEPRECATED see below)eplot
Find the inter-euclidean distance for a data matrixeuclidean euclidean.metric
Label each data sampleexpand_labels
Exports an emuDB into a BAS Partitur File (BPF) Collectionexport_BPFCollection
Exports a segment list to txt collectionexport_seglistToTxtCollection
Export annotations of emuDB to TextGrid collectionexport_TextGridCollection
Function that applies a function to an EMU spectral objectfapply
framesframes
Find the time and position of a data element.frames.time
Function to find the column number corresponding to frequencies of a spectral objectfreqtoint
Segment list of word-medial s or z one male speaker of Standard North German, read speech from database kielread.fric
Spectral trackdata object from the segment list fric.fric.dft
Vector of labels from the segment list fricfric.l
Vector of word labels from the segment list fric.fric.w
Get trackdata from loaded emuDBemu.track get_trackdata
Get data for a given timeget.time.element
Import media files to emuDBimport_mediaFiles
Function to test whether the object is of class "spectral"is.spectral
Test whether an object is an Emu trackdata objectis.trackdata
Segment list of vowels in a d d context isolated word speech, one male speaker of Australian English from database isolated.isol
Trackdata of formants from the segment list isolisol.fdat
Vector of vowel phoneme labels from the segment list isolisol.l
Get labels / utterances from segment listlabel label.emusegs utt utt.emusegs
Perform linear time normalisation on trackdata.linear
List bundles of emuDBlist_bundles
List files of emuDBlist_files
List sample rates of media and annotation (_annot.json) fileslist_sampleRates
List sessions of emuDBlist_sessions
Load emuDBload_emuDB
Calculate locus equations for two-dimensional datalocus
Classify using Mahalanobis distancemahal
Calculate mahalanobis distancesmahal.dist
Make emuDB segment listmake.emuRsegs
Make an Emu segment list from the various componentsmake.seglist
Write out ESPS-style label filesmakelab
Read matrix data from a filematscan
Convert Hz to the mel scalemel mel.spectral mel.trackdata
Modify one of the components of an Emu segment listmodify.seglist
Function to calculate statistical momentsmoments
Function for specifying color, linetype, and line-widths in EMU plotting functions.mu.colour
Find common elements in vectorsmuclass
Normalise speech datanorm
Normalize length of segments contained in a 'data.frame' like object returned by 'get_trackdata'normalize_length
Obtain a three-dimensional palatographic arraypalate
Performance (hit rate) of a confusion matrixperform
Calculate the coefficients of a parabolaplafit
Plot spectra from EMU spectral objectsplot.spectral
Produces time-series plots from trackdataplot.trackdata
Segment list of four Polish homorganic fricatives from database epgpolish.polhom
EPG-compressed trackdata from the segment list polhompolhom.epg
Vector of phonetic labels from the segment list polhompolhom.l
Print emuRsegs segment listprint.emuRsegs
Print emuRtrackdata objectprint.emuRtrackdata
Query emuDBquery
Function to convert between Hertz and Radiansrad
Converts degrees to radiansradians
Randomise or Reverse items in a segment listrandomise.segs
A method of the generic function rbind for objects of class trackdatarbind rbind.trackdata
read bundleListread_bundleList
Create an Emu segment list from a fileread.emusegs
Rename bundles in emuDBrename_bundles
Rename emuDBrename_emuDB
Replace item labelsreplace_itemLabels
Requery hierarchical context of a segment list in an emuDBrequery_hier
Requery sequential context of segment list in an emuDBrequery_seq
Resample annotations ('_annot.json') files of emuDBresample_annots
Runs several BAS webservices, starting from an orthographic transcriptionrunBASwebservice_all
Creates a chunk segmentation using the webservice Chunker.runBASwebservice_chunker
Creates canonical pronunciation attributes for a tier of tokenized orthographical words.runBASwebservice_g2pForPronunciation
Tokenizes an orthographic transcription.runBASwebservice_g2pForTokenization
Runs MAUS webservice to create a phonetic segmentationrunBASwebservice_maus
Creates a rough phonetic segmentation by running the phoneme decoder webservice MINNI.runBASwebservice_minni
Adds syllabified word labels to a word level that already contains canonical pronunciations.runBASwebservice_pho2sylCanonical
Creates a syllable segmentation on the basis of a phonetic segmentation.runBASwebservice_pho2sylSegmental
Segment listemusegs segmentlist
Serve EMU database to EMU-webAppserve
Set / Get level canvases order of emuDBget_levelCanvasesOrder SetGetlevelCanvasesOrder set_levelCanvasesOrder
Set / Get / Remove legal labels of attributeDefinition of emuDBget_legalLabels remove_legalLabels SetGetRemoveLegalLabels set_legalLabels
Set / Get signalCanvasesOrder of / to / from emuDBget_signalCanvasesOrder SetGetSignalCanvasesOrder set_signalCanvasesOrder
Function to shift the elements of a vector.shift
Slope TestSlope.test
Sort emuRsegs segment list by session, bundle and sample_startsort.emuRsegs
Sort matrix by labelsortmatrix
Split a string into words.splitstring
Start and end times for EMU segment lists and trackdata objectsend.emusegs end.trackdata start.emusegs start.trackdata
Print summary of loaded EMU database (emuDB).summary.emuDBhandle
Calculate gradient summary information for trackdatatrack.gradinfo
Track data objectMath.trackdata Math2.trackdata Ops.trackdata Summary.trackdata trackdata
function to find the frequencies of a spectral objecttrackfreq
Get the track times from EMU trackdata objectstracktimes
Train a Gaussian Modeltrain
A method of the generic function by for objects of class 'trackdata'trapply
Update items programmaticallyupdate_itemsInLevel
Segment list of four lax vowels, read speech, one male and one female speaker of Standard North German from database kielread.vowlax
Data frame of various parameters and labels from the segment list vowlaxvowlax.df
Spectral matrix centred at the temporal midpoint of the vowels from the segment list vowlax.vowlax.dft.5
Trackdata of formants from the segment list vowlaxvowlax.fdat
Matrix of formant data extracted at the temporal midpoint from the segment list vowlax.vowlax.fdat.5
Trackdata of fundamental frequency from the segment list vowlaxvowlax.fund
Vector of fundamental frequency extracted at the temporal midpoint from the segment list vowlax.vowlax.fund.5
Vector of phoneme labels from the segment list vowlaxvowlax.l
Vector of labels preceding the vowels from the segment list vowlaxvowlax.left
Vector of labels following the vowels from the segment list vowlaxvowlax.right
Trackdata of RMS energy from the segment list vowlaxvowlax.rms
Vector of RMS energy values at the temporal midpoint extracted at the temporal midpoint from the segment list vowlaxvowlax.rms.5
Vector of speaker labels from the segment list vowlax.vowlax.spkr
Vector of word labels from the segment list vowlax.vowlax.word
Vector of word labels from segment list wordlaxwordlax.l
write bundleListwrite_bundleList
Write an Emu segment list to a filewrite.emusegs