set_specOverlay | R Documentation |
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
set_specOverlay(emuDBhandle, perspective, trackname)
set_osciOverlay(emuDBhandle, perspective, trackname)
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 |
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.