GuileProxy

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph "cluster_abjad.parser" { graph [label="abjad.parser"]; node [color=1]; "abjad.parser.GuileProxy.GuileProxy" [URL="../api/abjad/parser/GuileProxy.html#abjad.parser.GuileProxy.GuileProxy", color=black, fontcolor=white, label="Guile\nProxy", target=_top]; } subgraph "cluster_abjad.system" { graph [label="abjad.system"]; node [color=2]; "abjad.system.AbjadObject.AbjadObject" [URL="../api/abjad/parser/../system/AbjadObject.html#abjad.system.AbjadObject.AbjadObject", label="Abjad\nObject", target=_top]; } subgraph cluster_builtins { graph [label=builtins]; node [color=3]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } "abjad.system.AbjadObject.AbjadObject" -> "abjad.parser.GuileProxy.GuileProxy"; "builtins.object" -> "abjad.system.AbjadObject.AbjadObject"; }

class abjad.parser.GuileProxy.GuileProxy(client=None)

Emulates LilyPond music functions.

Used internally by LilyPondParser.

Not composer-safe.


Attributes Summary

__call__ Calls Guile proxy on function_name with arguments.
acciaccatura Handles LilyPond \acciaccatura command.
appoggiatura Handles LilyPond \appoggiatura command.
bar Handles LilyPond \bar command.
breathe Handles LilyPond \breathe command.
clef Handles LilyPond \clef command.
grace Handles LilyPond \grace command.
key Handles LilyPond \key command.
language Handles LilyPond \language command.
makeClusters Handles LilyPond \makeClusters command.
mark Handles LilyPond \mark command.
oneVoice Handles LilyPond \oneVoice command.
relative Handles LilyPond \relative command.
skip Handles LilyPond \skip command.
slashed_grace_container Handles LilyPond \slahsedGrace command.
time Handles LilyPond \time command.
times Handles LilyPond \times command.
transpose Handles LilyPond \transpose command.
voiceFour Handles LilyPond \voiceFour command.
voiceOne Handles LilyPond \voiceOnce command.
voiceThree Handles LilyPond \voiceThree command.
voiceTwo Handles LilyPond \voiceTwo command.

Special methods

__call__(function_name, arguments)

Calls Guile proxy on function_name with arguments.

Returns function output.

(AbjadObject).__format__(format_specification='')

Formats Abjad object.

Set format_specification to '' or 'storage'. Interprets '' equal to 'storage'.

Returns string.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.


Methods

acciaccatura(music)

Handles LilyPond \acciaccatura command.

appoggiatura(music)

Handles LilyPond \appoggiatura command.

bar(string)

Handles LilyPond \bar command.

breathe()

Handles LilyPond \breathe command.

clef(string)

Handles LilyPond \clef command.

grace(music)

Handles LilyPond \grace command.

key(notename_pitch, number_list)

Handles LilyPond \key command.

language(string)

Handles LilyPond \language command.

makeClusters(music)

Handles LilyPond \makeClusters command.

mark(label)

Handles LilyPond \mark command.

oneVoice()

Handles LilyPond \oneVoice command.

relative(pitch, music)

Handles LilyPond \relative command.

skip(duration)

Handles LilyPond \skip command.

slashed_grace_container(music)

Handles LilyPond \slahsedGrace command.

time(number_list, fraction)

Handles LilyPond \time command.

times(fraction, music)

Handles LilyPond \times command.

transpose(from_pitch, to_pitch, music)

Handles LilyPond \transpose command.

voiceFour()

Handles LilyPond \voiceFour command.

voiceOne()

Handles LilyPond \voiceOnce command.

voiceThree()

Handles LilyPond \voiceThree command.

voiceTwo()

Handles LilyPond \voiceTwo command.