On 01/15/2013 04:05 PM, Kieren MacMillan wrote: > You need to specify the context:
OK... a more complete example is attached. The time signature is invoked in songGlobalsVerse. That’s used in a Staff: songVocals = \new Staff << \clef treble << { \songGlobalsIntro \repeat volta 6 { \songGlobalsVerse \songGlobalsChorus } } \new Voice = "vocal" { \songTacetIntro \repeat volta 6 { \songMelodyVerse \songMelodyChorus } } >> >> That is, in turn, used in both a layout and a midi context: \score { << \songVocals >> \layout {} } The time signature is displayed. ~Chris -- Chris Maden, text nerd <URL: http://crism.maden.org/ > Axial tilt is the reason for the season. GnuPG fingerprint: DB08 CF6C 2583 7F55 3BE9 A210 4A51 DBAC 5C5C 3D5E
\version "2.14.2" \include "english.ly" songGlobalsIntro = { \time 6/8 \partial 8 s8 | s4. s4 } songGlobalsVerse = { s8 | \once \override TimeSignature #'stencil = ##f \time 6/8 % \once \override TimeSignature #'stencil = ##f % \override Staff.TimeSignature #'transparent = ##t s2. | \bar "||" } songGlobalsChorus = { \time 4/4 % \override Staff.TimeSignature #'transparent = ##f s2. s8 } songTacetIntro = { \partial 8 r8 | r4. r4 } songMelodyVerse = \relative c' { c8 | c'4.~ c8 r4 | } songMelodyChorus = \relative c' { c2. r8 } songVocals = \new Staff << \clef treble << { \songGlobalsIntro \repeat volta 6 { \songGlobalsVerse \songGlobalsChorus } } \new Voice = "vocal" { \songTacetIntro \repeat volta 6 { \songMelodyVerse \songMelodyChorus } } >> >> \score { << \songVocals >> \layout {} } \score { \unfoldRepeats << \songVocals >> \midi {} }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user