view_abc_file: View ABC file

Description Usage Arguments

View source: R/abc-view.R

Description

Creates an HTML preview of an ABC file. This preview should automatically appear in the RStudio viewer pane.

Usage

1
2
view_abc_file(x, play_midi = FALSE, download_midi = FALSE,
  staff_width = 740)

Arguments

x

Path to the ABC file.

play_midi

(Logical scalar) If TRUE, the display window will include a prompt whereby the user can play an audio rendition of the musical sequence.

download_midi

(Logical scalar) If TRUE, the display window will provide the user with an option to download a MIDI file representing the musical sequence.

staff_width

(Numeric scalar) staffwidth parameter passed to ABCJS.renderAbc.


pmcharrison/abcR documentation built on Sept. 21, 2019, 5:40 p.m.