Show an object as musical score or audio file.
show(x, to, musescore)
# S3 method for Music
show(x, to = NULL, musescore = NULL)
An object.
Optional. A character vector which contains "score", "audio" or both, which indicates whether to show the object as musical score or audio file. The default value is "score".
Optional. A character vector which represents the command line options passed to MuseScore. See MuseScore command line options for details. Also see "Examples" section.
Invisible NULL
.
The generated musical score or audio file is
showed in Viewer panel if show
is called in RStudio,
included in generated HTML file if called in R Markdown document,
showed in output cell if called in R Jupyter Notebook, and
showed in user's browser if called in a normal R console.
Music
: show a Music
object.