Previous: Void functions, Up: Music functions


12.1.6 Overview of available music functions

The following commands are music functions

rightHandFinger - finger (number or string)
Define a StrokeFingerEvent
musicMap - proc (procedure) mus (music)
(undocumented; fixme)
transposedCueDuring - what (string) dir (direction) pitch-note (music) main-music (music)
Insert notes from the part what into a voice called cue, using the transposition defined by pitch-note. This happens simultaneously with main-music, which is usually a rest. The argument dir determines whether the cue notes should be notated as a first or second voice.
breathe -
(undocumented; fixme)
withMusicProperty - sym (symbol) val (any type) music (music)
Set sym to val in music.
grace - music (music)
(undocumented; fixme)
spacingTweaks - parameters (list)
Set the system stretch, by reading the 'system-stretch property of the `parameters' assoc list.
octave - pitch-note (music)
octave check
resetRelativeOctave - reference-note (music)
Set the octave inside a \relative section.
parallelMusic - voice-ids (list) music (music)
Define parallel music sequences, separated by '|' (bar check signs), and assign them to the identifiers provided in voice-ids.

voice-ids: a list of music identifiers (symbols containing only letters)

music: a music sequence, containing BarChecks as limiting expressions.

Example:

     
       \parallelMusic #'(A B C) {
         c c | d d | e e |
         d d | e e | f f |
       }
     <==>
       A = { c c | d d | }
       B = { d d | e e | }
       C = { e e | f f | }

overrideProperty - name (string) property (symbol) value (any type)
Set property to value in all grobs named name. The name argument is a string of the form "Context.GrobName" or "GrobName"
cueDuring - what (string) dir (direction) main-music (music)
(undocumented; fixme)
partcombine - part1 (music) part2 (music)
(undocumented; fixme)
balloonGrobText - grob-name (symbol) offset (pair of numbers) text (markup)
(undocumented; fixme)
transposition - pitch-note (music)
Set instrument transposition
clef - type (string)
Set the current clef.
shiftDurations - dur (integer) dots (integer) arg (music)

featherDurations - factor (moment) argument (music)
Rearrange durations in ARGUMENT so there is an acceleration/deceleration.
instrumentSwitch - name (string)
(undocumented; fixme)
bar - type (string)
(undocumented; fixme)
applyMusic - func (procedure) music (music)
(undocumented; fixme)
quoteDuring - what (string) main-music (music)
(undocumented; fixme)
displayLilyMusic - music (music)
(undocumented; fixme)
oldaddlyrics - music (music) lyrics (music)
(undocumented; fixme)
includePageLayoutFile -
If page breaks and tweak dump is not asked, and the file <basename>-page-layout.ly exists, include it.
balloonText - offset (pair of numbers) text (markup)
(undocumented; fixme)
acciaccatura - music (music)
(undocumented; fixme)
compressMusic - fraction (pair of numbers) music (music)
(undocumented; fixme)
autochange - music (music)
(undocumented; fixme)
bendAfter - delta (integer)
(undocumented; fixme)
makeClusters - arg (music)
(undocumented; fixme)
appoggiatura - music (music)
(undocumented; fixme)
unfoldRepeats - music (music)
(undocumented; fixme)
barNumberCheck - n (integer)
(undocumented; fixme)
parenthesize - arg (music)
Tag arg to be parenthesized.
addInstrumentDefinition - name (string) lst (list)
(undocumented; fixme)
removeWithTag - tag (symbol) music (music)
(undocumented; fixme)
assertBeamSlope - comp (procedure)
(undocumented; fixme)
afterGrace - main (music) grace (music)
(undocumented; fixme)
tag - tag (symbol) arg (music)
Add tag to the tags property of arg.
killCues - music (music)
(undocumented; fixme)
keepWithTag - tag (symbol) music (music)
(undocumented; fixme)
pitchedTrill - main-note (music) secondary-note (music)
(undocumented; fixme)
scoreTweak - name (string)
Include the score tweak, if exists.
addquote - name (string) music (music)
Add a piece of music to be quoted
applyOutput - ctx (symbol) proc (procedure)
(undocumented; fixme)
assertBeamQuant - l (pair) r (pair)
(undocumented; fixme)
displayMusic - music (music)
(undocumented; fixme)
tweak - sym (symbol) val (any type) arg (music)
Add sym . val to the tweaks property of arg.
applyContext - proc (procedure)
(undocumented; fixme)

This page is for LilyPond-2.11.2 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.