trevorbaca / baca

Trevor Bača's Abjad library.
8 stars 3 forks source link

Teach Accelerando, Ritardando about spanner layer Y-offset #14

Open trevorbaca opened 5 years ago

trevorbaca commented 5 years ago

This currently produces spanner segments that are correctly aligned vertically:

    baca.metronome_mark('52', selector=baca.leaf(1 - 1)),
    baca.metronome_mark('52', selector=baca.leaf(2 - 1)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(2 - 1)),
    baca.metronome_mark('117', selector=baca.leaf(4 - 1)),

This currently produces spanner segments that are vertically misaligned:

    baca.metronome_mark('52', selector=baca.leaf(1 - 1)),
    baca.metronome_mark(baca.Accelerando(), selector=baca.leaf(2 - 1)),
    baca.metronome_mark('117', selector=baca.leaf(4 - 1)),

Teach baca.Accelerando, baca.Ritardado to output some type of baca-metronome-mark-spanner-accel, baca-metronome-mark-spanner-rit.

These two commands should embed baca-metronome-mark-spanner-layer.

trevorbaca commented 5 years ago

Still valid in October 2018.