lilypond-user
[Top][All Lists]
Advanced

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

FretBoards aligned to bar lines


From: Marc Hohl
Subject: FretBoards aligned to bar lines
Date: Fri, 04 Jul 2014 09:46:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hi list,

in the following example, I want to align the FretBoards to the
bar lines. Now they are centered over the first beat in each measure.

TIA,

Marc

---

\version "2.19.0"

\paper {
  indent = 0
  ragged-right = ##f
}

frets = {
< d'\3 g'\2 b'\1 >1 | < g\4 cis'\3 e'\2 > | < cis'\3 fis'\2 a'\1 > | < fis\4 b\3 d'\2 > | < b\3 e'\2 g'\1 > | < e\4 ais\3 cis'\2 > | < a\3 d'\2 fis'\1 > | < a\4 dis'\3 fis'\2 >
}

chordnames = \chordmode {
  e1:m7 | a:7 | d:maj7 | g:maj7 |
  cis:m7.5- | fis:7 | b:m7 | b:7 |
}

\layout {
  \context {
    \FretBoards
    \override FretBoard.fret-diagram-details.fret-count = #8
    \override FretBoard.size = #1.5
  }
}

\score {
  <<
    \new FretBoards { \frets }
    \new ChordNames { \chordnames }
\new Staff \with { \omit Stem } { \improvisationOn \repeat unfold 32 b'4 \bar ":|." }
  >>
}





reply via email to

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