rmakers API


rmakers

Rhythm-makers.


rmakers.classes

The rmakers classes.


Classes

Incise

Incise.

Interpolation

Interpolation.

Spelling

Duration spelling.

Talea

Talea.


rmakers.docs


Functions

attach_time_signatures

Attaches time_signatures to leaves in voice.

make_example_lilypond_file

Makes example LilyPond file.

make_time_signatures

Makes time signatures from pairs.


rmakers.functions

The rmakers functions.


Functions

attach_beams_to_runs_by_leaf_list

Attaches beams to runs in each leaf list in leaf_lists.

attach_invisible_music_commands_to_leaves

Attaches invisible music commands to each leaf in leaves.

attach_repeat_ties_to_pleaves

Attaches repeat-tie to each pitched leaf in pleaves.

attach_span_beams_to_runs_across_leaf_lists

Attaches span beams to runs across leaf_lists.

attach_ties_to_pleaves

Attaches tie to each pitched pleaf in pleaves.

detach_beams_from_leaves

Detaches beam indicators from each leaf in leaves.

detach_ties_from_leaves

Detaches ties from each leaf in leaves.

extract_rest_filled_tuplets

Extracts each rest-filled tuplet in tuplets.

extract_trivial_tuplets

Extracts each trivial tuplet in tuplets.

override_beam_grow_direction

Overrides Beam.grow-direction on first leaf of each leaf list in leaf_lists.

override_tuplet_number_text_duration_markup

Overrides TupletNumber.text of each tuplet in tuplets.

reduce_tuplet_ratios

Reduces ratio of each tuplet in tuplets.

replace_leaves_with_notes

Replaces each leaf in leaves with note.

replace_leaves_with_rests

Replaces each leaf in leaves with rest.

replace_ties_with_repeat_ties

Replaces ties attached to leaves with repeat-ties.

respell_leaves_written_duration_and_dmp

Respells written duration and DMP of each leaf in leaves.

respell_tuplets_without_dots

Respells tuplets without dots.

rewrite_meter

Rewrites meter of components in voice.

rewrite_rest_filled_tuplets

Rewrites rest-filled tuplets in tuplets.

rewrite_sustained_tuplets

Rewrites sustained tuplets in tuplets.

select_nongrace_leaves_by_tuplet

Selects nongrace leaves by tuplet.

split_measures

Splits measures in voice.

swap_length_1_tuplets_for_containers

Swaps length-1 tuplets in tuplets for (vanilla) containers.

swap_skip_filled_tuplets_for_containers

Swaps skip-filled tuplets in tuplets for (vanilla) containers.

swap_trivial_tuplets_for_containers

Swaps trivial tuplets in tuplets for containers.

toggle_augmented_tuplets

Toggles prolation of augmented tuplets in tuplets.

toggle_diminished_tuplets

Toggles prolation of diminished tuplets in tuplets.

trivialize_tuplets

Trivializes tuplets that can be rewritten as 1:1 in tuplets.

tweak_skip_filled_tuplets_stencil_false

Tweaks each skip-filled tuplet in tuplets with stencil ##f.

tweak_trivial_tuplets_stencil_false

Tweaks trivial tuplets in tuplets with stencil ##f.

tweak_tuplet_number_text_calc_fraction_text

Tweaks tuplet number text for tuplets in argument.

wrap_in_time_signature_staff

Wraps components in two-voice staff.


rmakers.makers

Makers.


Functions

make_accelerandi

Makes one accelerando (or ritardando) for each duration in durations.

make_even_division_tuplets

Makes one even-division tuplet for each duration in durations.

make_incised_tuplets

Makes one incised tuplet for each duration in durations.

make_notes

Makes one or more notes (or tuplets) for every duration in durations.

make_notes_with_dmps

Makes one note with written_duration and duration multiplier for each duration in durations.

make_talea_tuplets

Reads counts cyclically and makes one tuplet for each duration in durations.

make_tuplets

Reads proportions cyclically and makes one tuplet for each duration in durations.


rmakers.regression

Regression.


Functions

test

Regression.


rmakers.state

Examples that show how to work with rmakers in a statal way.


Functions

sphinx

Makes Sphinx read this module.