set_overlays: Set an SSFF track as an overlay on the spectrogram or...

set_specOverlayR Documentation

Set an SSFF track as an overlay on the spectrogram or oscillograms

Description

The Emu transcription web application allow SSFF tracks to be overlaid on the oscillogram or the spectrogram. Only one track may be set as an overlay

Usage

set_specOverlay(emuDBhandle, perspective, trackname)

set_osciOverlay(emuDBhandle, perspective, trackname)

Arguments

emuDBhandle

The database handle.

perspective

The name of the perspective in which the overlay should be shown. The perspective should already be defined in the database.

trackname

The name of the SSFF track to be set as an overlay on either the oscillogram set_osciOverlay or spectrogram set_specOverlay

Examples

## Not run: 
reindeer:::create_ae_db() -> ae
#Set up some suitable tracks for overlaying on an oscillogram or spectrogram
remove_ssffTrackDefinition(ae,name="fm",deleteFiles = FALSE)
add_ssffTrackDefinition(ae,name="FORMANTS","fm","fms")
add_ssffTrackDefinition(ae,"rms","rms",onTheFlyFunctionName = "rmsana")

#Set the formants as overlays on the Spectrogram
set_specOverlay(ae,"default","FORMANTS")
#Set the RMS amplitude track as overlays on the waveform (oscillogram)
set_osciOverlay(ae,"default","rms")
serve(ae)

## End(Not run)


humlab-speech/reindeer documentation built on May 21, 2023, 4:43 p.m.