Make a bracket in direction a. The extent of the bracket is given by iv. The wings protude by an amount of p, which may be negative. The thickness is given by t.
Find a parent of context that has name or alias name. Return
#f
if not found.
Return the id string of context, i.e. for
\context Voice = one ..
return the stringone
.
Return the name of context, i.e. for
\context Voice = one ..
return the symbolVoice
.
Return the context above context where name is defined.
Do a single
\override
or\revert
operation in context. The grob definitiongrob
is extended witheltprop
(if val is specified) or reverted (if unspecified).
Set value of property name in context context to val.
Return d is a number. Used to distinguish length variables from normal numbers.
type predicate. A direction is
-1
,0
or1
, where-1
represents left or down and1
represents right or up.
This function retrieves a Stencil for the glyph named name in font. The font must be available as an AFM file. If the glyph is not found,
#f
is returned.
Given a Score context in its final state,process it and return the (rendered) result.
Get a hash table with all lilypond Scheme extension functions.
Return a list of all translator objects that may be instantiated.
This function retrieves a Stencil for the glyph numbered index in font.
Get a global option setting. Supported options include
old-relative-used
- Report whether old-relative compatibility mode is necessary
old-relative
- Report whether old-relative compatibility mode is used
verbose
- Report whether we are running in verbose mode
Get an alist chain for grob g, with global as the global default. If unspecified,
font-defaults
from the paper block is taken.
Get the extent in axis direction of grob relative to the grob refp
Get the parent of grob. axis is 0 for the X-axis, 1 for the Y-axis.
Return the value of a value in grob g of property sym. It will return
' ()
(end-of-list) if sym is undefined in g.
Compare two grobs by script priority. For internal use.
Read the file name, and return its contents in a string. The file is looked up using the search path.
Print msg as a GNU compliant error message, pointing to thelocation in sip.
The break status dir of item it.
-1
is end of line,0
unbroken, and1
begin of line.
Make a C++ music object of type type, initialize with props.
This function is for internal use, and is only called by
make-music
, which is the preferred interface for creating music objects.
length is the negative logarithm (base 2) of the duration: 1 is a half note, 2 is a quarter note, 3 is an eighth note, etc. The number of dots after the note is given by the optional argument dotcount.
The duration factor is optionally given by num and den.
A duration is a musical duration, i.e. a length of time described by a power of two (whole, half, quarter, etc.) and a number of augmentation dots.
Create the rational number with main timing n/d, and optional grace timin gn/gd.
Moment is a point in musical time. It is consists of a pair of rationals (m,g), where m is the timing for the main notes, and g the timing for grace notes. In absence of grace notes, g is zero.
octave is specified by an integer, zero for the octave containing middle C. note is a number from 0 to 6, with 0 corresponding to C and 6 corresponding to B. The alter is zero for a natural, negative for flats, or positive for sharps.
Stencils are a device independent output expressions.They carry two pieces of information:
1: a specification of how to print this object. This specification is processed by the output backends, for example scm/output-tex.scm.
2: the vertical and horizontal extents of the object.
Extract the duration field from mus, and return the length.
Get the length of music expression mus, and return as a
Moment
object.
Return an alist containing the mutable properties of mus. The immutable properties are not available, since they are constant and initialized by the
make-music
function.
Get the property sym of music expression mus. If sym is undefined, return
' ()
.
Return a font metric satisfying the font-qualifiers in the alist chain chain. (An alist chain is a list of alists, containing grob properties).
Return pitch delta such that
pitch
transposed by delta equals root
Transpose p by the amount delta, where delta is relative to middle C.
Return a vector with line numbers of page breaks.
Make a
Stencil
that prints a black box of dimensions xext, yext and roundness blot.
Process mus according to output_def. An interpretation context is set up, and mus is interpreted with it. The context is returned in its final state.
Set a global option value. Supported options include
help
- List all options.
midi-debug
- If set to true, generate human readable MIDI
internal-type-checking
- Set paranoia for property assignments
parse-protect
- If protection is switched on, errors in inline scheme are caught in the parser. If off, GUILE will halt on errors, and give a stack trace. Default is protected evaluation.
old-relative
- Relative for simultaneous music functions similar to chord syntax
new-relative
- Relative for simultaneous music functions similar to sequential music
This function is useful to call from the command line:
lilypond -e "(ly-set-option 'midi-debug #t)"
.
Set the options for Point-and-click source specials output. The argument is a symbol. Possible options are
none
(no source specials),line
andline-column
Get one of the bounds of spanner. dir is
-1
for left, and1
for right.
Align stil using its own extents. dir is a number -1, 1 are left and right respectively. Other values are interpolated (so 0 means the center.
Construct a stencil by putting second next to first. axis can be 0 (x-axis) or 1 (y-axis), direction can be -1 (left or down) or 1 (right or up). The stencils are juxtaposed with padding as extra space. If this puts the reference points closer than minimum, they are moved by the latter amount.
Return a pair of numbers signifying the extent of stil in axis direction (0 or 1 for x and y axis respectively).
Similar to
ly:stencil-combine-edge
, but returns second positioned to be next to first.
Set the extent of stil (extent must be a pair of numbers) in axis direction (0 or 1 for x- and y-axis respectively).
Return a stil, but translated by offset (a pair of numbers).
Return a copy of stil but translated by amount in axis direction.
Given the font metric in font and the string text, compute the extents of that text in that font. The return value is a pair of number-pairs.
Return the type name of the translator object trans. The name is a symbol.
Read comments on this page, or
add one.
This page is for LilyPond-2.2.6 (stable-branch). |