Re: Using \partial with TACET
Fine, here it goes: tacet = #(define-music-function (str) (string?) #{ \compressFullBarRests \once\override MultiMeasureRest.expand-limit = #1 \once\override MultiMeasureRestNumber.font-name = "Vera Bold" \once\override MultiMeasureRestNumber.stencil = #(lambda (grob)(grob-interpret-markup grob (markup #:whiteout #:pad-markup .8 str))) \once\override MultiMeasureRest.layer = #-2 \once\override MultiMeasureRestNumber.layer = #-1 \once\override MultiMeasureRestNumber.Y-offset = #-.5 #}) 2015-10-09 10:03 GMT+02:00 David Kastrup: > Pierre Perol-Schneider writes: > > > Hi Andrew, > > > > How about: > > > > \version "2.19.28" > > > > tacet = > > #(define-scheme-function (parser location str) (string?) > >#{ > > \compressFullBarRests > > You mean define-music-function here, and in version 2.19.28 the > "parser location" arguments are just unnecessary baggage. > > -- > David Kastrup > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using \partial with TACET
Pierre Perol-Schneiderwrites: > Hi Andrew, > > How about: > > \version "2.19.28" > > tacet = > #(define-scheme-function (parser location str) (string?) >#{ > \compressFullBarRests You mean define-music-function here, and in version 2.19.28 the "parser location" arguments are just unnecessary baggage. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using \partial with TACET
Hi Andrew, How about: \version "2.19.28" tacet = #(define-scheme-function (parser location str) (string?) #{ \compressFullBarRests \once\override MultiMeasureRest.expand-limit = #1 \once\override MultiMeasureRestNumber.font-name = "Vera Bold" \once\override MultiMeasureRestNumber.stencil = #(lambda (grob)(grob-interpret-markup grob (markup #:whiteout #:pad-markup .8 str))) \once\override MultiMeasureRest.layer = #-2 \once\override MultiMeasureRestNumber.layer = #-1 \once\override MultiMeasureRestNumber.Y-offset = #-.5 #}) tympanoMusic = { \time 2/4 \clef bass \partial 8 r8 | \tacet "Tacet" R2*54 \bar "||" \break \time 3/4 \tacet "Tacet bis Ende" R2.*29 \bar "|." } theMusic = { \time 2/4 \partial 8 c'8 | \repeat unfold 32 c'2 c'4 c'8 \tempo\markup\sans\medium\fontsize #4 "Adagio" c'8 | \repeat unfold 21 c'2 \bar "||" \break \time 3/4 \repeat unfold 29 c'2. \tweak break-visibility #begin-of-line-invisible \mark\markup\musicglyph #"scripts.ufermata" \bar "||" } %% Part: \score { \tympanoMusic \header { piece = "Part" } } %% Full score: \score { << \new StaffGroup << \new Staff \theMusic \new Staff \theMusic >> \new Staff \tympanoMusic >> \header { piece = "Full Score" } \layout { \context { \Staff \RemoveEmptyStaves } } } Cheers, ~Pierre 2015-10-08 21:46 GMT+02:00 N. Andrew Walsh: > correct. Each movement has its own \score block, in which the starting > meter is set with a single \time command at the top. Subsequent meter > changes are handled by the \systembreaks variable. > > On Thu, Oct 8, 2015 at 9:32 PM, David Kastrup wrote: > >> "N. Andrew Walsh" writes: >> >> > duh, I am A Idiot, sorry. That needed some extra code to work. Here's a >> > more comprehensive version: >> > >> > \version "2.19.28" >> > \time 2/4 >> [...] >> >> Uh, this will set one score containing nothing but the time signature >> change. But this change will not propagate in any way to other scores. >> >> -- >> David Kastrup >> > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Using \partial with TACET
Hi List, I'm working on a collection of masses, which I've broken up into a tree of files: each mass is in its own directory, with separate files for each movement and a master file listing all the \includes. There are also now separate files for each movement's \score block, so I can have different layout options per movement (this also seems necessary if I want each \music block to be contained in a differently-named variable to call up later when making the parts). Here's my issue: in the last mass, the tympani part is tacet. I want the Tympani to show up in the score in the first system only; but in the part, I would like to have the \header block for that mass over a \markup declaring TACET in big block letters (potentially over a compressed rest-bar). I can do this for simple movements, but now I have one with a) an 8th-note pickup, and b) a meter change in the middle. If I have the following in the Tympani variable: VITympanoMusic = \new Voice \relative c { \clef bass \partial 8 r8 | R2*54^\markup { \center-align TACET } R2.*29^\markup { \center-align TACET } } Lily throws a barcheck failure (but looks fine in the score). Is there a better way to do this? am I doing something wrong here, or is this a bug with Lily herself? Secondly, is there a way I can replace that whole movement with just a big all-caps "TACET" without the multi-measure rests? Cheers, A ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using \partial with TACET
"N. Andrew Walsh"writes: > Hi List, > > I'm working on a collection of masses, which I've broken up into a tree of > files: each mass is in its own directory, with separate files for each > movement and a master file listing all the \includes. There are also now > separate files for each movement's \score block, so I can have different > layout options per movement (this also seems necessary if I want each > \music block to be contained in a differently-named variable to call up > later when making the parts). > > Here's my issue: in the last mass, the tympani part is tacet. I want the > Tympani to show up in the score in the first system only; but in the part, > I would like to have the \header block for that mass over a \markup > declaring TACET in big block letters (potentially over a compressed > rest-bar). I can do this for simple movements, but now I have one with a) > an 8th-note pickup, and b) a meter change in the middle. If I have the > following in the Tympani variable: > > VITympanoMusic = \new Voice \relative c { > \clef bass > \partial 8 r8 | R2*54^\markup { \center-align TACET } > R2.*29^\markup { \center-align TACET } > } > > Lily throws a barcheck failure (but looks fine in the score). Is there a > better way to do this? am I doing something wrong here, or is this a bug > with Lily herself? I don't see any meter change. I don't see a minimal example one could compile. I don't even see a version number. How do you suppose anybody is going to analyze your problem without knowledge about the actual corresponding LilyPond file and the actual corresponding LilyPond binary? -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using \partial with TACET
Hello A, \version "2.19.28" VITympanoMusic = \new Voice \relative c { \clef bass \partial 8 r8 | R2*54^\markup { \center-align TACET } R2.*29^\markup { \center-align TACET } } { \VITympanoMusic } This has 29 times three quater notes, so if you use the default 4/4, then you get: warning: barcheck failed at: 3/4 But has DK says, we don’t know how you use this... JM > Le 8 oct. 2015 à 16:12, David Kastrupa écrit : > > "N. Andrew Walsh" writes: > >> Hi List, >> >> I'm working on a collection of masses, which I've broken up into a tree of >> files: each mass is in its own directory, with separate files for each >> movement and a master file listing all the \includes. There are also now >> separate files for each movement's \score block, so I can have different >> layout options per movement (this also seems necessary if I want each >> \music block to be contained in a differently-named variable to call up >> later when making the parts). >> >> Here's my issue: in the last mass, the tympani part is tacet. I want the >> Tympani to show up in the score in the first system only; but in the part, >> I would like to have the \header block for that mass over a \markup >> declaring TACET in big block letters (potentially over a compressed >> rest-bar). I can do this for simple movements, but now I have one with a) >> an 8th-note pickup, and b) a meter change in the middle. If I have the >> following in the Tympani variable: >> >> VITympanoMusic = \new Voice \relative c { >> \clef bass >> \partial 8 r8 | R2*54^\markup { \center-align TACET } >> R2.*29^\markup { \center-align TACET } >> } >> >> Lily throws a barcheck failure (but looks fine in the score). Is there a >> better way to do this? am I doing something wrong here, or is this a bug >> with Lily herself? > > I don't see any meter change. I don't see a minimal example one could > compile. I don't even see a version number. > > How do you suppose anybody is going to analyze your problem without > knowledge about the actual corresponding LilyPond file and the actual > corresponding LilyPond binary? > > -- > David Kastrup > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using \partial with TACET
\markup{\huge\bold TACET} solves you second question. > Le 8 oct. 2015 à 18:04, Jacques Menua écrit : > > Hello A, > > \version "2.19.28" > > VITympanoMusic = \new Voice \relative c { > \clef bass > \partial 8 > r8 | > R2*54^\markup { \center-align TACET } > R2.*29^\markup { \center-align TACET } > } > > { > \VITympanoMusic > } > > This has 29 times three quater notes, so if you use the default 4/4, then you > get: > > warning: barcheck failed at: 3/4 > > But has DK says, we don’t know how you use this... > > JM > > >> Le 8 oct. 2015 à 16:12, David Kastrup a écrit : >> >> "N. Andrew Walsh" writes: >> >>> Hi List, >>> >>> I'm working on a collection of masses, which I've broken up into a tree of >>> files: each mass is in its own directory, with separate files for each >>> movement and a master file listing all the \includes. There are also now >>> separate files for each movement's \score block, so I can have different >>> layout options per movement (this also seems necessary if I want each >>> \music block to be contained in a differently-named variable to call up >>> later when making the parts). >>> >>> Here's my issue: in the last mass, the tympani part is tacet. I want the >>> Tympani to show up in the score in the first system only; but in the part, >>> I would like to have the \header block for that mass over a \markup >>> declaring TACET in big block letters (potentially over a compressed >>> rest-bar). I can do this for simple movements, but now I have one with a) >>> an 8th-note pickup, and b) a meter change in the middle. If I have the >>> following in the Tympani variable: >>> >>> VITympanoMusic = \new Voice \relative c { >>> \clef bass >>> \partial 8 r8 | R2*54^\markup { \center-align TACET } >>> R2.*29^\markup { \center-align TACET } >>> } >>> >>> Lily throws a barcheck failure (but looks fine in the score). Is there a >>> better way to do this? am I doing something wrong here, or is this a bug >>> with Lily herself? >> >> I don't see any meter change. I don't see a minimal example one could >> compile. I don't even see a version number. >> >> How do you suppose anybody is going to analyze your problem without >> knowledge about the actual corresponding LilyPond file and the actual >> corresponding LilyPond binary? >> >> -- >> David Kastrup >> >> ___ >> lilypond-user mailing list >> lilypond-user@gnu.org >> https://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using \partial with TACET
duh, I am A Idiot, sorry. That needed some extra code to work. Here's a more comprehensive version: \version "2.19.28" \time 2/4 VITympanoMusic = \new Voice \relative c { \clef bass \partial 8 r8 | R2*54^\markup { \center-align TACET } R2.*29^\markup { \center-align TACET } } VIsystembreaks = \new Voice { \partial 8 s8 | s2*32 | \break s4 s8 \tempo \markup {\sans \medium \fontsize #4 "Adagio" } s8 | s2*21 \bar "||" \break \time 3/4 s2.*29 \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible \mark \markup { \musicglyph #"scripts.ufermata" } \bar "||" \pageBreak %% End Credo, Bar 83 } and then inside a \score block: \VITympanoMusic \VIsystembreaks I resolved the issue with the barcheck: there was a mismatch between the number of rests given by systembreaks and that in TympanoMusic, but I got confused because it said the barcheck failed *before* the measure with the "R2*54" code. Anyway, the matter is resolved for the barcheck, but I still have a problem: how do I show an entire set of movements as tacet in the part, but still have the tympani (with whole-measure rests) show up on the first line of each movement? I can't use the "R2*X" formula because there's a \time change in the middle. Is there a code to give that sets an instrument as tacet for an entire, say, \book block? Sorry about the sub-working example. A On Thu, Oct 8, 2015 at 6:05 PM, Jacques Menuwrote: > \markup{\huge\bold TACET} > > solves you second question. > > > > Le 8 oct. 2015 à 18:04, Jacques Menu a écrit : > > > > Hello A, > > > > \version "2.19.28" > > > > VITympanoMusic = \new Voice \relative c { > > \clef bass > > \partial 8 > > r8 | > > R2*54^\markup { \center-align TACET } > > R2.*29^\markup { \center-align TACET } > > } > > > > { > > \VITympanoMusic > > } > > > > This has 29 times three quater notes, so if you use the default 4/4, > then you get: > > > > warning: barcheck failed at: 3/4 > > > > But has DK says, we don’t know how you use this... > > > > JM > > > > > >> Le 8 oct. 2015 à 16:12, David Kastrup a écrit : > >> > >> "N. Andrew Walsh" writes: > >> > >>> Hi List, > >>> > >>> I'm working on a collection of masses, which I've broken up into a > tree of > >>> files: each mass is in its own directory, with separate files for each > >>> movement and a master file listing all the \includes. There are also > now > >>> separate files for each movement's \score block, so I can have > different > >>> layout options per movement (this also seems necessary if I want each > >>> \music block to be contained in a differently-named variable to call up > >>> later when making the parts). > >>> > >>> Here's my issue: in the last mass, the tympani part is tacet. I want > the > >>> Tympani to show up in the score in the first system only; but in the > part, > >>> I would like to have the \header block for that mass over a \markup > >>> declaring TACET in big block letters (potentially over a compressed > >>> rest-bar). I can do this for simple movements, but now I have one with > a) > >>> an 8th-note pickup, and b) a meter change in the middle. If I have the > >>> following in the Tympani variable: > >>> > >>> VITympanoMusic = \new Voice \relative c { > >>> \clef bass > >>> \partial 8 r8 | R2*54^\markup { \center-align TACET } > >>> R2.*29^\markup { \center-align TACET } > >>> } > >>> > >>> Lily throws a barcheck failure (but looks fine in the score). Is there > a > >>> better way to do this? am I doing something wrong here, or is this a > bug > >>> with Lily herself? > >> > >> I don't see any meter change. I don't see a minimal example one could > >> compile. I don't even see a version number. > >> > >> How do you suppose anybody is going to analyze your problem without > >> knowledge about the actual corresponding LilyPond file and the actual > >> corresponding LilyPond binary? > >> > >> -- > >> David Kastrup > >> > >> ___ > >> lilypond-user mailing list > >> lilypond-user@gnu.org > >> https://lists.gnu.org/mailman/listinfo/lilypond-user > > > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using \partial with TACET
"N. Andrew Walsh"writes: > duh, I am A Idiot, sorry. That needed some extra code to work. Here's a > more comprehensive version: > > \version "2.19.28" > \time 2/4 [...] Uh, this will set one score containing nothing but the time signature change. But this change will not propagate in any way to other scores. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using \partial with TACET
correct. Each movement has its own \score block, in which the starting meter is set with a single \time command at the top. Subsequent meter changes are handled by the \systembreaks variable. On Thu, Oct 8, 2015 at 9:32 PM, David Kastrupwrote: > "N. Andrew Walsh" writes: > > > duh, I am A Idiot, sorry. That needed some extra code to work. Here's a > > more comprehensive version: > > > > \version "2.19.28" > > \time 2/4 > [...] > > Uh, this will set one score containing nothing but the time signature > change. But this change will not propagate in any way to other scores. > > -- > David Kastrup > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user