Previous: Functions without arguments, Up: Music functions


6.1.7 Overview of available music functions

The following commands are music functions

acciaccatura - music (music)
(undocumented; fixme)
addChordShape - key-symbol (symbol) tuning (pair) shape-definition (unknown)
Add chord shape shape-definition to the chord-shape-table hash with the key (cons key-symbol tuning).
addInstrumentDefinition - name (string) lst (list)
(undocumented; fixme)
addQuote - name (string) music (music)
Add a piece of music to be quoted
afterGrace - main (music) grace (music)
(undocumented; fixme)
allowPageTurn
Allow a page turn. May be used at toplevel (ie between scores or markups), or inside a score.
applyContext - proc (procedure)
(undocumented; fixme)
applyMusic - func (procedure) music (music)
(undocumented; fixme)
applyOutput - ctx (symbol) proc (procedure)
(undocumented; fixme)
appoggiatura - music (music)
(undocumented; fixme)
assertBeamQuant - l (pair) r (pair)
(undocumented; fixme)
assertBeamSlope - comp (procedure)
(undocumented; fixme)
autochange - music (music)
(undocumented; fixme)
balloonGrobText - grob-name (symbol) offset (pair of numbers) text (markup)
(undocumented; fixme)
balloonText - offset (pair of numbers) text (markup)
(undocumented; fixme)
bar - type (string)
(undocumented; fixme)
barNumberCheck - n (integer)
(undocumented; fixme)
bendAfter - delta (unknown)
(undocumented; fixme)
breathe
(undocumented; fixme)
clef - type (string)
Set the current clef.
cueDuring - what (string) dir (direction) main-music (music)
(undocumented; fixme)
displayLilyMusic - music (music)
(undocumented; fixme)
displayMusic - music (music)
(undocumented; fixme)
endSpanners - music (music)
(undocumented; fixme)
featherDurations - factor (moment) argument (music)
Rearrange durations in ARGUMENT so there is an acceleration/deceleration.
grace - music (music)
(undocumented; fixme)
includePageLayoutFile
If page breaks and tweak dump is not asked, and the file <basename>-page-layout.ly exists, include it.
instrumentSwitch - name (string)
(undocumented; fixme)
keepWithTag - tag (symbol) music (music)
(undocumented; fixme)
killCues - music (music)
(undocumented; fixme)
label - label (symbol)
Place a bookmarking label, either at top-level or inside music.
makeClusters - arg (music)
(undocumented; fixme)
musicMap - proc (procedure) mus (music)
(undocumented; fixme)
noPageBreak
Forbid a page break. May be used at toplevel (ie between scores or markups), or inside a score.
noPageTurn
Forbid a page turn. May be used at toplevel (ie between scores or markups), or inside a score.
octaveCheck - pitch-note (music)
octave check
oldaddlyrics - music (music) lyrics (music)
(undocumented; fixme)
ottava - octave (number)
set the octavation
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"
pageBreak
Force a page break. May be used at toplevel (ie between scores or markups), or inside a score.
pageTurn
Force a page turn between two scores or top-level markups.
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 | }

parenthesize - arg (music)
Tag arg to be parenthesized.
partcombine - part1 (music) part2 (music)
(undocumented; fixme)
pitchedTrill - main-note (music) secondary-note (music)
(undocumented; fixme)
pointAndClickOff
(undocumented; fixme)
pointAndClickOn
(undocumented; fixme)
quoteDuring - what (string) main-music (music)
(undocumented; fixme)
removeWithTag - tag (symbol) music (music)
(undocumented; fixme)
resetRelativeOctave - reference-note (music)
Set the octave inside a \relative section.
rightHandFinger - finger (number or string)
Define a StrokeFingerEvent
scaleDurations - fraction (pair of numbers) music (music)
(undocumented; fixme)
scoreTweak - name (string)
Include the score tweak, if exists.
shiftDurations - dur (integer) dots (integer) arg (music)

spacingTweaks - parameters (list)
Set the system stretch, by reading the 'system-stretch property of the `parameters' assoc list.
storePredefinedDiagram - chord (music) tuning (pair) diagram-definition (unknown)
Add predefined fret diagram defined by diagram-definition for the chord pitches chord and the stringTuning tuning.
tag - tag (symbol) arg (music)
Add tag to the tags property of arg.
tocItem - text (markup)
Add a line to the table of content, using the tocItemMarkup paper variable markup
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.
transposition - pitch-note (music)
Set instrument transposition
tweak - sym (symbol) val (any type) arg (music)
Add sym . val to the tweaks property of arg.
unfoldRepeats - music (music)
(undocumented; fixme)
withMusicProperty - sym (symbol) val (any type) music (music)
Set sym to val in music.

Other languages: espaƱol.