Nothing
labbcat.url <- "https://labbcat.canterbury.ac.nz/demo"
test_that("processWithPraat works with default format measures", {
skip_on_cran() # don't run tests that depend on external resource on CRAN
if (!is.null(labbcatCredentials(labbcat.url, "demo", "demo"))) skip("Server not available")
## search for KIT vowels
pattern <- list(columns = list(list(layers = list(segment = list(pattern = "I")))))
## get the first 5 matches
matches <- getMatches(labbcat.url, pattern, max.matches=5)
## process with praat
formants <- processWithPraat(
labbcat.url,
matches$MatchId, matches$Target.segment.start, matches$Target.segment.end,
praatScriptFormants(),
0.025)
expect_equal(length(formants$time_0_5), 5)
expect_equal(length(formants$f1_time_0_5), 5)
expect_equal(length(formants$f2_time_0_5), 5)
expect_equal(length(formants$Error), 5)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.