evalWav | R Documentation |
Check a WAV file's quality
evalWav(
wave,
utteranceTG = NULL,
transcription = NULL,
trim = NULL,
plotOsc = NULL
)
wave |
Required. Either a |
utteranceTG |
If not |
transcription |
If not |
trim |
If not |
plotOsc |
If not |
A list with 7 elements: the markers for the beginning and end of the utterance in samples, the sample rate of the original file, the SNR (dB), a logical value indicating whether 1% of samples in the original wave file were clipped, a tuneR::Wave object for the trimmed file (if trimmed != NULL
), the text of the Praat TextGrid (if utteranceTG != NULL
), and the plot of the wave form beginning and end markers (if plot != NULL
).
data("samp_wav")
eval <- evalWav(samp_wav, plotOsc = "samp_wav")
print(eval$plot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.