RE: Tangled up in Lilypond syntax

2019-03-25 Thread Mark Stephen Mrotek
Tim, You can "insert" a second voice using the << // >> syntax explained here: http://lilypond.org/doc/v2.19/Documentation/learning/i_0027m-hearing-voices Mark -Original Message- From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Tim Slattery S

Re: Tangled up in Lilypond syntax

2019-03-25 Thread Guy Stalnaker
Tim, Slight amendation of Mark's suggestion. Since you're doing a vocal composition, to keep lyrics applied into this temporary poloyphonic context, use this syntax: << { \voiceOne } \\ \new Voice { \voiceTwo { } } >> \oneVoice Lyrics set to the voice will carry into the temporary polyphonic con

Re: Tangled up in Lilypond syntax

2019-03-25 Thread Guy Stalnaker
P.S. Using the syntax from my first email, you don't need any longer the \sopranoVoiceTwo. You simply put the notes in the { \voiceTwo } location of the temporary polyphonic context. Guy Stalnaker jimmyg...@gmail.com On Mon, Mar 25, 2019 at 12:38 PM Guy Stalnaker wrote: > Tim, > > Slight amend

Re: Tangled up in Lilypond syntax

2019-03-25 Thread Guy Stalnaker
Opps. True. No \\ if using my earlier code. Thanks for catching that! Guy Stalnaker jimmyg...@gmail.com On Mon, Mar 25, 2019 at 1:02 PM Lukas-Fabian Moser wrote: > > Slight amendation of Mark's suggestion. Since you're doing a vocal > composition, to keep lyrics applied into this temporary pol

Re: Tangled up in Lilypond syntax

2019-03-25 Thread Lukas-Fabian Moser
Slight amendation of Mark's suggestion. Since you're doing a vocal composition, to keep lyrics applied into this temporary poloyphonic context, use this syntax: << { \voiceOne } \\ \new Voice { \voiceTwo { } } >> \oneVoice Lyrics set to the voice will carry into the temporary polyphonic con

Re: Tangled up in Lilypond syntax

2019-03-25 Thread Guy Stalnaker
And since we're talking about temporary polyphonic contexts (TPC) there are a few other things, like lyrics, that don't work in to and out of them. Mostly multi-note events like slurs, crescendos, etc. You cannot start them outside a TPC and conclude them inside one, or start them inside a TPC and

Re: Tangled up in Lilypond syntax

2019-03-26 Thread Tim Slattery
Lukas-Fabian Moser wrote: >\new Staff \relative a' { >   a a a << { \voiceOne a a a } \new Voice { \voiceTwo e b b } >> >\oneVoice a a a >} >\addlyrics { \repeat unfold 10 test } That did it! Thanks for saving me much time and grief. -- Tim Slattery tim risingdove com __

Re: Tangled up in Lilypond syntax

2019-03-26 Thread Guy Stalnaker
Lilyponders, While I don't use \relative (so this isn't a topic for my personal use), I am curious about what happens in this excerpt that Mr. Moser provided: \new Staff \relative a' { a a a << { \voiceOne a a a } \new Voice { \voiceTwo e b b } >> \oneVoice a a a } \addlyrics { \repeat unfold

Re: Tangled up in Lilypond syntax

2019-03-26 Thread David Kastrup
Guy Stalnaker writes: > Lilyponders, > > While I don't use \relative (so this isn't a topic for my personal use), I > am curious about what happens in this excerpt that Mr. Moser provided: > > \new Staff \relative a' { >a a a << { \voiceOne a a a } \new Voice { \voiceTwo e b b } >> > \oneVoic

Re: Tangled up in Lilypond syntax

2019-03-26 Thread Kieren MacMillan
Hi Guy, > While I don't use \relative Good choice. =) > \new Staff \relative a' { >a a a << { \voiceOne a a a } \new Voice { \voiceTwo e b b } >> > \oneVoice a a a > } > \addlyrics { \repeat unfold 10 test } > > What I engrave this with LP 2.19.82 the a pitches after the temporary > poly

Re: Tangled up in Lilypond syntax

2019-03-27 Thread Aaron Hill
On 2019-03-27 3:35 pm, Flaming Hakama by Elaine wrote: -- Forwarded message -- From: Kieren MacMillan To: Guy Stalnaker Cc: Tim Slattery , Lilypond-User Mailing List < lilypond-user@gnu.org> Date: Tue, 26 Mar 2019 15:16:03 -0400 Subject: Re: Tangled up in Lilypond syn

Re: Tangled up in Lilypond syntax

2019-03-27 Thread Kieren MacMillan
Hi there, > The issue is not \relative, per se. I wish people would stop maligning it. If it didn’t cause so many problems (especially for newbies) that are easily avoided by not using it, I wouldn’t keep getting up on my soapbox. Believe me: I’d prefer not to get my exercise that way. ;) >

Re: Tangled up in Lilypond syntax

2019-03-27 Thread Kieren MacMillan
Hi Aaron, > I tend to think of something like \relative to be a lower-level construct, > intended to be used as close as possible to the pitches in question. Since I > try to keep things organized in variables where content and structure are not > intermixed, \relative never appears at a highe

Re: Tangled up in Lilypond syntax

2019-03-27 Thread Thomas Morley
Am Do., 28. März 2019 um 00:10 Uhr schrieb Kieren MacMillan : > > Hi there, > > > The issue is not \relative, per se. I wish people would stop maligning it. > > If it didn’t cause so many problems (especially for newbies) that are easily > avoided by not using it, I disagree (partly). I remembe

Re: Tangled up in Lilypond syntax

2019-03-27 Thread Aaron Hill
On 2019-03-27 4:19 pm, Kieren MacMillan wrote: That’s great… But essentially all of the documentation has \relative at the top-level. So what is a newbie to think, other than "My code should look like \paper { … } \header {…} \relative c' { … } But then they start to cut and paste code bits,

Re: Tangled up in Lilypond syntax

2019-03-27 Thread Kieren MacMillan
Hi Aaron, > I adopted \relative simply because pitches on the treble staff would > otherwise require at least one apostrophe. > […] I desire more to avoid excessive redundancy. Look at \fixed. =) Hope that helps! Kieren. Kieren MacMillan, composer ‣ website:

Re: Tangled up in Lilypond syntax

2019-03-27 Thread David Wright
On Wed 27 Mar 2019 at 19:19:10 (-0400), Kieren MacMillan wrote: > Hi Aaron, > > > I tend to think of something like \relative to be a lower-level construct, > > intended to be used as close as possible to the pitches in question. Since > > I try to keep things organized in variables where conte

Re: Tangled up in Lilypond syntax

2019-03-27 Thread Kieren MacMillan
Hi David, > My understanding of the EE (which I've never used) is close to zero, > but I thought it was conceptually a late part of the LP process, > whereas \relative is just about the earliest. So I'm not sure > I understand how you use the former to substitute for the latter. Well, for example

Re: Tangled up in Lilypond syntax

2019-03-27 Thread Kieren MacMillan
Hi David, OH! >> (Ironically, most of the things I used to use \relative for I now handle >> with the edition-engraver!) That was a typo/brainfart: I meant most of the things I used to use \tag for… Sorry! Kieren. Kieren MacMillan, composer ‣ website: www.kier

Re: Tangled up in Lilypond syntax

2019-03-27 Thread David Wright
On Wed 27 Mar 2019 at 21:19:47 (-0400), Kieren MacMillan wrote: > Hi David, > > OH! > > >> (Ironically, most of the things I used to use \relative for I now handle > >> with the edition-engraver!) > > That was a typo/brainfart: I meant most of the things I used to use \tag for… > > Sorry! No

Re: Tangled up in Lilypond syntax

2019-03-28 Thread Valentin Villenave
On 3/28/19, Aaron Hill wrote: > That said, I fully agree with advising folks who intend on moving music > around more fluidly to avoid \relative since it adds a maintenance chore > that would otherwise impede the creative process. Heh. This is one of the (few) subjects I’d tend to disagree with K

Re: Tangled up in Lilypond syntax

2019-03-28 Thread David Wright
On Thu 28 Mar 2019 at 09:52:26 (+0100), Valentin Villenave wrote: > On 3/28/19, Aaron Hill wrote: > > That said, I fully agree with advising folks who intend on moving music > > around more fluidly to avoid \relative since it adds a maintenance chore > > that would otherwise impede the creative pr

Re: Tangled up in Lilypond syntax

2019-03-28 Thread Lukas-Fabian Moser
I'm not trained in tonic solfa and don't find any advantage in singing by using it. That said, I'm as likely to write "fah" over an entrance that's difficult to pitch as writing "IV', but my "fah" relates to the key that the music *feels* like it's in at the time. (I have a good memory for pitc

Re: Tangled up in Lilypond syntax

2019-03-28 Thread David Wright
On Thu 28 Mar 2019 at 21:45:31 (+0100), Lukas-Fabian Moser wrote: > > > I'm not trained in tonic solfa and don't find any advantage in singing > > by using it. That said, I'm as likely to write "fah" over an entrance > > that's difficult to pitch as writing "IV', but my "fah" relates to > > the ke

Re: Tangled up in Lilypond syntax

2019-03-29 Thread David Kastrup
Aaron Hill writes: > On 2019-03-27 4:19 pm, Kieren MacMillan wrote: >> That’s great… But essentially all of the documentation has \relative >> at the top-level. So what is a newbie to think, other than "My code >> should look like >> >> \paper { … } >> >> \header {…} >> >> \relative c' { … } >> >