lilypond-user
[Top][All Lists]
Advanced

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

Re: Question for a new LilyPond user (parts-only editing)


From: David Kastrup
Subject: Re: Question for a new LilyPond user (parts-only editing)
Date: Wed, 06 Dec 2017 17:33:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Flaming Hakama by Elaine <address@hidden> writes:

> Here is an illustration of using tags for this purpose.
>
> Note that there are other approaches, even using tags.
> This approach uses the \keepWithTag within each \score
> to distinguish Part vs Score, PDF vs MIDI, the specific
> instrument, and each segment the piece.

Really, I'd use

\tagGroup SegmentA,SegmentB,SegmentC
\tagGroup PDF,MIDI
\tagGroup Part,Score

with this so that you don't have to list unrelated tags (like
SegmentA,SegmentB,SegmentC) whenever you use \keepWithTag for one
purpose.

>
> %%% The Part %%%%
> \score {
>         \keepWithTag #'(Part PDF Viola
>             SegmentA
>             SegmentB
>             SegmentC
>         ) <<
>             \include "staves/parts/viola.ily"
>         >>
>         \layout { }
>     }
> }
>
> %%% The Score %%%%
> \score {
>     \keepWithTag #'(Score PDF
>         SegmentA
>         SegmentB
>         SegmentC
>     ) <<
>         \include "staffgroups/score/Woodwinds.ily"
>         \include "staffgroups/score/Percussion.ily"
>         \include "staffgroups/score/Strings.ily"
>     >>
>     \layout { }
> }
>
>
> Apply part-specifc tweaks by wrapping them in a \tag with the appropriate
> tag name.
>
> Say you started with this:
>
> violaMusic = \relative c {
>     c''8( a ) a'4 e c
>     c8( a ) a'4 e c
> }
>
> Here's an example of tagging a slur with a part-specific tweak:
>
> violaMusic = \relative c' {
>     c''8( a ) a'4 e c
>     \tag #'(Part) {
>         \shape #'((0.7 . -0.4) (0.5 . -0.4) (0.3 . -0.3) (0 . -0.2)) Slur
>     }
>     c8( a ) a'4 e c
> }
>
>
> That's all there is.
>
>
>
> The rehearsal mark tweak would probably occur in a different
> place, since you probably define rehearsal marks in a global
> variable, not as part of each instrument's music.
>
> In which case, using "Part" as the tag might not be appropriate,
> since it would apply to all parts, so it is probably best to use
> instrument-specific tags.
>
> You can apply several tags to the same tweak, such as having
> this rehearsal  mark adjustment apply to a few instruments:
>
> structure = \relative c {
>     \key f \major
>     \time 4/4
>     \tempo "Allegro"
>     \tag #'(Viola Flute Kazoo) {
>         \override Score.RehearsalMark #'extra-offset = #'( 0 . 2 )
>     }
>     \mark \markup { \box A1 }
>     s1*4
>     \bar "|."
> }
>
>
>
>> I'm a bit confused because most of the time the part (ily) files I have
> for
>> scores are just barebones: setup a staff, paper, and that's about it.
>> There's really no "music" in the parts to edit separately.
>
> Correct: you can wrap in tags the adjustments to music in tags
> wherever you have, and wrap structural stuff where you have your
> structural stuff.
>
> In the part file (where you have your \score), specify which tags to use.
>
>
> I've found that for all these cases, using tags is sufficient for me.
>
> As such, I have not yet found the need to use the edition engraver.
>
> Since I tend to compose and engrave at the same time, I often add or
> subtract sections, and the edition engraver doesn't excel under those
> circumstances.  I'd probably be more inclined to use it if had a way of
> specifying things by IDs, rather than by timing.
>
>
> HTH,
>
> David Elaine Alt
> 415 . 341 .4954                                           "*Confusion is
> highly underrated*"
> address@hidden
> skype: flaming_hakama
> Producer ~ Composer ~ Instrumentalist
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

-- 
David Kastrup



reply via email to

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