make_lilypond_file

rhythmmakertools.make_lilypond_file(selections, divisions, implicit_scaling=None, pitched_staff=None, time_signatures=None)

Makes LilyPond file.

Example 1.

>>> maker = rhythmmakertools.EvenRunRhythmMaker(exponent=1)
>>> divisions = [(3, 4), (4, 8), (1, 4)]
>>> selections = maker(divisions)
>>> lilypond_file = rhythmmakertools.make_lilypond_file(
...     selections,
...     divisions,
...     )
>>> show(lilypond_file) 

Used in rhythm-maker docs.

Returns LilyPond file.