R/4-musicxml-stem.R

Defines functions insert.Stem to_MusicXML.Stem

Documented in insert.Stem to_MusicXML.Stem

#' @keywords internal
#' @export
to_MusicXML.Stem <- function(x, ...) {
  MusicXML("stem", x[["direction"]])
}


#' @keywords internal
#' @export
insert.Stem <- function(x, to, ...) {
  insert_note_child(x, to, "all")
}

Try the gm package in your browser

Any scripts or data that you put into this service are public.

gm documentation built on Sept. 11, 2024, 6:11 p.m.