Usage
lilyinput(X, file = "Rsong.ly", Major = TRUE, key = "c",
clef = c("treble", "bass", "alto", "tenor"), time = "4/4",
endbar = TRUE, midi = TRUE, tempo = "2 = 60",
textheight = 220, linewidth = 150, indent = 0, fontsize = 14)
Arguments
X
A data frame containing 4 named components (columns):
note
: Integer - the notes' pitch in halftones from diapason (a),
i.e. 0 for diapason a, 3 for c', ...length
: Integer - denominator of length
file
The file to be written for LilyPond's input.
Major
Logical indicating major key (if TRUE
) or minor key.
key
Keynote, necessary to set sharps/flats.
clef
Integer indicating the kind of clef, supported are treble (default),
bass, alto, and tenor.
time
Character indicating which meter to use, examples are: "3/4"
, "4/4"
.
endbar
Logical indicating whether to set an ending bar at the end of the sheet music.
midi
Logical indicating whether Midi output (by LilyPond) is desirable.
tempo
Character specifying the tempo to be used for the Midi file if midi = TRUE
.
The default, "2 = 60"
indicates: 60 half notes per minute, whereas "4 = 90"
indicates 90 quarters per minute.
textheight
Textheight of the sheet music to be written by LilyPond.
linewidth
Linewidth of the sheet music to be written by LilyPond.
indent
Indentation of the sheet music to be written by LilyPond.
fontsize
Fontsize of the sheet music to be written by LilyPond.