View source: R/EGQ_standalone.R
EGQ_standalone | R Documentation |
This function launches a standalone testing session for the Experience of Groove Questionnaire \insertCite@EGQ; @EGQPapergroovescale for one stimulus.
EGQ_standalone(
label = "jingle",
url = "https://raw.githubusercontent.com/KilianSander/groovescale/master/inst/www/audio/jingle.mp3",
type = tools::file_ext(url),
dict = groovescale::groovescale_dict,
random_order = FALSE,
show_controls = TRUE,
allow_download = FALSE,
admin_password = "groove",
researcher_email = NULL,
languages = groovescale::languages(),
validate_id = "auto",
...
)
label |
(Character scalar) Label for the current page. |
url |
URL to the audio. Can be an absolute URL (e.g. "http://mysite.com/audio.mp3") or a URL relative to the /www directory (e.g. "audio.mp3"). |
type |
Audio type (e.g. 'mp3'). Defaults to the provided file extension. |
random_order |
(Boolean scalar) Whether the order of the items should be randomized. |
show_controls |
Whether or not to show audio controls to the participant, so that they can control audio playback. |
allow_download |
Whether the participant is given a button to download
the audio file; only relevant if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.