English 中文(简体)
Lilypond: Customize bar lines, recursively, automatically?
原标题:

I m working on Carnatic music scores that involve complex time signatures, that will require modified bar lines

Pattern for barlines for: 8/4

beats: 1 2 3 4  (dashed bar here) 5, 6 (Dotted Bar) 7, 8 (double bar)  

Here s one bar of actual score

g16( f) d8 ees( ees) d16( c d8) bes16[( d c bes    ar "dashed"
a g]) a[( bes c] d[ c d])   ar ":"   
g8( f16) ees8( d16 c d)     ar "||"

Is there a way to automate these barlines?

最佳回答

Give this a try. It s not fully automated in that you need to have an "invisible" voice allocated to specify the barlines, and you need to keep track of how many measures this form of barring needs to extend and specify an appropriate unfold value. The "s", if you don t already know, is an invisible spacer, with duration like a rest.

version "2.13.19"

fooBar = { s1 ar "dashed" s2 ar ":" s2 ar "||" }


ew Staff <<
  
ew Voice = "theMusic" 
elative c   {
    % bar 1
    g16( f) d8 ees( ees) d16( c d8) bes16[( d c bes 
    a g]) a[( bes c] d[ c d]) 
    g8( f16) ees8( d16 c d) 
    % bar 2
    g16( f) d8 ees( ees) d16( c d8) bes16[( d c bes 
    a g]) a[( bes c] d[ c d]) 
    g8( f16) ees8( d16 c d)
  }
  
ew Voice = "theBarLines" { 
epeat unfold 2 fooBar }
>>
问题回答

暂无回答




相关问题
Lilypond snippet for a separate coda

我不希望李利美,不要在乐团音乐的不常见之处,而是从狙击手存放处失踪,而不要看我的搜索词。 它基本上是除......外被 co死的 block脚石。

Shell Script to typeset Lilypond files with Textwrangler

I need a shell script which will allow me to typeset Lilypond files from TextWrangler (A Mac App). So far I have come up with this: #!/bin/sh /Applications/LilyPond.app/Contents/Resources/bin/...

Changing all the colors in Lilypond

In Lilypond I can change the color of one type of object with a line like override Staff.Clef # color = #(rgb-color 0.4 0.5 0.6) I d like to have everything in the same (non-default) color, but I ...

Lilypond Mac OS X build issue

I am trying to do a clean build of Lilypond on a clean install of Mac OS X. Dependencies have been installed using Brew. I do ./configure && make all in the Lilypond dir. It gets through the ...

Lilypond: Customize bar lines, recursively, automatically?

I m working on Carnatic music scores that involve complex time signatures, that will require modified bar lines Pattern for barlines for: 8/4 beats: 1 2 3 4 (dashed bar here) 5, 6 (Dotted Bar) 7, ...

Coloring notes in Lilypond by pitch

lilypond can color notes in a arbitrary way using override NoteHead # color = #red c with the default color is black. But I like to color all notes by pitch, so that my kids can more easily learn ...

热门标签