lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A proposal of organize music paragraph layout by a new DSL


From: Aaron Hill
Subject: Re: A proposal of organize music paragraph layout by a new DSL
Date: Mon, 16 Nov 2020 21:59:39 -0800
User-agent: Roundcube Webmail/1.4.9

On 2020-11-16 9:48 pm, K.L. wrote:
P.S. I can't imagine some guys in a band using a music sheet with different measure indices for every track😂. How will they tell each other where I am playing? If there are some repeat marks, will they be uniform in position?
If they are, solely declaring the first track's layout is enough.

I imagine that such complex pieces rely on rehearsal marks of some form rather than bar numbers.

Your DSL might not need to be complicated by such matters, as it seems like one could use your system multiple times explicitly:

(I'm typing quickly, so my apologies if I have mangled your proposed function.)

%%%%
<<
  \repeat layout "..." << \new Staff {...} \new PianoStaff {...} >>
  \repeat layout "..." << \new TabStaff {...} >>
  \repeat layout "..." << \new RhythmicStaff {...} >>

%%%%

This would let the first two instruments share the same layout while the other two can be unique.

I especially like this approach as it improves the locality of reference. The layout DSL is most closely associated with what it affects. Also, should one decide to rearrange the order of staves, you do not have to rearrange the order within the layout.


-- Aaron Hill



reply via email to

[Prev in Thread] Current Thread [Next in Thread]