[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quoting from first measure
From: |
tisimst |
Subject: |
Re: Quoting from first measure |
Date: |
Fri, 31 Oct 2014 12:31:34 -0700 (PDT) |
Helge,
This worked for me (moving \global to be after the quote is defined):
%<---------------- SNIP ------------------
\version "2.18.0"
global = {
\key g \major
\tempo 4=90
}
upperHarpI = \relative c'' {
c4 c c c % <--- take \global out of here
}
\addQuote "harp1u" { \upperHarpI } % <--- this no longer quotes \tempo
upperHarpII = \relative c'' {
\quoteDuring #"harp1u" { s1 }
}
\score {
<<
\new Staff { \global \upperHarpI } % <--- and put it here instead
\new Staff \upperHarpII
>>
}
%<---------------- SNIP ------------------
HTH,
Abraham
On Fri, Oct 31, 2014 at 1:25 PM, Helge Kruse-4 [via Lilypond]
<address@hidden> wrote:
> Hello,
>
> I have a piece where the first measures are played unisono. This was
> my
> first try to use quotes. Unfortunately the Lilypond log outputs a
> warning:
>
> C:/Users/Helge/Documents/Scores/Editor/Example/quotesample.ly:6:3
> <0>:
> warning: Two simultaneous tempo-change events, junking this one
>
> \tempo 4=90
>
>
> This can be reproduced with this example:
>
> %----------------------------%
> \version "2.18.0"
>
>
> global = {
>
> \key g \major
>
> \tempo 4=90
>
> }
>
>
> upperHarpI = \relative c'' {
>
> \global
>
> c4 c c c
>
> }
>
>
> \addQuote "harp1u" { \upperHarpI }
>
>
> upperHarpII = \relative c'' {
>
> \quoteDuring #"harp1u" { s1 }
>
> }
>
> \score <<
>
> \new Staff \upperHarpI
>
> \new Staff \upperHarpII
>
> >>
>
>
> %----------------------------%
>
>
> The warning can be suppressed by writing the first note in the
> upperHarpII and reducing the quote-length by the length of the note.
> But
> this is not very elegant.
>
> Regards
> Helge
>
>
>
>
> _______________________________________________
> bug-lilypond mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/bug-lilypond
>
>
> If you reply to this email, your message will be added to the
> discussion below:
> http://lilypond.1069038.n5.nabble.com/Quoting-from-first-measure-tp168148.html
> To start a new topic under Bugs, email
> address@hidden
> To unsubscribe from Lilypond, click here.
> NAML
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Quoting-from-first-measure-tp168148p168150.html
Sent from the Bugs mailing list archive at Nabble.com.