iotools.show

abjad.tools.iotools.show.show(expr, template=None, return_timing=False, suppress_pdf=False)[source]

Show expr:

abjad> note = Note("c'4")
abjad> show(note) # doctest: +SKIP

Show expr with template:

abjad> note = Note("c'4")
abjad> show(note, template = 'tangiers') # doctest: +SKIP

Show expr and return both Abjad and LilyPond processing time in seconds:

abjad> staff = Staff(Note("c'4") * 200)
abjad> show(note, return_timing = True) # doctest: +SKIP
(0, 3)

Return none or timing tuple.

Abjad writes LilyPond input files to the ~/.abjad/output directory by default.

You may change this by setting the abjad_output variable in the config.py file.

This Page